| 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 505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 516 // Explicitly allow additional ports using a comma separated list of port | 516 // Explicitly allow additional ports using a comma separated list of port |
| 517 // numbers. | 517 // numbers. |
| 518 const char kExplicitlyAllowedPorts[] = "explicitly-allowed-ports"; | 518 const char kExplicitlyAllowedPorts[] = "explicitly-allowed-ports"; |
| 519 | 519 |
| 520 // Causes the process to run as an extension subprocess. | 520 // Causes the process to run as an extension subprocess. |
| 521 const char kExtensionProcess[] = "extension"; | 521 const char kExtensionProcess[] = "extension"; |
| 522 | 522 |
| 523 // Frequency in seconds for Extensions auto-update. | 523 // Frequency in seconds for Extensions auto-update. |
| 524 const char kExtensionsUpdateFrequency[] = "extensions-update-frequency"; | 524 const char kExtensionsUpdateFrequency[] = "extensions-update-frequency"; |
| 525 | 525 |
| 526 // Alternative feedback server to use when submitting user feedback |
| 527 const char kFeedbackServer[] = "feedback-server"; |
| 528 |
| 526 // The file descriptor limit is set to the value of this switch, subject to the | 529 // The file descriptor limit is set to the value of this switch, subject to the |
| 527 // OS hard limits. Useful for testing that file descriptor exhaustion is handled | 530 // OS hard limits. Useful for testing that file descriptor exhaustion is handled |
| 528 // gracefully. | 531 // gracefully. |
| 529 const char kFileDescriptorLimit[] = "file-descriptor-limit"; | 532 const char kFileDescriptorLimit[] = "file-descriptor-limit"; |
| 530 | 533 |
| 531 // Display the First Run experience when the browser is started, regardless of | 534 // Display the First Run experience when the browser is started, regardless of |
| 532 // whether or not it's actually the first run. | 535 // whether or not it's actually the first run. |
| 533 const char kFirstRun[] = "first-run"; | 536 const char kFirstRun[] = "first-run"; |
| 534 | 537 |
| 535 // Some field tests may rendomized in the browser, and the randomly selected | 538 // Some field tests may rendomized in the browser, and the randomly selected |
| (...skipping 671 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1207 | 1210 |
| 1208 // ----------------------------------------------------------------------------- | 1211 // ----------------------------------------------------------------------------- |
| 1209 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1212 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1210 // | 1213 // |
| 1211 // You were going to just dump your switches here, weren't you? Instead, | 1214 // You were going to just dump your switches here, weren't you? Instead, |
| 1212 // please put them in alphabetical order above, or in order inside the | 1215 // please put them in alphabetical order above, or in order inside the |
| 1213 // appropriate ifdef at the bottom. The order should match the header. | 1216 // appropriate ifdef at the bottom. The order should match the header. |
| 1214 // ----------------------------------------------------------------------------- | 1217 // ----------------------------------------------------------------------------- |
| 1215 | 1218 |
| 1216 } // namespace switches | 1219 } // namespace switches |
| OLD | NEW |