| 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 #include "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 | 10 |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 "disallow-unchecked-dangerous-downloads"; | 59 "disallow-unchecked-dangerous-downloads"; |
| 60 #endif | 60 #endif |
| 61 | 61 |
| 62 // Don't block outdated plugins. | 62 // Don't block outdated plugins. |
| 63 const char kAllowOutdatedPlugins[] = "allow-outdated-plugins"; | 63 const char kAllowOutdatedPlugins[] = "allow-outdated-plugins"; |
| 64 | 64 |
| 65 // By default, an https page cannot run JavaScript, CSS or plugins from http | 65 // By default, an https page cannot run JavaScript, CSS or plugins from http |
| 66 // URLs. This provides an override to get the old insecure behavior. | 66 // URLs. This provides an override to get the old insecure behavior. |
| 67 const char kAllowRunningInsecureContent[] = "allow-running-insecure-content"; | 67 const char kAllowRunningInsecureContent[] = "allow-running-insecure-content"; |
| 68 | 68 |
| 69 // Specifies the probability threshold for alternative services: an advertised |
| 70 // alternative service will only be honored if the advertised probability is |
| 71 // greater than or equal to this threshold. |
| 72 const char kAlternativeServiceProbabilityThreshold[] = |
| 73 "alternative-service-probability-threshold"; |
| 74 |
| 69 // Prevents Chrome from requiring authorization to run certain widely installed | 75 // Prevents Chrome from requiring authorization to run certain widely installed |
| 70 // but less commonly used plugins. | 76 // but less commonly used plugins. |
| 71 const char kAlwaysAuthorizePlugins[] = "always-authorize-plugins"; | 77 const char kAlwaysAuthorizePlugins[] = "always-authorize-plugins"; |
| 72 | 78 |
| 73 // Specifies that the extension-app with the specified id should be launched | 79 // Specifies that the extension-app with the specified id should be launched |
| 74 // according to its configuration. | 80 // according to its configuration. |
| 75 const char kAppId[] = "app-id"; | 81 const char kAppId[] = "app-id"; |
| 76 | 82 |
| 77 // Specifies that the associated value should be launched in "application" | 83 // Specifies that the associated value should be launched in "application" |
| 78 // mode. | 84 // mode. |
| (...skipping 1301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1380 | 1386 |
| 1381 // ----------------------------------------------------------------------------- | 1387 // ----------------------------------------------------------------------------- |
| 1382 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1388 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1383 // | 1389 // |
| 1384 // You were going to just dump your switches here, weren't you? Instead, please | 1390 // You were going to just dump your switches here, weren't you? Instead, please |
| 1385 // put them in alphabetical order above, or in order inside the appropriate | 1391 // put them in alphabetical order above, or in order inside the appropriate |
| 1386 // ifdef at the bottom. The order should match the header. | 1392 // ifdef at the bottom. The order should match the header. |
| 1387 // ----------------------------------------------------------------------------- | 1393 // ----------------------------------------------------------------------------- |
| 1388 | 1394 |
| 1389 } // namespace switches | 1395 } // namespace switches |
| OLD | NEW |