| 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 689 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 700 const char kFileDescriptorLimit[] = "file-descriptor-limit"; | 700 const char kFileDescriptorLimit[] = "file-descriptor-limit"; |
| 701 | 701 |
| 702 // Displays the First Run experience when the browser is started, regardless of | 702 // Displays the First Run experience when the browser is started, regardless of |
| 703 // whether or not it's actually the first run. | 703 // whether or not it's actually the first run. |
| 704 const char kFirstRun[] = "first-run"; | 704 const char kFirstRun[] = "first-run"; |
| 705 | 705 |
| 706 // Force use of synchronous spell checking. If this is enabled, unified spell | 706 // Force use of synchronous spell checking. If this is enabled, unified spell |
| 707 // checking will be disabled since it relies on asynchronous spellchecking. | 707 // checking will be disabled since it relies on asynchronous spellchecking. |
| 708 const char kForceSyncSpellCheck[] = "force-sync-spellcheck"; | 708 const char kForceSyncSpellCheck[] = "force-sync-spellcheck"; |
| 709 | 709 |
| 710 // Force use of QUIC for requests over the specified port. |
| 711 const char kForceQuicPort[] = "force-quic-port"; |
| 712 |
| 710 // Enables using GAIA information to populate profile name and icon. | 713 // Enables using GAIA information to populate profile name and icon. |
| 711 const char kGaiaProfileInfo[] = "gaia-profile-info"; | 714 const char kGaiaProfileInfo[] = "gaia-profile-info"; |
| 712 | 715 |
| 713 // Specifies an alternate URL to use for retrieving the search domain for | 716 // Specifies an alternate URL to use for retrieving the search domain for |
| 714 // Google. Useful for testing. | 717 // Google. Useful for testing. |
| 715 const char kGoogleSearchDomainCheckURL[] = "google-search-domain-check-url"; | 718 const char kGoogleSearchDomainCheckURL[] = "google-search-domain-check-url"; |
| 716 | 719 |
| 717 // Specifies a custom name for the GSSAPI library to load. | 720 // Specifies a custom name for the GSSAPI library to load. |
| 718 const char kGSSAPILibraryName[] = "gssapi-library-name"; | 721 const char kGSSAPILibraryName[] = "gssapi-library-name"; |
| 719 | 722 |
| (...skipping 906 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1626 #elif defined(OS_WIN) | 1629 #elif defined(OS_WIN) |
| 1627 return CommandLine::ForCurrentProcess()->HasSwitch( | 1630 return CommandLine::ForCurrentProcess()->HasSwitch( |
| 1628 switches::kEnableChromeStyleDialogs); | 1631 switches::kEnableChromeStyleDialogs); |
| 1629 #else | 1632 #else |
| 1630 return CommandLine::ForCurrentProcess()->HasSwitch( | 1633 return CommandLine::ForCurrentProcess()->HasSwitch( |
| 1631 switches::kEnableChromeStyleDialogs); | 1634 switches::kEnableChromeStyleDialogs); |
| 1632 #endif | 1635 #endif |
| 1633 } | 1636 } |
| 1634 | 1637 |
| 1635 } // namespace chrome | 1638 } // namespace chrome |
| OLD | NEW |