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

Unified Diff: chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_unittest.cc

Issue 2608013002: mash: Replace ShelfItemDelegate::CanPin with ShelfItem::pinned_by_policy. (Closed)
Patch Set: Created 4 years 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
Index: chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_unittest.cc
diff --git a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_unittest.cc b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_unittest.cc
index 1fc13581b85f237a093ee0399fb230e98349e3a4..bbc3f8b1be981da5c70b73b1f77885779cfd6ed5 100644
--- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_unittest.cc
+++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_unittest.cc
@@ -279,10 +279,6 @@ class TestV2AppLauncherItemController : public LauncherItemController {
ash::ShelfMenuModel* CreateApplicationMenu(int event_flags) override {
return NULL;
}
- bool CanPin() const override {
- return GetPinnableForAppID(app_id(), launcher_controller()->profile()) ==
- AppListControllerDelegate::PIN_EDITABLE;
- }
private:
DISALLOW_COPY_AND_ASSIGN(TestV2AppLauncherItemController);

Powered by Google App Engine
This is Rietveld 408576698