OLD | NEW |
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 | 9 |
10 namespace switches { | 10 namespace switches { |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 // access to TCP/UDP socket APIs. | 45 // access to TCP/UDP socket APIs. |
46 const char kAllowNaClSocketAPI[] = "allow-nacl-socket-api"; | 46 const char kAllowNaClSocketAPI[] = "allow-nacl-socket-api"; |
47 | 47 |
48 // Don't block outdated plugins. | 48 // Don't block outdated plugins. |
49 const char kAllowOutdatedPlugins[] = "allow-outdated-plugins"; | 49 const char kAllowOutdatedPlugins[] = "allow-outdated-plugins"; |
50 | 50 |
51 // By default, an https page cannot run JavaScript, CSS or plug-ins from http | 51 // By default, an https page cannot run JavaScript, CSS or plug-ins from http |
52 // URLs. This provides an override to get the old insecure behavior. | 52 // URLs. This provides an override to get the old insecure behavior. |
53 const char kAllowRunningInsecureContent[] = "allow-running-insecure-content"; | 53 const char kAllowRunningInsecureContent[] = "allow-running-insecure-content"; |
54 | 54 |
55 // Specifies the threshold to be used when determining of an Alternate-Protocol | |
56 // advertisement will be honored. If the advertised probability is larger | |
57 // than the threshold, then it will be honored. | |
58 const char kAlternateProtocolProbabilityThreshold[] = | |
59 "alternate-protocol-probability-threshold"; | |
60 | |
61 // Prevents Chrome from requiring authorization to run certain widely installed | 55 // Prevents Chrome from requiring authorization to run certain widely installed |
62 // but less commonly used plug-ins. | 56 // but less commonly used plug-ins. |
63 const char kAlwaysAuthorizePlugins[] = "always-authorize-plugins"; | 57 const char kAlwaysAuthorizePlugins[] = "always-authorize-plugins"; |
64 | 58 |
65 // Specifies that the extension-app with the specified id should be launched | 59 // Specifies that the extension-app with the specified id should be launched |
66 // according to its configuration. | 60 // according to its configuration. |
67 const char kAppId[] = "app-id"; | 61 const char kAppId[] = "app-id"; |
68 | 62 |
69 // Specifies that the associated value should be launched in "application" | 63 // Specifies that the associated value should be launched in "application" |
70 // mode. | 64 // mode. |
(...skipping 1345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1416 | 1410 |
1417 // ----------------------------------------------------------------------------- | 1411 // ----------------------------------------------------------------------------- |
1418 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1412 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1419 // | 1413 // |
1420 // You were going to just dump your switches here, weren't you? Instead, please | 1414 // You were going to just dump your switches here, weren't you? Instead, please |
1421 // put them in alphabetical order above, or in order inside the appropriate | 1415 // put them in alphabetical order above, or in order inside the appropriate |
1422 // ifdef at the bottom. The order should match the header. | 1416 // ifdef at the bottom. The order should match the header. |
1423 // ----------------------------------------------------------------------------- | 1417 // ----------------------------------------------------------------------------- |
1424 | 1418 |
1425 } // namespace switches | 1419 } // namespace switches |
OLD | NEW |