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 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 const char kDisableDhcpWpad[] = "disable-dhcp-wpad"; | 286 const char kDisableDhcpWpad[] = "disable-dhcp-wpad"; |
287 | 287 |
288 // Disable extensions. | 288 // Disable extensions. |
289 const char kDisableExtensions[] = "disable-extensions"; | 289 const char kDisableExtensions[] = "disable-extensions"; |
290 | 290 |
291 // Disable checking for user opt-in for extensions that want to inject script | 291 // Disable checking for user opt-in for extensions that want to inject script |
292 // into file URLs (ie, always allow it). This is used during automated testing. | 292 // into file URLs (ie, always allow it). This is used during automated testing. |
293 const char kDisableExtensionsFileAccessCheck[] = | 293 const char kDisableExtensionsFileAccessCheck[] = |
294 "disable-extensions-file-access-check"; | 294 "disable-extensions-file-access-check"; |
295 | 295 |
| 296 // Disable the net::URLRequestThrottlerManager functionality for |
| 297 // requests originating from extensions. |
| 298 const char kDisableExtensionsHttpThrottling[] = |
| 299 "disable-extensions-http-throttling"; |
| 300 |
296 // Disable mandatory enforcement of web_accessible_resources in extensions. | 301 // Disable mandatory enforcement of web_accessible_resources in extensions. |
297 const char kDisableExtensionsResourceWhitelist[] = | 302 const char kDisableExtensionsResourceWhitelist[] = |
298 "disable-extensions-resource-whitelist"; | 303 "disable-extensions-resource-whitelist"; |
299 | 304 |
300 // Disables the sandbox for the built-in flash player. | 305 // Disables the sandbox for the built-in flash player. |
301 const char kDisableFlashSandbox[] = "disable-flash-sandbox"; | 306 const char kDisableFlashSandbox[] = "disable-flash-sandbox"; |
302 | 307 |
303 // Disable the use of the HistoryQuickProvider for autocomplete results. | 308 // Disable the use of the HistoryQuickProvider for autocomplete results. |
304 const char kDisableHistoryQuickProvider[] = "disable-history-quick-provider"; | 309 const char kDisableHistoryQuickProvider[] = "disable-history-quick-provider"; |
305 | 310 |
(...skipping 1103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1409 | 1414 |
1410 // ----------------------------------------------------------------------------- | 1415 // ----------------------------------------------------------------------------- |
1411 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1416 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1412 // | 1417 // |
1413 // You were going to just dump your switches here, weren't you? Instead, please | 1418 // You were going to just dump your switches here, weren't you? Instead, please |
1414 // put them in alphabetical order above, or in order inside the appropriate | 1419 // put them in alphabetical order above, or in order inside the appropriate |
1415 // ifdef at the bottom. The order should match the header. | 1420 // ifdef at the bottom. The order should match the header. |
1416 // ----------------------------------------------------------------------------- | 1421 // ----------------------------------------------------------------------------- |
1417 | 1422 |
1418 } // namespace switches | 1423 } // namespace switches |
OLD | NEW |