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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 | 208 |
209 // Disables the experimental asynchronous DNS client. | 209 // Disables the experimental asynchronous DNS client. |
210 const char kDisableAsyncDns[] = "disable-async-dns"; | 210 const char kDisableAsyncDns[] = "disable-async-dns"; |
211 | 211 |
212 // Disables CNAME lookup of the host when generating the Kerberos SPN for a | 212 // Disables CNAME lookup of the host when generating the Kerberos SPN for a |
213 // Negotiate challenge. See HttpAuthHandlerNegotiate::CreateSPN for more | 213 // Negotiate challenge. See HttpAuthHandlerNegotiate::CreateSPN for more |
214 // background. | 214 // background. |
215 const char kDisableAuthNegotiateCnameLookup[] = | 215 const char kDisableAuthNegotiateCnameLookup[] = |
216 "disable-auth-negotiate-cname-lookup"; | 216 "disable-auth-negotiate-cname-lookup"; |
217 | 217 |
218 // Disables background mode (background apps will not keep chrome running in | |
219 // the background). | |
220 const char kDisableBackgroundMode[] = "disable-background-mode"; | |
221 | |
222 // Disable several subsystems which run network requests in the background. | 218 // Disable several subsystems which run network requests in the background. |
223 // This is for use when doing network performance testing to avoid noise in the | 219 // This is for use when doing network performance testing to avoid noise in the |
224 // measurements. | 220 // measurements. |
225 const char kDisableBackgroundNetworking[] = "disable-background-networking"; | 221 const char kDisableBackgroundNetworking[] = "disable-background-networking"; |
226 | 222 |
227 // Disables the bundled PPAPI version of Flash. | 223 // Disables the bundled PPAPI version of Flash. |
228 const char kDisableBundledPpapiFlash[] = "disable-bundled-ppapi-flash"; | 224 const char kDisableBundledPpapiFlash[] = "disable-bundled-ppapi-flash"; |
229 | 225 |
230 // Disables the client-side phishing detection feature. Note that even if | 226 // Disables the client-side phishing detection feature. Note that even if |
231 // client-side phishing detection is enabled, it will only be active if the | 227 // client-side phishing detection is enabled, it will only be active if the |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
345 | 341 |
346 // Disable use of Chromium's port selection for the ephemeral port via bind(). | 342 // Disable use of Chromium's port selection for the ephemeral port via bind(). |
347 // This only has an effect if QUIC protocol is enabled. | 343 // This only has an effect if QUIC protocol is enabled. |
348 const char kDisableQuicPortSelection[] = "disable-quic-port-selection"; | 344 const char kDisableQuicPortSelection[] = "disable-quic-port-selection"; |
349 | 345 |
350 // Disable use of time-base loss detection for QUIC connections. | 346 // Disable use of time-base loss detection for QUIC connections. |
351 // This only has an effect if QUIC protocol is enabled. | 347 // This only has an effect if QUIC protocol is enabled. |
352 const char kDisableQuicTimeBasedLossDetection[] = | 348 const char kDisableQuicTimeBasedLossDetection[] = |
353 "disable-quic-time-based-loss-detection"; | 349 "disable-quic-time-based-loss-detection"; |
354 | 350 |
355 // Prevents the URLs of BackgroundContents from being remembered and | |
356 // re-launched when the browser restarts. | |
357 const char kDisableRestoreBackgroundContents[] = | |
358 "disable-restore-background-contents"; | |
359 | |
360 // Prevents the save password bubble from being enabled. | 351 // Prevents the save password bubble from being enabled. |
361 const char kDisableSavePasswordBubble[] = "disable-save-password-bubble"; | 352 const char kDisableSavePasswordBubble[] = "disable-save-password-bubble"; |
362 | 353 |
363 // Disables throttling prints initiated by scripts. | 354 // Disables throttling prints initiated by scripts. |
364 const char kDisableScriptedPrintThrottling[] = | 355 const char kDisableScriptedPrintThrottling[] = |
365 "disable-scripted-print-throttling"; | 356 "disable-scripted-print-throttling"; |
366 | 357 |
367 // Disables the "search button in omnibox" experiment. | 358 // Disables the "search button in omnibox" experiment. |
368 const char kDisableSearchButtonInOmnibox[] = | 359 const char kDisableSearchButtonInOmnibox[] = |
369 "disable-search-button-in-omnibox"; | 360 "disable-search-button-in-omnibox"; |
(...skipping 1030 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1400 | 1391 |
1401 // ----------------------------------------------------------------------------- | 1392 // ----------------------------------------------------------------------------- |
1402 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1393 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1403 // | 1394 // |
1404 // You were going to just dump your switches here, weren't you? Instead, please | 1395 // You were going to just dump your switches here, weren't you? Instead, please |
1405 // put them in alphabetical order above, or in order inside the appropriate | 1396 // put them in alphabetical order above, or in order inside the appropriate |
1406 // ifdef at the bottom. The order should match the header. | 1397 // ifdef at the bottom. The order should match the header. |
1407 // ----------------------------------------------------------------------------- | 1398 // ----------------------------------------------------------------------------- |
1408 | 1399 |
1409 } // namespace switches | 1400 } // namespace switches |
OLD | NEW |