OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 575 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
586 | 586 |
587 // The file descriptor limit is set to the value of this switch, subject to the | 587 // The file descriptor limit is set to the value of this switch, subject to the |
588 // OS hard limits. Useful for testing that file descriptor exhaustion is handled | 588 // OS hard limits. Useful for testing that file descriptor exhaustion is handled |
589 // gracefully. | 589 // gracefully. |
590 const char kFileDescriptorLimit[] = "file-descriptor-limit"; | 590 const char kFileDescriptorLimit[] = "file-descriptor-limit"; |
591 | 591 |
592 // Display the First Run experience when the browser is started, regardless of | 592 // Display the First Run experience when the browser is started, regardless of |
593 // whether or not it's actually the first run. | 593 // whether or not it's actually the first run. |
594 const char kFirstRun[] = "first-run"; | 594 const char kFirstRun[] = "first-run"; |
595 | 595 |
| 596 // Forces the apps/webstore promo to be shown, independent of whether it has |
| 597 // timed out, etc. Useful for testing. |
| 598 const char kForceAppsPromoVisible[] = "force-apps-promo-visible"; |
| 599 |
596 // Some field tests may rendomized in the browser, and the randomly selected | 600 // Some field tests may rendomized in the browser, and the randomly selected |
597 // outcome needs to be propogated to the renderer. For instance, this is used | 601 // outcome needs to be propogated to the renderer. For instance, this is used |
598 // to modify histograms recorded in the renderer, or to get the renderer to | 602 // to modify histograms recorded in the renderer, or to get the renderer to |
599 // also set of its state (initialize, or not initialize components) to match the | 603 // also set of its state (initialize, or not initialize components) to match the |
600 // experiment(s). | 604 // experiment(s). |
601 // The argument is a string-ized list of experiment names, and the associated | 605 // The argument is a string-ized list of experiment names, and the associated |
602 // value that was randomly selected. In the recent implementetaion, the | 606 // value that was randomly selected. In the recent implementetaion, the |
603 // persistent representation generated by field_trial.cc and later decoded, is a | 607 // persistent representation generated by field_trial.cc and later decoded, is a |
604 // list of name and value pairs, separated by slashes. See field trial.cc for | 608 // list of name and value pairs, separated by slashes. See field trial.cc for |
605 // current details. | 609 // current details. |
(...skipping 654 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1260 | 1264 |
1261 // ----------------------------------------------------------------------------- | 1265 // ----------------------------------------------------------------------------- |
1262 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1266 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1263 // | 1267 // |
1264 // You were going to just dump your switches here, weren't you? Instead, | 1268 // You were going to just dump your switches here, weren't you? Instead, |
1265 // please put them in alphabetical order above, or in order inside the | 1269 // please put them in alphabetical order above, or in order inside the |
1266 // appropriate ifdef at the bottom. The order should match the header. | 1270 // appropriate ifdef at the bottom. The order should match the header. |
1267 // ----------------------------------------------------------------------------- | 1271 // ----------------------------------------------------------------------------- |
1268 | 1272 |
1269 } // namespace switches | 1273 } // namespace switches |
OLD | NEW |