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 | |
75 // Prevents Chrome from requiring authorization to run certain widely installed | 69 // Prevents Chrome from requiring authorization to run certain widely installed |
76 // but less commonly used plugins. | 70 // but less commonly used plugins. |
77 const char kAlwaysAuthorizePlugins[] = "always-authorize-plugins"; | 71 const char kAlwaysAuthorizePlugins[] = "always-authorize-plugins"; |
78 | 72 |
79 // Specifies that the extension-app with the specified id should be launched | 73 // Specifies that the extension-app with the specified id should be launched |
80 // according to its configuration. | 74 // according to its configuration. |
81 const char kAppId[] = "app-id"; | 75 const char kAppId[] = "app-id"; |
82 | 76 |
83 // Specifies that the associated value should be launched in "application" | 77 // Specifies that the associated value should be launched in "application" |
84 // mode. | 78 // mode. |
(...skipping 1296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1381 | 1375 |
1382 // ----------------------------------------------------------------------------- | 1376 // ----------------------------------------------------------------------------- |
1383 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1377 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1384 // | 1378 // |
1385 // You were going to just dump your switches here, weren't you? Instead, please | 1379 // You were going to just dump your switches here, weren't you? Instead, please |
1386 // put them in alphabetical order above, or in order inside the appropriate | 1380 // put them in alphabetical order above, or in order inside the appropriate |
1387 // ifdef at the bottom. The order should match the header. | 1381 // ifdef at the bottom. The order should match the header. |
1388 // ----------------------------------------------------------------------------- | 1382 // ----------------------------------------------------------------------------- |
1389 | 1383 |
1390 } // namespace switches | 1384 } // namespace switches |
OLD | NEW |