| 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 |
| 55 // Prevents Chrome from requiring authorization to run certain widely installed | 61 // Prevents Chrome from requiring authorization to run certain widely installed |
| 56 // but less commonly used plug-ins. | 62 // but less commonly used plug-ins. |
| 57 const char kAlwaysAuthorizePlugins[] = "always-authorize-plugins"; | 63 const char kAlwaysAuthorizePlugins[] = "always-authorize-plugins"; |
| 58 | 64 |
| 59 // Specifies that the extension-app with the specified id should be launched | 65 // Specifies that the extension-app with the specified id should be launched |
| 60 // according to its configuration. | 66 // according to its configuration. |
| 61 const char kAppId[] = "app-id"; | 67 const char kAppId[] = "app-id"; |
| 62 | 68 |
| 63 // Specifies that the associated value should be launched in "application" | 69 // Specifies that the associated value should be launched in "application" |
| 64 // mode. | 70 // mode. |
| (...skipping 1345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1410 | 1416 |
| 1411 // ----------------------------------------------------------------------------- | 1417 // ----------------------------------------------------------------------------- |
| 1412 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1418 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1413 // | 1419 // |
| 1414 // You were going to just dump your switches here, weren't you? Instead, please | 1420 // You were going to just dump your switches here, weren't you? Instead, please |
| 1415 // put them in alphabetical order above, or in order inside the appropriate | 1421 // put them in alphabetical order above, or in order inside the appropriate |
| 1416 // ifdef at the bottom. The order should match the header. | 1422 // ifdef at the bottom. The order should match the header. |
| 1417 // ----------------------------------------------------------------------------- | 1423 // ----------------------------------------------------------------------------- |
| 1418 | 1424 |
| 1419 } // namespace switches | 1425 } // namespace switches |
| OLD | NEW |