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

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

Issue 2465953002: Move Field Trial Utils from chrome/common/variations to components/variations/field_trial_util (Closed)
Patch Set: Moved to components/variations/field_trial_util and chrome switches Created 4 years, 1 month 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') | chrome/common/variations/BUILD.gn » ('j') | 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 #include "build/build_config.h" 9 #include "build/build_config.h"
10 10
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 // Disable checking for user opt-in for extensions that want to inject script 227 // Disable checking for user opt-in for extensions that want to inject script
228 // into file URLs (ie, always allow it). This is used during automated testing. 228 // into file URLs (ie, always allow it). This is used during automated testing.
229 const char kDisableExtensionsFileAccessCheck[] = 229 const char kDisableExtensionsFileAccessCheck[] =
230 "disable-extensions-file-access-check"; 230 "disable-extensions-file-access-check";
231 231
232 // Disable the net::URLRequestThrottlerManager functionality for 232 // Disable the net::URLRequestThrottlerManager functionality for
233 // requests originating from extensions. 233 // requests originating from extensions.
234 const char kDisableExtensionsHttpThrottling[] = 234 const char kDisableExtensionsHttpThrottling[] =
235 "disable-extensions-http-throttling"; 235 "disable-extensions-http-throttling";
236 236
237 // Disable field trial tests configured in fieldtrial_testing_config.json.
238 const char kDisableFieldTrialTestingConfig[] = "disable-field-trial-config";
239
240 // Disables the HTTP/2 protocol. 237 // Disables the HTTP/2 protocol.
241 const char kDisableHttp2[] = "disable-http2"; 238 const char kDisableHttp2[] = "disable-http2";
242 239
243 // Disable the behavior that the second click on a launcher item (the click when 240 // Disable the behavior that the second click on a launcher item (the click when
244 // the item is already active) minimizes the item. 241 // the item is already active) minimizes the item.
245 const char kDisableMinimizeOnSecondLauncherItemClick[] = 242 const char kDisableMinimizeOnSecondLauncherItemClick[] =
246 "disable-minimize-on-second-launcher-item-click"; 243 "disable-minimize-on-second-launcher-item-click";
247 244
248 // Disables the new bookmark app system. 245 // Disables the new bookmark app system.
249 const char kDisableNewBookmarkApps[] = "disable-new-bookmark-apps"; 246 const char kDisableNewBookmarkApps[] = "disable-new-bookmark-apps";
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
524 521
525 // If this flag is present then this command line is being delegated to an 522 // If this flag is present then this command line is being delegated to an
526 // already running chrome process via the fast path, ie: before chrome.dll is 523 // already running chrome process via the fast path, ie: before chrome.dll is
527 // loaded. It is useful to tell the difference for tracking purposes. 524 // loaded. It is useful to tell the difference for tracking purposes.
528 const char kFastStart[] = "fast-start"; 525 const char kFastStart[] = "fast-start";
529 526
530 // Forces application mode. This hides certain system UI elements and forces 527 // Forces application mode. This hides certain system UI elements and forces
531 // the app to be installed if it hasn't been already. 528 // the app to be installed if it hasn't been already.
532 const char kForceAppMode[] = "force-app-mode"; 529 const char kForceAppMode[] = "force-app-mode";
533 530
534 // This option can be used to force parameters of field trials when testing
535 // changes locally. The argument is a param list of (key, value) pairs prefixed
536 // by an associated (trial, group) pair. You specify the param list for multiple
537 // (trial, group) pairs with a comma separator.
538 // Example:
539 // "Trial1.Group1:k1/v1/k2/v2,Trial2.Group2:k3/v3/k4/v4"
540 // Trial names, groups names, parameter names, and value should all be URL
541 // escaped for all non-alphanumeric characters.
542 const char kForceFieldTrialParams[] = "force-fieldtrial-params";
543
544 // Displays the First Run experience when the browser is started, regardless of 531 // Displays the First Run experience when the browser is started, regardless of
545 // whether or not it's actually the First Run (this overrides kNoFirstRun). 532 // whether or not it's actually the First Run (this overrides kNoFirstRun).
546 const char kForceFirstRun[] = "force-first-run"; 533 const char kForceFirstRun[] = "force-first-run";
547 534
548 // Forces Chrome to use localNTP instead of server (GWS) NTP. 535 // Forces Chrome to use localNTP instead of server (GWS) NTP.
549 const char kForceLocalNtp[] = "force-local-ntp"; 536 const char kForceLocalNtp[] = "force-local-ntp";
550 537
551 // Forces additional Chrome Variation Ids that will be sent in X-Client-Data 538 // Forces additional Chrome Variation Ids that will be sent in X-Client-Data
552 // header, specified as a 64-bit encoded list of numeric experiment ids. Ids 539 // header, specified as a 64-bit encoded list of numeric experiment ids. Ids
553 // prefixed with the character "t" will be treated as Trigger Variation Ids. 540 // prefixed with the character "t" will be treated as Trigger Variation Ids.
(...skipping 771 matching lines...) Expand 10 before | Expand all | Expand 10 after
1325 1312
1326 // ----------------------------------------------------------------------------- 1313 // -----------------------------------------------------------------------------
1327 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. 1314 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE.
1328 // 1315 //
1329 // You were going to just dump your switches here, weren't you? Instead, please 1316 // You were going to just dump your switches here, weren't you? Instead, please
1330 // put them in alphabetical order above, or in order inside the appropriate 1317 // put them in alphabetical order above, or in order inside the appropriate
1331 // ifdef at the bottom. The order should match the header. 1318 // ifdef at the bottom. The order should match the header.
1332 // ----------------------------------------------------------------------------- 1319 // -----------------------------------------------------------------------------
1333 1320
1334 } // namespace switches 1321 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/variations/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698