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

Side by Side 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: Multiptle values supported. Created 9 years 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/common/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 9
10 namespace switches { 10 namespace switches {
(...skipping 708 matching lines...) Expand 10 before | Expand all | Expand 10 after
719 // The field trial is forced into the SUGGEST_EXPERIMENT group. 719 // The field trial is forced into the SUGGEST_EXPERIMENT group.
720 const char kInstantFieldTrialSuggest[] = "suggest"; 720 const char kInstantFieldTrialSuggest[] = "suggest";
721 721
722 // URL to use for instant. If specified this overrides the url from the 722 // URL to use for instant. If specified this overrides the url from the
723 // TemplateURL. 723 // TemplateURL.
724 const char kInstantURL[] = "instant-url"; 724 const char kInstantURL[] = "instant-url";
725 725
726 // Used for testing - keeps browser alive after last browser window closes. 726 // Used for testing - keeps browser alive after last browser window closes.
727 const char kKeepAliveForTest[] = "keep-alive-for-test"; 727 const char kKeepAliveForTest[] = "keep-alive-for-test";
728 728
729 // Comma-separated list of directories with component extensions to load.
730 const char kLoadComponentExtension[] = "load-component-extension";
731
729 // Loads an extension from the specified directory. 732 // Loads an extension from the specified directory.
730 const char kLoadExtension[] = "load-extension"; 733 const char kLoadExtension[] = "load-extension";
731 734
732 // Loads the opencryptoki library into NSS at startup. This is only needed 735 // Loads the opencryptoki library into NSS at startup. This is only needed
733 // temporarily for developers who need to work on WiFi/VPN certificate code. 736 // temporarily for developers who need to work on WiFi/VPN certificate code.
734 // 737 //
735 // TODO(gspencer): Remove this switch once cryptohomed work is finished: 738 // TODO(gspencer): Remove this switch once cryptohomed work is finished:
736 // http://crosbug.com/12295 and http://crosbug.com/12304 739 // http://crosbug.com/12295 and http://crosbug.com/12304
737 const char kLoadOpencryptoki[] = "load-opencryptoki"; 740 const char kLoadOpencryptoki[] = "load-opencryptoki";
738 741
(...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after
1259 const char kClearTokenService[] = "clear-token-service"; 1262 const char kClearTokenService[] = "clear-token-service";
1260 1263
1261 // Sets a token in the token service, for testing. 1264 // Sets a token in the token service, for testing.
1262 const char kSetToken[] = "set-token"; 1265 const char kSetToken[] = "set-token";
1263 1266
1264 // Debug-only switch to specify which websocket live experiment host to be 1267 // Debug-only switch to specify which websocket live experiment host to be
1265 // used. If host is specified, it also makes initial delay shorter (5 min to 5 1268 // used. If host is specified, it also makes initial delay shorter (5 min to 5
1266 // sec) to make it faster to test websocket live experiment code. 1269 // sec) to make it faster to test websocket live experiment code.
1267 const char kWebSocketLiveExperimentHost[] = "websocket-live-experiment-host"; 1270 const char kWebSocketLiveExperimentHost[] = "websocket-live-experiment-host";
1268 1271
1269 // Debug only switch to give access to all private extension APIs to any
1270 // non-component extension that is requesting it.
1271 const char kExposePrivateExtensionApi[] = "expose-private-extension-api";
1272
1273 // Enables overriding the path of file manager extension. 1272 // Enables overriding the path of file manager extension.
1274 const char kFileManagerExtensionPath[] = "filemgr-ext-path"; 1273 const char kFileManagerExtensionPath[] = "filemgr-ext-path";
1275 #endif // NDEBUG 1274 #endif // NDEBUG
1276 1275
1277 // Disables print preview (Not exposed via about:flags. Only used for testing.) 1276 // Disables print preview (Not exposed via about:flags. Only used for testing.)
1278 const char kDisablePrintPreview[] = "disable-print-preview"; 1277 const char kDisablePrintPreview[] = "disable-print-preview";
1279 1278
1280 // Enables print preview (no PDF viewer, thus not supported with Chromium). 1279 // Enables print preview (no PDF viewer, thus not supported with Chromium).
1281 // kDisablePrintPreview overrides this. 1280 // kDisablePrintPreview overrides this.
1282 const char kEnablePrintPreview[] = "enable-print-preview"; 1281 const char kEnablePrintPreview[] = "enable-print-preview";
(...skipping 14 matching lines...) Expand all
1297 1296
1298 // ----------------------------------------------------------------------------- 1297 // -----------------------------------------------------------------------------
1299 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1298 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1300 // 1299 //
1301 // You were going to just dump your switches here, weren't you? Instead, please 1300 // You were going to just dump your switches here, weren't you? Instead, please
1302 // put them in alphabetical order above, or in order inside the appropriate 1301 // put them in alphabetical order above, or in order inside the appropriate
1303 // ifdef at the bottom. The order should match the header. 1302 // ifdef at the bottom. The order should match the header.
1304 // ----------------------------------------------------------------------------- 1303 // -----------------------------------------------------------------------------
1305 1304
1306 } // namespace switches 1305 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698