Chromium Code Reviews| 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 #include "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 | 10 |
| (...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 584 // If this flag is present then this command line is being delegated to an | 584 // If this flag is present then this command line is being delegated to an |
| 585 // already running chrome process via the fast path, ie: before chrome.dll is | 585 // already running chrome process via the fast path, ie: before chrome.dll is |
| 586 // loaded. It is useful to tell the difference for tracking purposes. | 586 // loaded. It is useful to tell the difference for tracking purposes. |
| 587 const char kFastStart[] = "fast-start"; | 587 const char kFastStart[] = "fast-start"; |
| 588 | 588 |
| 589 // Forces application mode. This hides certain system UI elements and forces | 589 // Forces application mode. This hides certain system UI elements and forces |
| 590 // the app to be installed if it hasn't been already. | 590 // the app to be installed if it hasn't been already. |
| 591 const char kForceAppMode[] = "force-app-mode"; | 591 const char kForceAppMode[] = "force-app-mode"; |
| 592 | 592 |
| 593 // This option can be used to force parameters of field trials when testing | 593 // This option can be used to force parameters of field trials when testing |
| 594 // changes locally. The argument is a list of key/value pairs prefixed by | 594 // changes locally. The argument is param list of key/value pairs prefixed by an |
|
Alexei Svitkine (slow)
2016/02/10 17:34:46
Nit: The argument is a param list
(Missing "a")
danduong
2016/02/10 18:19:53
Done.
| |
| 595 // Trial/Group pair. The following shows setting parameters to 2 experiments | 595 // associated Trial/Group pair. You specify the param list for multiple |
| 596 // where in the first, it forces "id" to be "foo" for the "Enabled" group of | 596 // Trial/Groups with a comma separator. |
| 597 // the "EnhancedBookmarks" trial: | 597 // Example: |
| 598 // "EnhancedBookmarks.Enabled:id/foo,Experiment2.Group1:key1/value1" | 598 // "Trial1.Group1:k1/v1/k2/v2,Trial2.Group2:k3/v3/k4/v4" |
| 599 // Trial names, groups names, parameter names, and value should all be URL | 599 // Trial names, groups names, parameter names, and value should all be URL |
| 600 // escaped for all non-alphanumeric characters. | 600 // escaped for all non-alphanumeric characters. |
| 601 const char kForceFieldTrialParams[] = "force-fieldtrial-params"; | 601 const char kForceFieldTrialParams[] = "force-fieldtrial-params"; |
| 602 | 602 |
| 603 // Displays the First Run experience when the browser is started, regardless of | 603 // Displays the First Run experience when the browser is started, regardless of |
| 604 // whether or not it's actually the First Run (this overrides kNoFirstRun). | 604 // whether or not it's actually the First Run (this overrides kNoFirstRun). |
| 605 const char kForceFirstRun[] = "force-first-run"; | 605 const char kForceFirstRun[] = "force-first-run"; |
| 606 | 606 |
| 607 // Forces additional Chrome Variation Ids that will be sent in X-Client-Data | 607 // Forces additional Chrome Variation Ids that will be sent in X-Client-Data |
| 608 // header, specified as a 64-bit encoded list of numeric experiment ids. Ids | 608 // header, specified as a 64-bit encoded list of numeric experiment ids. Ids |
| (...skipping 774 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1383 | 1383 |
| 1384 // ----------------------------------------------------------------------------- | 1384 // ----------------------------------------------------------------------------- |
| 1385 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1385 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1386 // | 1386 // |
| 1387 // You were going to just dump your switches here, weren't you? Instead, please | 1387 // You were going to just dump your switches here, weren't you? Instead, please |
| 1388 // put them in alphabetical order above, or in order inside the appropriate | 1388 // put them in alphabetical order above, or in order inside the appropriate |
| 1389 // ifdef at the bottom. The order should match the header. | 1389 // ifdef at the bottom. The order should match the header. |
| 1390 // ----------------------------------------------------------------------------- | 1390 // ----------------------------------------------------------------------------- |
| 1391 | 1391 |
| 1392 } // namespace switches | 1392 } // namespace switches |
| OLD | NEW |