Index: chrome/browser/extensions/extension_util.cc |
diff --git a/chrome/browser/extensions/extension_util.cc b/chrome/browser/extensions/extension_util.cc |
index 7ac37621974d87a3fe622d84ec60129c026a87df..23f5e6ab874579c6461a9e4d0ffc4a7ce7ef67e1 100644 |
--- a/chrome/browser/extensions/extension_util.cc |
+++ b/chrome/browser/extensions/extension_util.cc |
@@ -384,8 +384,13 @@ const gfx::ImageSkia& GetDefaultExtensionIcon() { |
} |
bool IsNewBookmarkAppsEnabled() { |
+#if defined(OS_CHROMEOS) |
return !base::CommandLine::ForCurrentProcess()->HasSwitch( |
switches::kDisableNewBookmarkApps); |
+#else |
+ return base::CommandLine::ForCurrentProcess()->HasSwitch( |
+ switches::kEnableNewBookmarkApps); |
+#endif |
} |
} // namespace util |