Chromium Code Reviews| 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 3cf5b37ed66506b04a2ba67bb537982a9babfbbe..2170d9f8451560a5e34a297f47f657731da32f9c 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( |
|
khmel
2017/05/04 22:49:04
There are 2 public usages of this function. Howeve
|
| 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. |