Chromium Code Reviews| Index: chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.h |
| diff --git a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.h b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.h |
| index 5dd7ef121da59b4d8d5e03c3d7cd1123b075980c..1aac819e59e6f6edd30eaece3865d18c247e18bf 100644 |
| --- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.h |
| +++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.h |
| @@ -211,7 +211,7 @@ class ChromeLauncherControllerImpl |
| // Internal helpers for pinning and unpinning that handle both |
| // client-triggered and internal pinning operations. |
| void DoPinAppWithID(const std::string& app_id); |
| - void DoUnpinAppWithID(const std::string& app_id); |
| + void DoUnpinAppWithID(const std::string& app_id, bool sync_change); |
|
stevenjb
2016/09/01 16:01:07
update_prefs
|
| // Pin a running app with |shelf_id| internally to |index|. It returns |
| // the index where the item was pinned. |
| @@ -309,6 +309,10 @@ class ChromeLauncherControllerImpl |
| // app_list::AppListSyncableService::Observer: |
| void OnSyncModelUpdated() override; |
| + // Unpins shelf item and optionally updates pin prefs when |update_prefs| is |
| + // set to true. |
| + void UnpinAndUpdatePrefs(ash::ShelfID id, bool update_prefs); |
| + |
| ash::ShelfModel* model_; |
| // Profile used for prefs and loading extensions. This is NOT necessarily the |