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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 // also block third-party cookies from being read. | 97 // also block third-party cookies from being read. |
98 const char kBlockReadingThirdPartyCookies[] = | 98 const char kBlockReadingThirdPartyCookies[] = |
99 "block-reading-third-party-cookies"; | 99 "block-reading-third-party-cookies"; |
100 | 100 |
101 // Causes the browser process to throw an assertion on startup. | 101 // Causes the browser process to throw an assertion on startup. |
102 const char kBrowserAssertTest[] = "assert-test"; | 102 const char kBrowserAssertTest[] = "assert-test"; |
103 | 103 |
104 // Causes the browser process to crash on startup. | 104 // Causes the browser process to crash on startup. |
105 const char kBrowserCrashTest[] = "crash-test"; | 105 const char kBrowserCrashTest[] = "crash-test"; |
106 | 106 |
| 107 // Exponential alpha for warmest vs. most recently accessed connection. |
| 108 const char kBytesReadVsLastAccessedAlpha[] = |
| 109 "bytes-read-vs-last-accessed-alpha"; |
| 110 |
107 // How often (in seconds) to check for updates. Should only be used for | 111 // How often (in seconds) to check for updates. Should only be used for |
108 // testing purposes. | 112 // testing purposes. |
109 const char kCheckForUpdateIntervalSec[] = "check-for-update-interval"; | 113 const char kCheckForUpdateIntervalSec[] = "check-for-update-interval"; |
110 | 114 |
111 // Run Chrome in Chrome Frame mode. This means that Chrome expects to be run | 115 // Run Chrome in Chrome Frame mode. This means that Chrome expects to be run |
112 // as a dependent process of the Chrome Frame plugin. | 116 // as a dependent process of the Chrome Frame plugin. |
113 const char kChromeFrame[] = "chrome-frame"; | 117 const char kChromeFrame[] = "chrome-frame"; |
114 | 118 |
115 // Tells chrome to load the specified version of chrome.dll on Windows. If | 119 // Tells chrome to load the specified version of chrome.dll on Windows. If |
116 // this version cannot be loaded, Chrome will exit. | 120 // this version cannot be loaded, Chrome will exit. |
(...skipping 1075 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1192 | 1196 |
1193 // ----------------------------------------------------------------------------- | 1197 // ----------------------------------------------------------------------------- |
1194 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1198 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1195 // | 1199 // |
1196 // You were going to just dump your switches here, weren't you? Instead, | 1200 // You were going to just dump your switches here, weren't you? Instead, |
1197 // please put them in alphabetical order above, or in order inside the | 1201 // please put them in alphabetical order above, or in order inside the |
1198 // appropriate ifdef at the bottom. The order should match the header. | 1202 // appropriate ifdef at the bottom. The order should match the header. |
1199 // ----------------------------------------------------------------------------- | 1203 // ----------------------------------------------------------------------------- |
1200 | 1204 |
1201 } // namespace switches | 1205 } // namespace switches |
OLD | NEW |