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

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: Fix test. Created 3 years, 11 months 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 800d678002266a59cb31d3bc6fac9762c01fcbb9..c24ec796674f0609cc268e11b997e56518861126 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