Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(153)

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 1278403003: Initial implementation of FeatureList in base/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 // Disable checking for user opt-in for extensions that want to inject script 259 // Disable checking for user opt-in for extensions that want to inject script
260 // into file URLs (ie, always allow it). This is used during automated testing. 260 // into file URLs (ie, always allow it). This is used during automated testing.
261 const char kDisableExtensionsFileAccessCheck[] = 261 const char kDisableExtensionsFileAccessCheck[] =
262 "disable-extensions-file-access-check"; 262 "disable-extensions-file-access-check";
263 263
264 // Disable the net::URLRequestThrottlerManager functionality for 264 // Disable the net::URLRequestThrottlerManager functionality for
265 // requests originating from extensions. 265 // requests originating from extensions.
266 const char kDisableExtensionsHttpThrottling[] = 266 const char kDisableExtensionsHttpThrottling[] =
267 "disable-extensions-http-throttling"; 267 "disable-extensions-http-throttling";
268 268
269 // Comma-separated list of feature names to disable. See also kEnableFeatures.
270 const char kDisableFeatures[] = "disable-features";
271
269 // Disable field trial tests configured in fieldtrial_testing_config.json. 272 // Disable field trial tests configured in fieldtrial_testing_config.json.
270 const char kDisableFieldTrialTestingConfig[] = "disable-field-trial-config"; 273 const char kDisableFieldTrialTestingConfig[] = "disable-field-trial-config";
271 274
272 // Disables the Material Design version of chrome://downloads. 275 // Disables the Material Design version of chrome://downloads.
273 const char kDisableMaterialDesignDownloads[] = "disable-md-downloads"; 276 const char kDisableMaterialDesignDownloads[] = "disable-md-downloads";
274 277
275 // Disable the behavior that the second click on a launcher item (the click when 278 // Disable the behavior that the second click on a launcher item (the click when
276 // the item is already active) minimizes the item. 279 // the item is already active) minimizes the item.
277 const char kDisableMinimizeOnSecondLauncherItemClick[] = 280 const char kDisableMinimizeOnSecondLauncherItemClick[] =
278 "disable-minimize-on-second-launcher-item-click"; 281 "disable-minimize-on-second-launcher-item-click";
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
430 // Enables logging for extension activity. 433 // Enables logging for extension activity.
431 const char kEnableExtensionActivityLogging[] = 434 const char kEnableExtensionActivityLogging[] =
432 "enable-extension-activity-logging"; 435 "enable-extension-activity-logging";
433 436
434 const char kEnableExtensionActivityLogTesting[] = 437 const char kEnableExtensionActivityLogTesting[] =
435 "enable-extension-activity-log-testing"; 438 "enable-extension-activity-log-testing";
436 439
437 // Enable the fast unload controller, which speeds up tab/window close by 440 // Enable the fast unload controller, which speeds up tab/window close by
438 // running a tab's onunload js handler independently of the GUI - 441 // running a tab's onunload js handler independently of the GUI -
439 // crbug.com/142458 . 442 // crbug.com/142458 .
440 const char kEnableFastUnload[] = "enable-fast-unload"; 443 const char kEnableFastUnload[] = "enable-fast-unload";
444
445 // Comma-separated list of feature names to enable. See also kDisableFeatures.
446 const char kEnableFeatures[] = "enable-features";
441 447
442 // Enables support for the QUIC protocol for insecure schemes (http://). 448 // Enables support for the QUIC protocol for insecure schemes (http://).
443 // This is a temporary testing flag. 449 // This is a temporary testing flag.
444 const char kEnableInsecureQuic[] = "enable-insecure-quic"; 450 const char kEnableInsecureQuic[] = "enable-insecure-quic";
445 451
446 // Enables the Material Design version of chrome://downloads. 452 // Enables the Material Design version of chrome://downloads.
447 const char kEnableMaterialDesignDownloads[] = "enable-md-downloads"; 453 const char kEnableMaterialDesignDownloads[] = "enable-md-downloads";
448 454
449 // Enables the material design Settings feature. 455 // Enables the material design Settings feature.
450 const char kEnableMaterialDesignSettings[] = "enable-md-settings"; 456 const char kEnableMaterialDesignSettings[] = "enable-md-settings";
(...skipping 911 matching lines...) Expand 10 before | Expand all | Expand 10 after
1362 1368
1363 // ----------------------------------------------------------------------------- 1369 // -----------------------------------------------------------------------------
1364 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1370 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1365 // 1371 //
1366 // You were going to just dump your switches here, weren't you? Instead, please 1372 // You were going to just dump your switches here, weren't you? Instead, please
1367 // put them in alphabetical order above, or in order inside the appropriate 1373 // put them in alphabetical order above, or in order inside the appropriate
1368 // ifdef at the bottom. The order should match the header. 1374 // ifdef at the bottom. The order should match the header.
1369 // ----------------------------------------------------------------------------- 1375 // -----------------------------------------------------------------------------
1370 1376
1371 } // namespace switches 1377 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698