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

Unified Diff: ash/test/test_launcher_delegate.cc

Issue 24076002: Disallowing shelf changes via drag & drop if the enterprise profile does not allow changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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: ash/test/test_launcher_delegate.cc
diff --git a/ash/test/test_launcher_delegate.cc b/ash/test/test_launcher_delegate.cc
index b0025b52f590c6d53798b2b7e775e0479693e4d1..8c44828e9f1ea90d8a5ccd60b32a262854596774 100644
--- a/ash/test/test_launcher_delegate.cc
+++ b/ash/test/test_launcher_delegate.cc
@@ -149,6 +149,10 @@ const std::string& TestLauncherDelegate::GetAppIDForLauncherID(LauncherID id) {
void TestLauncherDelegate::PinAppWithID(const std::string& app_id) {
}
+bool TestLauncherDelegate::CanPin() const {
+ return true;
+}
+
bool TestLauncherDelegate::IsAppPinned(const std::string& app_id) {
return false;
}

Powered by Google App Engine
This is Rietveld 408576698