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

Unified Diff: chrome/common/chrome_switches.cc

Issue 8659002: Adding the --load-component-extension flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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/chrome_switches.cc
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 9fc7528cc0c6b0b71e43a6bd964368f7cc89b267..bf7105687c4f8c8818133c8488cfb48ba1c4290a 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -598,6 +598,10 @@ const char kExperimentalSpellcheckerFeatures[] =
// numbers.
const char kExplicitlyAllowedPorts[] = "explicitly-allowed-ports";
+// Give access to all private extension APIs to the exiension loaded with
+// --load-extension or "Load unpacked extension".
+const char kExposePrivateExtensionApi[] = "expose-private-extension-api";
+
// Marks a renderer as extension process.
const char kExtensionProcess[] = "extension-process";
@@ -1266,10 +1270,6 @@ const char kSetToken[] = "set-token";
// sec) to make it faster to test websocket live experiment code.
const char kWebSocketLiveExperimentHost[] = "websocket-live-experiment-host";
-// Debug only switch to give access to all private extension APIs to any
-// non-component extension that is requesting it.
-const char kExposePrivateExtensionApi[] = "expose-private-extension-api";
-
// Enables overriding the path of file manager extension.
const char kFileManagerExtensionPath[] = "filemgr-ext-path";
#endif // NDEBUG

Powered by Google App Engine
This is Rietveld 408576698