| 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 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 263 // Disable checking for user opt-in for extensions that want to inject script | 263 // Disable checking for user opt-in for extensions that want to inject script |
| 264 // into file URLs (ie, always allow it). This is used during automated testing. | 264 // into file URLs (ie, always allow it). This is used during automated testing. |
| 265 const char kDisableExtensionsFileAccessCheck[] = | 265 const char kDisableExtensionsFileAccessCheck[] = |
| 266 "disable-extensions-file-access-check"; | 266 "disable-extensions-file-access-check"; |
| 267 | 267 |
| 268 // Disable the net::URLRequestThrottlerManager functionality for | 268 // Disable the net::URLRequestThrottlerManager functionality for |
| 269 // requests originating from extensions. | 269 // requests originating from extensions. |
| 270 const char kDisableExtensionsHttpThrottling[] = | 270 const char kDisableExtensionsHttpThrottling[] = |
| 271 "disable-extensions-http-throttling"; | 271 "disable-extensions-http-throttling"; |
| 272 | 272 |
| 273 // Disable field trial tests configured in fieldtrial_testing_config.json. |
| 274 const char kDisableFieldTrialTestingConfig[] = "disable-field-trial-config"; |
| 275 |
| 273 // Disable the behavior that the second click on a launcher item (the click when | 276 // Disable the behavior that the second click on a launcher item (the click when |
| 274 // the item is already active) minimizes the item. | 277 // the item is already active) minimizes the item. |
| 275 const char kDisableMinimizeOnSecondLauncherItemClick[] = | 278 const char kDisableMinimizeOnSecondLauncherItemClick[] = |
| 276 "disable-minimize-on-second-launcher-item-click"; | 279 "disable-minimize-on-second-launcher-item-click"; |
| 277 | 280 |
| 278 // Disables the new bookmark app system. | 281 // Disables the new bookmark app system. |
| 279 const char kDisableNewBookmarkApps[] = "disable-new-bookmark-apps"; | 282 const char kDisableNewBookmarkApps[] = "disable-new-bookmark-apps"; |
| 280 | 283 |
| 281 // Disable auto-reload of error pages if offline. | 284 // Disable auto-reload of error pages if offline. |
| 282 const char kDisableOfflineAutoReload[] = "disable-offline-auto-reload"; | 285 const char kDisableOfflineAutoReload[] = "disable-offline-auto-reload"; |
| (...skipping 1101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1384 | 1387 |
| 1385 // ----------------------------------------------------------------------------- | 1388 // ----------------------------------------------------------------------------- |
| 1386 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1389 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1387 // | 1390 // |
| 1388 // You were going to just dump your switches here, weren't you? Instead, please | 1391 // You were going to just dump your switches here, weren't you? Instead, please |
| 1389 // put them in alphabetical order above, or in order inside the appropriate | 1392 // put them in alphabetical order above, or in order inside the appropriate |
| 1390 // ifdef at the bottom. The order should match the header. | 1393 // ifdef at the bottom. The order should match the header. |
| 1391 // ----------------------------------------------------------------------------- | 1394 // ----------------------------------------------------------------------------- |
| 1392 | 1395 |
| 1393 } // namespace switches | 1396 } // namespace switches |
| OLD | NEW |