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 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
320 // This only has an effect if QUIC protocol is enabled. | 320 // This only has an effect if QUIC protocol is enabled. |
321 const char kDisableQuicPacing[] = "disable-quic-pacing"; | 321 const char kDisableQuicPacing[] = "disable-quic-pacing"; |
322 | 322 |
323 // Disable use of Chromium's port selection for the ephemeral port via bind(). | 323 // Disable use of Chromium's port selection for the ephemeral port via bind(). |
324 // This only has an effect if QUIC protocol is enabled. | 324 // This only has an effect if QUIC protocol is enabled. |
325 const char kDisableQuicPortSelection[] = "disable-quic-port-selection"; | 325 const char kDisableQuicPortSelection[] = "disable-quic-port-selection"; |
326 | 326 |
327 // Prevents the save password bubble from being enabled. | 327 // Prevents the save password bubble from being enabled. |
328 const char kDisableSavePasswordBubble[] = "disable-save-password-bubble"; | 328 const char kDisableSavePasswordBubble[] = "disable-save-password-bubble"; |
329 | 329 |
| 330 // Prevents SDCH persistence from being used. |
| 331 const char kDisableSdchPersistence[] = "disable-sdch-persistence"; |
| 332 |
330 // Disables using bubbles for session restore request. | 333 // Disables using bubbles for session restore request. |
331 const char kDisableSessionCrashedBubble[] = "disable-session-crashed-bubble"; | 334 const char kDisableSessionCrashedBubble[] = "disable-session-crashed-bubble"; |
332 | 335 |
333 // Disables the suggestions service. | 336 // Disables the suggestions service. |
334 const char kDisableSuggestionsService[] = "disable-suggestions-service"; | 337 const char kDisableSuggestionsService[] = "disable-suggestions-service"; |
335 | 338 |
336 // Disables the supervised user host blacklist. | 339 // Disables the supervised user host blacklist. |
337 const char kDisableSupervisedUserBlacklist[] = | 340 const char kDisableSupervisedUserBlacklist[] = |
338 "disable-supervised-user-blacklist"; | 341 "disable-supervised-user-blacklist"; |
339 | 342 |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
530 // Enables context-sensitive reader mode button in the toolbar. | 533 // Enables context-sensitive reader mode button in the toolbar. |
531 const char kEnableReaderModeToolbarIcon[] = | 534 const char kEnableReaderModeToolbarIcon[] = |
532 "enable-reader-mode-toolbar-icon"; | 535 "enable-reader-mode-toolbar-icon"; |
533 | 536 |
534 // Enables save password prompt bubble. | 537 // Enables save password prompt bubble. |
535 const char kEnableSavePasswordBubble[] = "enable-save-password-bubble"; | 538 const char kEnableSavePasswordBubble[] = "enable-save-password-bubble"; |
536 | 539 |
537 // Enables SDCH for https schemes. | 540 // Enables SDCH for https schemes. |
538 const char kEnableSdchOverHttps[] = "enable-sdch-over-https"; | 541 const char kEnableSdchOverHttps[] = "enable-sdch-over-https"; |
539 | 542 |
| 543 // Enables SDCH persistence. |
| 544 const char kEnableSdchPersistence[] = "enable-sdch-persistence"; |
| 545 |
540 // Enables using bubbles for session restore request instead of infobars. | 546 // Enables using bubbles for session restore request instead of infobars. |
541 const char kEnableSessionCrashedBubble[] = "enable-session-crashed-bubble"; | 547 const char kEnableSessionCrashedBubble[] = "enable-session-crashed-bubble"; |
542 | 548 |
543 // Enable or disable settings in a separate browser window per profile | 549 // Enable or disable settings in a separate browser window per profile |
544 // (see SettingsWindowEnabled() below). | 550 // (see SettingsWindowEnabled() below). |
545 const char kEnableSettingsWindow[] = "enable-settings-window"; | 551 const char kEnableSettingsWindow[] = "enable-settings-window"; |
546 const char kDisableSettingsWindow[] = "disable-settings-window"; | 552 const char kDisableSettingsWindow[] = "disable-settings-window"; |
547 | 553 |
548 // Enable SPDY/4, aka HTTP/2. This is a temporary testing flag. | 554 // Enable SPDY/4, aka HTTP/2. This is a temporary testing flag. |
549 const char kEnableSpdy4[] = "enable-spdy4"; | 555 const char kEnableSpdy4[] = "enable-spdy4"; |
(...skipping 824 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1374 | 1380 |
1375 // ----------------------------------------------------------------------------- | 1381 // ----------------------------------------------------------------------------- |
1376 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1382 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1377 // | 1383 // |
1378 // You were going to just dump your switches here, weren't you? Instead, please | 1384 // You were going to just dump your switches here, weren't you? Instead, please |
1379 // put them in alphabetical order above, or in order inside the appropriate | 1385 // put them in alphabetical order above, or in order inside the appropriate |
1380 // ifdef at the bottom. The order should match the header. | 1386 // ifdef at the bottom. The order should match the header. |
1381 // ----------------------------------------------------------------------------- | 1387 // ----------------------------------------------------------------------------- |
1382 | 1388 |
1383 } // namespace switches | 1389 } // namespace switches |
OLD | NEW |