| 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 957 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 968 // third-party cookies from being set. | 968 // third-party cookies from being set. |
| 969 const char kOnlyBlockSettingThirdPartyCookies[] = | 969 const char kOnlyBlockSettingThirdPartyCookies[] = |
| 970 "only-block-setting-third-party-cookies"; | 970 "only-block-setting-third-party-cookies"; |
| 971 | 971 |
| 972 // Launches URL in new browser window. | 972 // Launches URL in new browser window. |
| 973 const char kOpenInNewWindow[] = "new-window"; | 973 const char kOpenInNewWindow[] = "new-window"; |
| 974 | 974 |
| 975 // Simulates an organic Chrome install. | 975 // Simulates an organic Chrome install. |
| 976 const char kOrganicInstall[] = "organic"; | 976 const char kOrganicInstall[] = "organic"; |
| 977 | 977 |
| 978 // Force use of QUIC for requests over the specified port. |
| 979 const char kOriginPortToForceQuicOn[] = "origin-port-to-force-quic-on"; |
| 980 |
| 978 // Packages an extension to a .crx installable file from a given directory. | 981 // Packages an extension to a .crx installable file from a given directory. |
| 979 const char kPackExtension[] = "pack-extension"; | 982 const char kPackExtension[] = "pack-extension"; |
| 980 | 983 |
| 981 // Optional PEM private key to use in signing packaged .crx. | 984 // Optional PEM private key to use in signing packaged .crx. |
| 982 const char kPackExtensionKey[] = "pack-extension-key"; | 985 const char kPackExtensionKey[] = "pack-extension-key"; |
| 983 | 986 |
| 984 // Specifies the path to the user data folder for the parent profile. | 987 // Specifies the path to the user data folder for the parent profile. |
| 985 const char kParentProfile[] = "parent-profile"; | 988 const char kParentProfile[] = "parent-profile"; |
| 986 | 989 |
| 987 // Launches PerformanceMonitor at startup, which will gather statistics about | 990 // Launches PerformanceMonitor at startup, which will gather statistics about |
| (...skipping 642 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1630 #elif defined(OS_WIN) | 1633 #elif defined(OS_WIN) |
| 1631 return CommandLine::ForCurrentProcess()->HasSwitch( | 1634 return CommandLine::ForCurrentProcess()->HasSwitch( |
| 1632 switches::kEnableChromeStyleDialogs); | 1635 switches::kEnableChromeStyleDialogs); |
| 1633 #else | 1636 #else |
| 1634 return CommandLine::ForCurrentProcess()->HasSwitch( | 1637 return CommandLine::ForCurrentProcess()->HasSwitch( |
| 1635 switches::kEnableChromeStyleDialogs); | 1638 switches::kEnableChromeStyleDialogs); |
| 1636 #endif | 1639 #endif |
| 1637 } | 1640 } |
| 1638 | 1641 |
| 1639 } // namespace chrome | 1642 } // namespace chrome |
| OLD | NEW |