| 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 | 9 |
| 10 namespace switches { | 10 namespace switches { |
| (...skipping 695 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 706 | 706 |
| 707 // The file descriptor limit is set to the value of this switch, subject to the | 707 // The file descriptor limit is set to the value of this switch, subject to the |
| 708 // OS hard limits. Useful for testing that file descriptor exhaustion is | 708 // OS hard limits. Useful for testing that file descriptor exhaustion is |
| 709 // handled gracefully. | 709 // handled gracefully. |
| 710 const char kFileDescriptorLimit[] = "file-descriptor-limit"; | 710 const char kFileDescriptorLimit[] = "file-descriptor-limit"; |
| 711 | 711 |
| 712 // Displays the First Run experience when the browser is started, regardless of | 712 // Displays the First Run experience when the browser is started, regardless of |
| 713 // whether or not it's actually the first run. | 713 // whether or not it's actually the first run. |
| 714 const char kFirstRun[] = "first-run"; | 714 const char kFirstRun[] = "first-run"; |
| 715 | 715 |
| 716 // Force use of QUIC for requests over the specified port. |
| 717 const char kForceQuicWhenOriginHasPort[] = "force-quic-when-origin-has-port"; |
| 718 |
| 716 // Enables using GAIA information to populate profile name and icon. | 719 // Enables using GAIA information to populate profile name and icon. |
| 717 const char kGaiaProfileInfo[] = "gaia-profile-info"; | 720 const char kGaiaProfileInfo[] = "gaia-profile-info"; |
| 718 | 721 |
| 719 // Specifies an alternate URL to use for retrieving the search domain for | 722 // Specifies an alternate URL to use for retrieving the search domain for |
| 720 // Google. Useful for testing. | 723 // Google. Useful for testing. |
| 721 const char kGoogleSearchDomainCheckURL[] = "google-search-domain-check-url"; | 724 const char kGoogleSearchDomainCheckURL[] = "google-search-domain-check-url"; |
| 722 | 725 |
| 723 // Specifies a custom name for the GSSAPI library to load. | 726 // Specifies a custom name for the GSSAPI library to load. |
| 724 const char kGSSAPILibraryName[] = "gssapi-library-name"; | 727 const char kGSSAPILibraryName[] = "gssapi-library-name"; |
| 725 | 728 |
| (...skipping 909 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1635 #elif defined(OS_WIN) | 1638 #elif defined(OS_WIN) |
| 1636 return CommandLine::ForCurrentProcess()->HasSwitch( | 1639 return CommandLine::ForCurrentProcess()->HasSwitch( |
| 1637 switches::kEnableChromeStyleDialogs); | 1640 switches::kEnableChromeStyleDialogs); |
| 1638 #else | 1641 #else |
| 1639 return CommandLine::ForCurrentProcess()->HasSwitch( | 1642 return CommandLine::ForCurrentProcess()->HasSwitch( |
| 1640 switches::kEnableChromeStyleDialogs); | 1643 switches::kEnableChromeStyleDialogs); |
| 1641 #endif | 1644 #endif |
| 1642 } | 1645 } |
| 1643 | 1646 |
| 1644 } // namespace chrome | 1647 } // namespace chrome |
| OLD | NEW |