summaryrefslogtreecommitdiff
path: root/chromium/ui/message_center/mojo/notifier_id.mojom
blob: cf7a9a6167f31c6de36dbff1ce3be6aa90cf46d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

module message_center.mojom;

import "mojo/common/string16.mojom";
import "url/mojo/url.mojom";

// Equivalent to message_center::NotifierId::NotifierType. Used in UMA, so it
// should not be reordered.
enum NotifierType {
  APPLICATION,
  ARC_APPLICATION,
  WEB_PAGE,
  SYSTEM_COMPONENT,
  SIZE,
};

// Equivalent to message_center::NotifierId.
struct NotifierId {
  NotifierType type;
  string id;
  url.mojom.Url url;
  string profile_id;
};