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

Unified Diff: chrome/common/extensions/extension_switch_utils.cc

Issue 10827268: Added flag --extensions-in-action-box to split Action Box and Extensions in it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
Index: chrome/common/extensions/extension_switch_utils.cc
diff --git a/chrome/common/extensions/extension_switch_utils.cc b/chrome/common/extensions/extension_switch_utils.cc
index 8b41231917b059c0acb68c24542dda745838f411..883e9aab7176af6095165b7d695e5994126c61f9 100644
--- a/chrome/common/extensions/extension_switch_utils.cc
+++ b/chrome/common/extensions/extension_switch_utils.cc
@@ -27,6 +27,11 @@ bool IsActionBoxEnabled() {
switches::kEnableActionBox);
}
+bool IsExtensionsInActionBoxEnabled() {
+ return IsActionBoxEnabled() && CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kEnableExtensionsInActionBox);
+}
+
bool AreScriptBadgesEnabled() {
return CommandLine::ForCurrentProcess()->HasSwitch(
switches::kEnableScriptBadges);

Powered by Google App Engine
This is Rietveld 408576698