Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(389)

Side by Side Diff: components/arc/common/app.mojom

Issue 2119393003: Filter out Android system packages from Chrome OS notification settings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2785
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/ui/app_list/arc/arc_app_list_prefs.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // Next MinVersion: 11 5 // Next MinVersion: 12
6 6
7 module arc.mojom; 7 module arc.mojom;
8 8
9 import "scale_factor.mojom"; 9 import "scale_factor.mojom";
10 import "screen_rect.mojom"; 10 import "screen_rect.mojom";
11 11
12 // Describes ARC app. 12 // Describes ARC app.
13 struct AppInfo { 13 struct AppInfo {
14 string name; 14 string name;
15 string package_name; 15 string package_name;
16 string activity; 16 string activity;
17 [MinVersion=2] bool sticky; // true if the app cannot be uninstalled 17 [MinVersion=2] bool sticky; // true if the app cannot be uninstalled
18 [MinVersion=7] bool notifications_enabled; 18 [MinVersion=7] bool notifications_enabled;
19 }; 19 };
20 20
21 // Describes ARC package. 21 // Describes ARC package.
22 struct ArcPackageInfo { 22 struct ArcPackageInfo {
23 string package_name; 23 string package_name;
24 int32 package_version; 24 int32 package_version;
25 int64 last_backup_android_id; 25 int64 last_backup_android_id;
26 int64 last_backup_time; 26 int64 last_backup_time;
27 bool sync; // true if package installation should be synced 27 bool sync; // true if package installation should be synced
28 [MinVersion=11] bool system; // true if package is system package.
28 }; 29 };
29 30
30 // Describes ARC app shortcut. 31 // Describes ARC app shortcut.
31 struct ShortcutInfo { 32 struct ShortcutInfo {
32 string name; 33 string name;
33 string package_name; 34 string package_name;
34 string icon_resource_id; 35 string icon_resource_id;
35 string intent_uri; 36 string intent_uri;
36 }; 37 };
37 38
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 ShowPackageInfoPage page, 165 ShowPackageInfoPage page,
165 ScreenRect dimension_on_screen); 166 ScreenRect dimension_on_screen);
166 167
167 // Sets notification setting for the package. 168 // Sets notification setting for the package.
168 [MinVersion=6] SetNotificationsEnabled@10(string package_name, bool enabled); 169 [MinVersion=6] SetNotificationsEnabled@10(string package_name, bool enabled);
169 170
170 // Sends a request to ARC to uninstall the given package. Error (if ever 171 // Sends a request to ARC to uninstall the given package. Error (if ever
171 // happens) is ignored, and uninstall option should appear in the UI. 172 // happens) is ignored, and uninstall option should appear in the UI.
172 [MinVersion=2] UninstallPackage@5(string package_name); 173 [MinVersion=2] UninstallPackage@5(string package_name);
173 }; 174 };
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/arc/arc_app_list_prefs.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698