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

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 2389703005: Deprecate --load-component-extension command line flag (Closed)
Patch Set: Small one-line fix Created 4 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "build/build_config.h" 9 #include "build/build_config.h"
10 10
11 namespace switches { 11 namespace switches {
12 12
13 // ----------------------------------------------------------------------------- 13 // -----------------------------------------------------------------------------
14 // Can't find the switch you are looking for? Try looking in: 14 // Can't find the switch you are looking for? Try looking in:
15 // ash/common/ash_switches.cc 15 // ash/common/ash_switches.cc
16 // base/base_switches.cc 16 // base/base_switches.cc
17 // chromeos/chromeos_switches.cc 17 // chromeos/chromeos_switches.cc
18 // etc. 18 // etc.
19 // 19 //
20 // When commenting your switch, please use the same voice as surrounding 20 // When commenting your switch, please use the same voice as surrounding
21 // comments. Imagine "This switch..." at the beginning of the phrase, and it'll 21 // comments. Imagine "This switch..." at the beginning of the phrase, and it'll
22 // all work out. 22 // all work out.
23 // ----------------------------------------------------------------------------- 23 // -----------------------------------------------------------------------------
24 24
25 // Allows third-party content included on a page to prompt for a HTTP basic 25 // Allows third-party content included on a page to prompt for a HTTP basic
26 // auth username/password pair. 26 // auth username/password pair.
27 const char kAllowCrossOriginAuthPrompt[] = "allow-cross-origin-auth-prompt"; 27 const char kAllowCrossOriginAuthPrompt[] = "allow-cross-origin-auth-prompt";
Devlin 2016/10/10 15:33:26 I'm guessing this was git cl format's doing? (Usu
catmullings 2016/10/10 19:30:44 Done.
28 28
29 // On ChromeOS, file:// access is disabled except for certain whitelisted 29 // On ChromeOS, file:// access is disabled except for certain whitelisted
30 // directories. This switch re-enables file:// for testing. 30 // directories. This switch re-enables file:// for testing.
31 const char kAllowFileAccess[] = "allow-file-access"; 31 const char kAllowFileAccess[] = "allow-file-access";
32 32
33 // Allow non-secure origins to use the screen capture API and the desktopCapture 33 // Allow non-secure origins to use the screen capture API and the desktopCapture
34 // extension API. 34 // extension API.
35 const char kAllowHttpScreenCapture[] = "allow-http-screen-capture"; 35 const char kAllowHttpScreenCapture[] = "allow-http-screen-capture";
36 36
37 // Enables TLS/SSL errors on localhost to be ignored (no interstitial, 37 // Enables TLS/SSL errors on localhost to be ignored (no interstitial,
38 // no blocking of requests). 38 // no blocking of requests).
39 const char kAllowInsecureLocalhost[] = "allow-insecure-localhost"; 39 const char kAllowInsecureLocalhost[] = "allow-insecure-localhost";
40 40
41 // Don't block outdated plugins. 41 // Don't block outdated plugins.
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after
617 // Used for testing - keeps browser alive after last browser window closes. 617 // Used for testing - keeps browser alive after last browser window closes.
618 const char kKeepAliveForTest[] = "keep-alive-for-test"; 618 const char kKeepAliveForTest[] = "keep-alive-for-test";
619 619
620 // Enable Kiosk mode. 620 // Enable Kiosk mode.
621 const char kKioskMode[] = "kiosk"; 621 const char kKioskMode[] = "kiosk";
622 622
623 // Print automatically in kiosk mode. |kKioskMode| must be set as well. 623 // Print automatically in kiosk mode. |kKioskMode| must be set as well.
624 // See http://crbug.com/31395. 624 // See http://crbug.com/31395.
625 const char kKioskModePrinting[] = "kiosk-printing"; 625 const char kKioskModePrinting[] = "kiosk-printing";
626 626
627 // Comma-separated list of directories with component extensions to load.
628 const char kLoadComponentExtension[] = "load-component-extension";
629
630 // Loads an extension from the specified directory. 627 // Loads an extension from the specified directory.
631 const char kLoadExtension[] = "load-extension"; 628 const char kLoadExtension[] = "load-extension";
632 629
633 // Makes Chrome default browser 630 // Makes Chrome default browser
634 const char kMakeDefaultBrowser[] = "make-default-browser"; 631 const char kMakeDefaultBrowser[] = "make-default-browser";
635 632
636 // Changes security chip behavior. 633 // Changes security chip behavior.
637 const char kMaterialSecurityVerbose[] = "material-security-verbose"; 634 const char kMaterialSecurityVerbose[] = "material-security-verbose";
638 const char kMaterialSecurityVerboseShowAllAnimated[] = "show-all-animated"; 635 const char kMaterialSecurityVerboseShowAllAnimated[] = "show-all-animated";
639 const char kMaterialSecurityVerboseShowAllNonAnimated[] = 636 const char kMaterialSecurityVerboseShowAllNonAnimated[] =
(...skipping 693 matching lines...) Expand 10 before | Expand all | Expand 10 after
1333 1330
1334 // ----------------------------------------------------------------------------- 1331 // -----------------------------------------------------------------------------
1335 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. 1332 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE.
1336 // 1333 //
1337 // You were going to just dump your switches here, weren't you? Instead, please 1334 // You were going to just dump your switches here, weren't you? Instead, please
1338 // put them in alphabetical order above, or in order inside the appropriate 1335 // put them in alphabetical order above, or in order inside the appropriate
1339 // ifdef at the bottom. The order should match the header. 1336 // ifdef at the bottom. The order should match the header.
1340 // ----------------------------------------------------------------------------- 1337 // -----------------------------------------------------------------------------
1341 1338
1342 } // namespace switches 1339 } // namespace switches
OLDNEW
« chrome/browser/extensions/extension_startup_browsertest.cc ('K') | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698