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

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

Issue 10378117: With enable-action-box add extensions to BrowserActionContainer only if they have preference kBrows… (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 years, 7 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/common/extensions/extension_switch_utils.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/extension_switch_utils.cc
===================================================================
--- chrome/common/extensions/extension_switch_utils.cc (revision 137006)
+++ chrome/common/extensions/extension_switch_utils.cc (working copy)
@@ -22,6 +22,11 @@
#endif
}
+bool IsActionBoxEnabled() {
+ return CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kEnableActionBox);
+}
+
} // switch_utils
} // extensions
« no previous file with comments | « chrome/common/extensions/extension_switch_utils.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698