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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 const char kAllowNaClFileHandleAPI[] = "allow-nacl-file-handle-api"; | 47 const char kAllowNaClFileHandleAPI[] = "allow-nacl-file-handle-api"; |
48 | 48 |
49 // Specifies comma-separated list of extension ids or hosts to grant | 49 // Specifies comma-separated list of extension ids or hosts to grant |
50 // access to TCP/UDP socket APIs. | 50 // access to TCP/UDP socket APIs. |
51 const char kAllowNaClSocketAPI[] = "allow-nacl-socket-api"; | 51 const char kAllowNaClSocketAPI[] = "allow-nacl-socket-api"; |
52 #endif | 52 #endif |
53 | 53 |
54 // Don't block outdated plugins. | 54 // Don't block outdated plugins. |
55 const char kAllowOutdatedPlugins[] = "allow-outdated-plugins"; | 55 const char kAllowOutdatedPlugins[] = "allow-outdated-plugins"; |
56 | 56 |
57 // By default, an https page cannot run JavaScript, CSS or plug-ins from http | 57 // By default, an https page cannot run JavaScript, CSS or plugins from http |
58 // URLs. This provides an override to get the old insecure behavior. | 58 // URLs. This provides an override to get the old insecure behavior. |
59 const char kAllowRunningInsecureContent[] = "allow-running-insecure-content"; | 59 const char kAllowRunningInsecureContent[] = "allow-running-insecure-content"; |
60 | 60 |
61 // Specifies the threshold to be used when determining of an Alternate-Protocol | 61 // Specifies the threshold to be used when determining of an Alternate-Protocol |
62 // advertisement will be honored. If the advertised probability is larger | 62 // advertisement will be honored. If the advertised probability is larger |
63 // than the threshold, then it will be honored. | 63 // than the threshold, then it will be honored. |
64 const char kAlternateProtocolProbabilityThreshold[] = | 64 const char kAlternateProtocolProbabilityThreshold[] = |
65 "alternate-protocol-probability-threshold"; | 65 "alternate-protocol-probability-threshold"; |
66 | 66 |
67 // Prevents Chrome from requiring authorization to run certain widely installed | 67 // Prevents Chrome from requiring authorization to run certain widely installed |
68 // but less commonly used plug-ins. | 68 // but less commonly used plugins. |
69 const char kAlwaysAuthorizePlugins[] = "always-authorize-plugins"; | 69 const char kAlwaysAuthorizePlugins[] = "always-authorize-plugins"; |
70 | 70 |
71 // Specifies that the extension-app with the specified id should be launched | 71 // Specifies that the extension-app with the specified id should be launched |
72 // according to its configuration. | 72 // according to its configuration. |
73 const char kAppId[] = "app-id"; | 73 const char kAppId[] = "app-id"; |
74 | 74 |
75 // Specifies that the associated value should be launched in "application" | 75 // Specifies that the associated value should be launched in "application" |
76 // mode. | 76 // mode. |
77 const char kApp[] = "app"; | 77 const char kApp[] = "app"; |
78 | 78 |
(...skipping 1298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1377 | 1377 |
1378 // ----------------------------------------------------------------------------- | 1378 // ----------------------------------------------------------------------------- |
1379 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1379 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1380 // | 1380 // |
1381 // You were going to just dump your switches here, weren't you? Instead, please | 1381 // You were going to just dump your switches here, weren't you? Instead, please |
1382 // put them in alphabetical order above, or in order inside the appropriate | 1382 // put them in alphabetical order above, or in order inside the appropriate |
1383 // ifdef at the bottom. The order should match the header. | 1383 // ifdef at the bottom. The order should match the header. |
1384 // ----------------------------------------------------------------------------- | 1384 // ----------------------------------------------------------------------------- |
1385 | 1385 |
1386 } // namespace switches | 1386 } // namespace switches |
OLD | NEW |