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

Unified Diff: chrome/browser/extensions/extension_util.cc

Issue 1299823002: Disable new bookmark apps on Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing reviewer feedback Created 5 years, 4 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
« no previous file with comments | « chrome/browser/extensions/api/management/management_apitest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_util.cc
diff --git a/chrome/browser/extensions/extension_util.cc b/chrome/browser/extensions/extension_util.cc
index 9dcfd0058fdcfa639cf69ad1741f5b3760766c9a..abf76f36e855b5d167f7b742b33eeab3c8a15899 100644
--- a/chrome/browser/extensions/extension_util.cc
+++ b/chrome/browser/extensions/extension_util.cc
@@ -357,8 +357,13 @@ const gfx::ImageSkia& GetDefaultExtensionIcon() {
}
bool IsNewBookmarkAppsEnabled() {
+#if defined(OS_MACOSX)
+ return base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kEnableNewBookmarkApps);
+#else
return !base::CommandLine::ForCurrentProcess()->HasSwitch(
switches::kDisableNewBookmarkApps);
+#endif
}
bool IsExtensionSupervised(const Extension* extension, Profile* profile) {
« no previous file with comments | « chrome/browser/extensions/api/management/management_apitest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698