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 700 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
711 const char kFileDescriptorLimit[] = "file-descriptor-limit"; | 711 const char kFileDescriptorLimit[] = "file-descriptor-limit"; |
712 | 712 |
713 // Displays the First Run experience when the browser is started, regardless of | 713 // Displays the First Run experience when the browser is started, regardless of |
714 // whether or not it's actually the first run. | 714 // whether or not it's actually the first run. |
715 const char kFirstRun[] = "first-run"; | 715 const char kFirstRun[] = "first-run"; |
716 | 716 |
717 // Force use of synchronous spell checking. If this is enabled, unified spell | 717 // Force use of synchronous spell checking. If this is enabled, unified spell |
718 // checking will be disabled since it relies on asynchronous spellchecking. | 718 // checking will be disabled since it relies on asynchronous spellchecking. |
719 const char kForceSyncSpellCheck[] = "force-sync-spellcheck"; | 719 const char kForceSyncSpellCheck[] = "force-sync-spellcheck"; |
720 | 720 |
| 721 // Force use of QUIC for requests over the specified port. |
| 722 const char kForceQuicPort[] = "force-quic-port"; |
| 723 |
721 // Enables using GAIA information to populate profile name and icon. | 724 // Enables using GAIA information to populate profile name and icon. |
722 const char kGaiaProfileInfo[] = "gaia-profile-info"; | 725 const char kGaiaProfileInfo[] = "gaia-profile-info"; |
723 | 726 |
724 // Specifies an alternate URL to use for retrieving the search domain for | 727 // Specifies an alternate URL to use for retrieving the search domain for |
725 // Google. Useful for testing. | 728 // Google. Useful for testing. |
726 const char kGoogleSearchDomainCheckURL[] = "google-search-domain-check-url"; | 729 const char kGoogleSearchDomainCheckURL[] = "google-search-domain-check-url"; |
727 | 730 |
728 // Specifies a custom name for the GSSAPI library to load. | 731 // Specifies a custom name for the GSSAPI library to load. |
729 const char kGSSAPILibraryName[] = "gssapi-library-name"; | 732 const char kGSSAPILibraryName[] = "gssapi-library-name"; |
730 | 733 |
(...skipping 907 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1638 #elif defined(OS_WIN) | 1641 #elif defined(OS_WIN) |
1639 return CommandLine::ForCurrentProcess()->HasSwitch( | 1642 return CommandLine::ForCurrentProcess()->HasSwitch( |
1640 switches::kEnableChromeStyleDialogs); | 1643 switches::kEnableChromeStyleDialogs); |
1641 #else | 1644 #else |
1642 return CommandLine::ForCurrentProcess()->HasSwitch( | 1645 return CommandLine::ForCurrentProcess()->HasSwitch( |
1643 switches::kEnableChromeStyleDialogs); | 1646 switches::kEnableChromeStyleDialogs); |
1644 #endif | 1647 #endif |
1645 } | 1648 } |
1646 | 1649 |
1647 } // namespace chrome | 1650 } // namespace chrome |
OLD | NEW |