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

Unified Diff: chrome/browser/ui/app_list/arc/arc_app_list_prefs.h

Issue 2869973002: [Merge M59] arg: Fix removing shortcuts on package update. (Closed)
Patch Set: Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/app_list/arc/arc_app_list_prefs.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/app_list/arc/arc_app_list_prefs.h
diff --git a/chrome/browser/ui/app_list/arc/arc_app_list_prefs.h b/chrome/browser/ui/app_list/arc/arc_app_list_prefs.h
index a7afd095b37f2d13963f6b4277bf142cfb14ae10..75475525e9e5ab6a47a4a7aaad4da66f6cb89f17 100644
--- a/chrome/browser/ui/app_list/arc/arc_app_list_prefs.h
+++ b/chrome/browser/ui/app_list/arc/arc_app_list_prefs.h
@@ -239,6 +239,8 @@ class ArcAppListPrefs
return package_list_initial_refreshed_;
}
+ // Returns set of ARC apps for provided package name, not including shortcuts,
+ // associated with this package.
std::unordered_set<std::string> GetAppsForPackage(
const std::string& package_name) const;
@@ -329,6 +331,10 @@ class ArcAppListPrefs
void DisableAllApps();
void RemoveAllApps();
std::vector<std::string> GetAppIdsNoArcEnabledCheck() const;
+ std::unordered_set<std::string> GetAppsAndShortcutsForPackage(
+ const std::string& package_name,
+ bool include_shortcuts) const;
+
// Enumerates apps from preferences and notifies listeners about available
// apps while ARC is not started yet. All apps in this case have disabled
// state.
« no previous file with comments | « no previous file | chrome/browser/ui/app_list/arc/arc_app_list_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698