| 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 6c032f9623871a01c1056e2ef35cf0705f444c7f..cfdc39664c96d6fb66381c51e16b9868ca8dcd6f 100644
|
| --- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.h
|
| +++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.h
|
| @@ -69,10 +69,7 @@ class ChromeLauncherControllerImpl
|
| void SetItemController(ash::ShelfID id,
|
| LauncherItemController* controller) override;
|
| void CloseLauncherItem(ash::ShelfID id) override;
|
| - void Pin(ash::ShelfID id) override;
|
| - void Unpin(ash::ShelfID id) override;
|
| bool IsPinned(ash::ShelfID id) override;
|
| - void TogglePinned(ash::ShelfID id) override;
|
| void LockV1AppWithID(const std::string& app_id) override;
|
| void UnlockV1AppWithID(const std::string& app_id) override;
|
| void Launch(ash::ShelfID id, int event_flags) override;
|
| @@ -133,7 +130,6 @@ class ChromeLauncherControllerImpl
|
| ash::ShelfID GetShelfIDForAppIDAndLaunchID(
|
| const std::string& app_id,
|
| const std::string& launch_id) override;
|
| - bool HasShelfIDToAppIDMapping(ash::ShelfID id) const override;
|
| const std::string& GetAppIDForShelfID(ash::ShelfID id) override;
|
| void PinAppWithID(const std::string& app_id) override;
|
| bool IsAppPinned(const std::string& app_id) override;
|
| @@ -271,9 +267,8 @@ class ChromeLauncherControllerImpl
|
| // 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);
|
| + // An internal helper to unpin a shelf item; this does not update prefs.
|
| + void UnpinShelfItemInternal(ash::ShelfID id);
|
|
|
| ash::ShelfModel* model_;
|
|
|
|
|