| 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 44c677510d006fd28ef6247e2f04acd1a982dcfc..c36f8157ce08cf8f5921a7c9bd0e9af394c48042 100644
|
| --- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.h
|
| +++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.h
|
| @@ -22,6 +22,7 @@
|
| #include "chrome/browser/ui/ash/launcher/chrome_launcher_controller.h"
|
| #include "chrome/browser/ui/ash/launcher/launcher_app_updater.h"
|
| #include "components/prefs/pref_change_registrar.h"
|
| +#include "components/sync_preferences/pref_service_syncable_observer.h"
|
| #include "ui/aura/window_observer.h"
|
|
|
| class AppSyncUIState;
|
| @@ -62,7 +63,8 @@ class ChromeLauncherControllerImpl
|
| private ash::ShelfModelObserver,
|
| private ash::WindowTreeHostManager::Observer,
|
| private AppSyncUIStateObserver,
|
| - private app_list::AppListSyncableService::Observer {
|
| + private app_list::AppListSyncableService::Observer,
|
| + private sync_preferences::PrefServiceSyncableObserver {
|
| public:
|
| ChromeLauncherControllerImpl(Profile* profile, ash::ShelfModel* model);
|
| ~ChromeLauncherControllerImpl() override;
|
| @@ -278,6 +280,9 @@ class ChromeLauncherControllerImpl
|
| // app_list::AppListSyncableService::Observer:
|
| void OnSyncModelUpdated() override;
|
|
|
| + // sync_preferences::PrefServiceSyncableObserver:
|
| + void OnIsSyncingChanged() override;
|
| +
|
| // Unpins shelf item and optionally updates pin prefs when |update_prefs| is
|
| // set to true.
|
| void UnpinAndUpdatePrefs(ash::ShelfID id, bool update_prefs);
|
|
|