Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 101 | 101 |
| 102 // The value of this switch tells the app to listen for and broadcast | 102 // The value of this switch tells the app to listen for and broadcast |
| 103 // automation-related messages on IPC channel with the given ID. | 103 // automation-related messages on IPC channel with the given ID. |
| 104 const char kAutomationClientChannelID[] = "automation-channel"; | 104 const char kAutomationClientChannelID[] = "automation-channel"; |
| 105 | 105 |
| 106 // Causes the automation provider to reinitialize its IPC channel instead of | 106 // Causes the automation provider to reinitialize its IPC channel instead of |
| 107 // shutting down when a client disconnects. | 107 // shutting down when a client disconnects. |
| 108 const char kAutomationReinitializeOnChannelError[] = | 108 const char kAutomationReinitializeOnChannelError[] = |
| 109 "automation-reinitialize-on-channel-error"; | 109 "automation-reinitialize-on-channel-error"; |
| 110 | 110 |
| 111 // When the option to block third-party cookies from being set is enabled, also | |
| 112 // block third-party cookies from being read. | |
| 113 const char kBlockReadingThirdPartyCookies[] = | |
| 114 "block-reading-third-party-cookies"; | |
| 115 | |
| 116 // How often (in seconds) to check for updates. Should only be used for testing | 111 // How often (in seconds) to check for updates. Should only be used for testing |
| 117 // purposes. | 112 // purposes. |
| 118 const char kCheckForUpdateIntervalSec[] = "check-for-update-interval"; | 113 const char kCheckForUpdateIntervalSec[] = "check-for-update-interval"; |
| 119 | 114 |
| 120 // Tells chrome to load the specified version of chrome.dll on Windows. If this | 115 // Tells chrome to load the specified version of chrome.dll on Windows. If this |
| 121 // version cannot be loaded, Chrome will exit. | 116 // version cannot be loaded, Chrome will exit. |
| 122 const char kChromeVersion[] = "chrome-version"; | 117 const char kChromeVersion[] = "chrome-version"; |
| 123 | 118 |
| 124 // Comma-separated list of SSL cipher suites to disable. | 119 // Comma-separated list of SSL cipher suites to disable. |
| 125 const char kCipherSuiteBlacklist[] = "cipher-suite-blacklist"; | 120 const char kCipherSuiteBlacklist[] = "cipher-suite-blacklist"; |
| (...skipping 706 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 832 const char kNoStartupWindow[] = "no-startup-window"; | 827 const char kNoStartupWindow[] = "no-startup-window"; |
| 833 | 828 |
| 834 // Shows a desktop notification that the cloud print token has expired and that | 829 // Shows a desktop notification that the cloud print token has expired and that |
| 835 // user needs to re-authenticate. | 830 // user needs to re-authenticate. |
| 836 const char kNotifyCloudPrintTokenExpired[] = "notify-cp-token-expired"; | 831 const char kNotifyCloudPrintTokenExpired[] = "notify-cp-token-expired"; |
| 837 | 832 |
| 838 // Specifies the maximum number of threads to use for running the Proxy | 833 // Specifies the maximum number of threads to use for running the Proxy |
| 839 // Autoconfig (PAC) script. | 834 // Autoconfig (PAC) script. |
| 840 const char kNumPacThreads[] = "num-pac-threads"; | 835 const char kNumPacThreads[] = "num-pac-threads"; |
| 841 | 836 |
| 837 // When the option to block third-party cookies, only block third-party cookies | |
|
Mike West
2011/11/07 08:32:47
Nit: "When the option ... _is enabled_,"
| |
| 838 // from being set. | |
| 839 const char kOnlyBlockSettingThirdPartyCookies[] = | |
| 840 "only-block-setting-third-party-cookies"; | |
| 841 | |
| 842 // Launches URL in new browser window. | 842 // Launches URL in new browser window. |
| 843 const char kOpenInNewWindow[] = "new-window"; | 843 const char kOpenInNewWindow[] = "new-window"; |
| 844 | 844 |
| 845 // Simulates an organic Chrome install. | 845 // Simulates an organic Chrome install. |
| 846 const char kOrganicInstall[] = "organic"; | 846 const char kOrganicInstall[] = "organic"; |
| 847 | 847 |
| 848 // Packages an extension to a .crx installable file from a given directory. | 848 // Packages an extension to a .crx installable file from a given directory. |
| 849 const char kPackExtension[] = "pack-extension"; | 849 const char kPackExtension[] = "pack-extension"; |
| 850 | 850 |
| 851 // Optional PEM private key to use in signing packaged .crx. | 851 // Optional PEM private key to use in signing packaged .crx. |
| (...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1294 | 1294 |
| 1295 // ----------------------------------------------------------------------------- | 1295 // ----------------------------------------------------------------------------- |
| 1296 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1296 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1297 // | 1297 // |
| 1298 // You were going to just dump your switches here, weren't you? Instead, please | 1298 // You were going to just dump your switches here, weren't you? Instead, please |
| 1299 // put them in alphabetical order above, or in order inside the appropriate | 1299 // put them in alphabetical order above, or in order inside the appropriate |
| 1300 // ifdef at the bottom. The order should match the header. | 1300 // ifdef at the bottom. The order should match the header. |
| 1301 // ----------------------------------------------------------------------------- | 1301 // ----------------------------------------------------------------------------- |
| 1302 | 1302 |
| 1303 } // namespace switches | 1303 } // namespace switches |
| OLD | NEW |