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