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

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: Adding comment to ScopedAllowIO.wq 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
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/extensions/extension.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 713 matching lines...) Expand 10 before | Expand all | Expand 10 after
724 // The field trial is forced into the SUGGEST_EXPERIMENT group. 724 // The field trial is forced into the SUGGEST_EXPERIMENT group.
725 const char kInstantFieldTrialSuggest[] = "suggest"; 725 const char kInstantFieldTrialSuggest[] = "suggest";
726 726
727 // URL to use for instant. If specified this overrides the url from the 727 // URL to use for instant. If specified this overrides the url from the
728 // TemplateURL. 728 // TemplateURL.
729 const char kInstantURL[] = "instant-url"; 729 const char kInstantURL[] = "instant-url";
730 730
731 // Used for testing - keeps browser alive after last browser window closes. 731 // Used for testing - keeps browser alive after last browser window closes.
732 const char kKeepAliveForTest[] = "keep-alive-for-test"; 732 const char kKeepAliveForTest[] = "keep-alive-for-test";
733 733
734 // Comma-separated list of directories with component extensions to load.
735 const char kLoadComponentExtension[] = "load-component-extension";
736
734 // Loads an extension from the specified directory. 737 // Loads an extension from the specified directory.
735 const char kLoadExtension[] = "load-extension"; 738 const char kLoadExtension[] = "load-extension";
736 739
737 // Loads the opencryptoki library into NSS at startup. This is only needed 740 // Loads the opencryptoki library into NSS at startup. This is only needed
738 // temporarily for developers who need to work on WiFi/VPN certificate code. 741 // temporarily for developers who need to work on WiFi/VPN certificate code.
739 // 742 //
740 // TODO(gspencer): Remove this switch once cryptohomed work is finished: 743 // TODO(gspencer): Remove this switch once cryptohomed work is finished:
741 // http://crosbug.com/12295 and http://crosbug.com/12304 744 // http://crosbug.com/12295 and http://crosbug.com/12304
742 const char kLoadOpencryptoki[] = "load-opencryptoki"; 745 const char kLoadOpencryptoki[] = "load-opencryptoki";
743 746
(...skipping 518 matching lines...) Expand 10 before | Expand all | Expand 10 after
1262 const char kClearTokenService[] = "clear-token-service"; 1265 const char kClearTokenService[] = "clear-token-service";
1263 1266
1264 // Sets a token in the token service, for testing. 1267 // Sets a token in the token service, for testing.
1265 const char kSetToken[] = "set-token"; 1268 const char kSetToken[] = "set-token";
1266 1269
1267 // Debug-only switch to specify which websocket live experiment host to be 1270 // Debug-only switch to specify which websocket live experiment host to be
1268 // used. If host is specified, it also makes initial delay shorter (5 min to 5 1271 // used. If host is specified, it also makes initial delay shorter (5 min to 5
1269 // sec) to make it faster to test websocket live experiment code. 1272 // sec) to make it faster to test websocket live experiment code.
1270 const char kWebSocketLiveExperimentHost[] = "websocket-live-experiment-host"; 1273 const char kWebSocketLiveExperimentHost[] = "websocket-live-experiment-host";
1271 1274
1272 // Debug only switch to give access to all private extension APIs to any
1273 // non-component extension that is requesting it.
1274 const char kExposePrivateExtensionApi[] = "expose-private-extension-api";
1275
1276 // Enables overriding the path of file manager extension. 1275 // Enables overriding the path of file manager extension.
1277 const char kFileManagerExtensionPath[] = "filemgr-ext-path"; 1276 const char kFileManagerExtensionPath[] = "filemgr-ext-path";
1278 #endif // NDEBUG 1277 #endif // NDEBUG
1279 1278
1280 // Disables print preview (Not exposed via about:flags. Only used for testing.) 1279 // Disables print preview (Not exposed via about:flags. Only used for testing.)
1281 const char kDisablePrintPreview[] = "disable-print-preview"; 1280 const char kDisablePrintPreview[] = "disable-print-preview";
1282 1281
1283 // Enables print preview (no PDF viewer, thus not supported with Chromium). 1282 // Enables print preview (no PDF viewer, thus not supported with Chromium).
1284 // kDisablePrintPreview overrides this. 1283 // kDisablePrintPreview overrides this.
1285 const char kEnablePrintPreview[] = "enable-print-preview"; 1284 const char kEnablePrintPreview[] = "enable-print-preview";
(...skipping 19 matching lines...) Expand all
1305 1304
1306 // ----------------------------------------------------------------------------- 1305 // -----------------------------------------------------------------------------
1307 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1306 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1308 // 1307 //
1309 // You were going to just dump your switches here, weren't you? Instead, please 1308 // You were going to just dump your switches here, weren't you? Instead, please
1310 // put them in alphabetical order above, or in order inside the appropriate 1309 // put them in alphabetical order above, or in order inside the appropriate
1311 // ifdef at the bottom. The order should match the header. 1310 // ifdef at the bottom. The order should match the header.
1312 // ----------------------------------------------------------------------------- 1311 // -----------------------------------------------------------------------------
1313 1312
1314 } // namespace switches 1313 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/extensions/extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698