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 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
321 // disable that check. This switch is used during automated testing. | 321 // disable that check. This switch is used during automated testing. |
322 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost"; | 322 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost"; |
323 | 323 |
324 // Disables support for the QUIC protocol. | 324 // Disables support for the QUIC protocol. |
325 const char kDisableQuic[] = "disable-quic"; | 325 const char kDisableQuic[] = "disable-quic"; |
326 | 326 |
327 // Disable use of Chromium's port selection for the ephemeral port via bind(). | 327 // Disable use of Chromium's port selection for the ephemeral port via bind(). |
328 // This only has an effect if QUIC protocol is enabled. | 328 // This only has an effect if QUIC protocol is enabled. |
329 const char kDisableQuicPortSelection[] = "disable-quic-port-selection"; | 329 const char kDisableQuicPortSelection[] = "disable-quic-port-selection"; |
330 | 330 |
331 // Prevents the save password bubble from being enabled. | |
332 const char kDisableSavePasswordBubble[] = "disable-save-password-bubble"; | |
333 | |
334 // Prevents SDCH persistence from being used. | 331 // Prevents SDCH persistence from being used. |
335 const char kDisableSdchPersistence[] = "disable-sdch-persistence"; | 332 const char kDisableSdchPersistence[] = "disable-sdch-persistence"; |
336 | 333 |
337 // Disables using bubbles for session restore request. | 334 // Disables using bubbles for session restore request. |
338 const char kDisableSessionCrashedBubble[] = "disable-session-crashed-bubble"; | 335 const char kDisableSessionCrashedBubble[] = "disable-session-crashed-bubble"; |
339 | 336 |
340 // Disables the Site Engagement service, which records interaction with sites | 337 // Disables the Site Engagement service, which records interaction with sites |
341 // and allocates certain resources accordingly. | 338 // and allocates certain resources accordingly. |
342 const char kDisableSiteEngagementService[] = "disable-site-engagement-service"; | 339 const char kDisableSiteEngagementService[] = "disable-site-engagement-service"; |
343 | 340 |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
512 const char kEnablePushApiBackgroundMode[] = "enable-push-api-background-mode"; | 509 const char kEnablePushApiBackgroundMode[] = "enable-push-api-background-mode"; |
513 const char kDisablePushApiBackgroundMode[] = "disable-push-api-background-mode"; | 510 const char kDisablePushApiBackgroundMode[] = "disable-push-api-background-mode"; |
514 | 511 |
515 // Enables support for the QUIC protocol. This is a temporary testing flag. | 512 // Enables support for the QUIC protocol. This is a temporary testing flag. |
516 const char kEnableQuic[] = "enable-quic"; | 513 const char kEnableQuic[] = "enable-quic"; |
517 | 514 |
518 // Enable use of Chromium's port selection for the ephemeral port via bind(). | 515 // Enable use of Chromium's port selection for the ephemeral port via bind(). |
519 // This only has an effect if QUIC protocol is enabled. | 516 // This only has an effect if QUIC protocol is enabled. |
520 const char kEnableQuicPortSelection[] = "enable-quic-port-selection"; | 517 const char kEnableQuicPortSelection[] = "enable-quic-port-selection"; |
521 | 518 |
522 // Enables save password prompt bubble. | |
523 const char kEnableSavePasswordBubble[] = "enable-save-password-bubble"; | |
524 | |
525 // Enables SDCH persistence. | 519 // Enables SDCH persistence. |
526 const char kEnableSdchPersistence[] = "enable-sdch-persistence"; | 520 const char kEnableSdchPersistence[] = "enable-sdch-persistence"; |
527 | 521 |
528 // Enables using bubbles for session restore request instead of infobars. | 522 // Enables using bubbles for session restore request instead of infobars. |
529 const char kEnableSessionCrashedBubble[] = "enable-session-crashed-bubble"; | 523 const char kEnableSessionCrashedBubble[] = "enable-session-crashed-bubble"; |
530 | 524 |
531 // Enable or disable settings in a separate browser window per profile | 525 // Enable or disable settings in a separate browser window per profile |
532 // (see SettingsWindowEnabled() below). | 526 // (see SettingsWindowEnabled() below). |
533 const char kEnableSettingsWindow[] = "enable-settings-window"; | 527 const char kEnableSettingsWindow[] = "enable-settings-window"; |
534 const char kDisableSettingsWindow[] = "disable-settings-window"; | 528 const char kDisableSettingsWindow[] = "disable-settings-window"; |
(...skipping 628 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1163 "enable-reader-mode-toolbar-icon"; | 1157 "enable-reader-mode-toolbar-icon"; |
1164 | 1158 |
1165 // Specifies Android phone page loading progress bar animation. | 1159 // Specifies Android phone page loading progress bar animation. |
1166 const char kProgressBarAnimation[] = "progress-bar-animation"; | 1160 const char kProgressBarAnimation[] = "progress-bar-animation"; |
1167 #endif // defined(OS_ANDROID) | 1161 #endif // defined(OS_ANDROID) |
1168 | 1162 |
1169 #if defined(USE_ASH) | 1163 #if defined(USE_ASH) |
1170 const char kOpenAsh[] = "open-ash"; | 1164 const char kOpenAsh[] = "open-ash"; |
1171 #endif | 1165 #endif |
1172 | 1166 |
1167 #if !defined(USE_AURA) | |
1168 // Prevents the save password bubble from being enabled. | |
1169 const char kDisableSavePasswordBubble[] = "disable-save-password-bubble"; | |
1170 | |
1171 // Enables save password prompt bubble. | |
1172 const char kEnableSavePasswordBubble[] = "enable-save-password-bubble"; | |
Peter Kasting
2015/09/09 20:27:01
Nit: Remove extra spaces
ki.stfu
2015/09/10 18:21:00
Done.
| |
1173 #endif | |
1174 | |
1173 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_CHROMEOS) | 1175 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_CHROMEOS) |
1174 // These flags show the man page on Linux. They are equivalent to each | 1176 // These flags show the man page on Linux. They are equivalent to each |
1175 // other. | 1177 // other. |
1176 const char kHelp[] = "help"; | 1178 const char kHelp[] = "help"; |
1177 const char kHelpShort[] = "h"; | 1179 const char kHelpShort[] = "h"; |
1178 | 1180 |
1179 // Specifies which password store to use (detect, default, gnome, kwallet). | 1181 // Specifies which password store to use (detect, default, gnome, kwallet). |
1180 const char kPasswordStore[] = "password-store"; | 1182 const char kPasswordStore[] = "password-store"; |
1181 #endif | 1183 #endif |
1182 | 1184 |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1370 | 1372 |
1371 // ----------------------------------------------------------------------------- | 1373 // ----------------------------------------------------------------------------- |
1372 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1374 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1373 // | 1375 // |
1374 // You were going to just dump your switches here, weren't you? Instead, please | 1376 // You were going to just dump your switches here, weren't you? Instead, please |
1375 // put them in alphabetical order above, or in order inside the appropriate | 1377 // put them in alphabetical order above, or in order inside the appropriate |
1376 // ifdef at the bottom. The order should match the header. | 1378 // ifdef at the bottom. The order should match the header. |
1377 // ----------------------------------------------------------------------------- | 1379 // ----------------------------------------------------------------------------- |
1378 | 1380 |
1379 } // namespace switches | 1381 } // namespace switches |
OLD | NEW |