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 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
390 | 390 |
391 // Disables omnibox auto-completion when IME is active. | 391 // Disables omnibox auto-completion when IME is active. |
392 const char kDisableOmniboxAutoCompletionForIme[] = | 392 const char kDisableOmniboxAutoCompletionForIme[] = |
393 "disable-omnibox-auto-completion-for-ime"; | 393 "disable-omnibox-auto-completion-for-ime"; |
394 | 394 |
395 // Disable using a public suffix based domain matching for autofill of | 395 // Disable using a public suffix based domain matching for autofill of |
396 // passwords. | 396 // passwords. |
397 const char kDisablePasswordAutofillPublicSuffixDomainMatching[] = | 397 const char kDisablePasswordAutofillPublicSuffixDomainMatching[] = |
398 "disable-password-autofill-public-suffix-domain-matching"; | 398 "disable-password-autofill-public-suffix-domain-matching"; |
399 | 399 |
| 400 // Disable the setting to prompt the user for their OS account password before |
| 401 // revealing plaintext passwords in the password manager. |
| 402 const char kDisablePasswordManagerReauthentication[] = |
| 403 "disable-password-manager-reauthentication"; |
| 404 |
400 // Disable pop-up blocking. | 405 // Disable pop-up blocking. |
401 const char kDisablePopupBlocking[] = "disable-popup-blocking"; | 406 const char kDisablePopupBlocking[] = "disable-popup-blocking"; |
402 | 407 |
403 // Disable speculative TCP/IP preconnection. | 408 // Disable speculative TCP/IP preconnection. |
404 const char kDisablePreconnect[] = "disable-preconnect"; | 409 const char kDisablePreconnect[] = "disable-preconnect"; |
405 | 410 |
406 // Disable prerendering based on local browsing history. | 411 // Disable prerendering based on local browsing history. |
407 const char kDisablePrerenderLocalPredictor[] = | 412 const char kDisablePrerenderLocalPredictor[] = |
408 "disable-prerender-local-predictor"; | 413 "disable-prerender-local-predictor"; |
409 | 414 |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
549 | 554 |
550 // Enables the inclusion of non-standard ports when generating the Kerberos SPN | 555 // Enables the inclusion of non-standard ports when generating the Kerberos SPN |
551 // in response to a Negotiate challenge. See | 556 // in response to a Negotiate challenge. See |
552 // HttpAuthHandlerNegotiate::CreateSPN for more background. | 557 // HttpAuthHandlerNegotiate::CreateSPN for more background. |
553 const char kEnableAuthNegotiatePort[] = "enable-auth-negotiate-port"; | 558 const char kEnableAuthNegotiatePort[] = "enable-auth-negotiate-port"; |
554 | 559 |
555 // Enable using a public suffix based domain matching for autofill of passwords. | 560 // Enable using a public suffix based domain matching for autofill of passwords. |
556 const char kEnablePasswordAutofillPublicSuffixDomainMatching[] = | 561 const char kEnablePasswordAutofillPublicSuffixDomainMatching[] = |
557 "enable-password-autofill-public-suffix-domain-matching"; | 562 "enable-password-autofill-public-suffix-domain-matching"; |
558 | 563 |
| 564 // Enable the setting to prompt the user for their OS account password before |
| 565 // revealing plaintext passwords in the password manager. |
| 566 const char kEnablePasswordManagerReauthentication[] = |
| 567 "enable-password-manager-reauthentication"; |
| 568 |
559 // Enables the pre- and auto-login features. When a user signs in to sync, the | 569 // Enables the pre- and auto-login features. When a user signs in to sync, the |
560 // browser's cookie jar is pre-filled with GAIA cookies. When the user visits a | 570 // browser's cookie jar is pre-filled with GAIA cookies. When the user visits a |
561 // GAIA login page, an info bar can help the user login. | 571 // GAIA login page, an info bar can help the user login. |
562 const char kEnableAutologin[] = "enable-autologin"; | 572 const char kEnableAutologin[] = "enable-autologin"; |
563 | 573 |
564 // Enables the benchmarking extensions. | 574 // Enables the benchmarking extensions. |
565 const char kEnableBenchmarking[] = "enable-benchmarking"; | 575 const char kEnableBenchmarking[] = "enable-benchmarking"; |
566 | 576 |
567 // Enables client hints, which adds hints about browser state to HTTP requests. | 577 // Enables client hints, which adds hints about browser state to HTTP requests. |
568 const char kEnableClientHints[] = "enable-client-hints"; | 578 const char kEnableClientHints[] = "enable-client-hints"; |
(...skipping 1085 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1654 | 1664 |
1655 // ----------------------------------------------------------------------------- | 1665 // ----------------------------------------------------------------------------- |
1656 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1666 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1657 // | 1667 // |
1658 // You were going to just dump your switches here, weren't you? Instead, please | 1668 // You were going to just dump your switches here, weren't you? Instead, please |
1659 // put them in alphabetical order above, or in order inside the appropriate | 1669 // put them in alphabetical order above, or in order inside the appropriate |
1660 // ifdef at the bottom. The order should match the header. | 1670 // ifdef at the bottom. The order should match the header. |
1661 // ----------------------------------------------------------------------------- | 1671 // ----------------------------------------------------------------------------- |
1662 | 1672 |
1663 } // namespace switches | 1673 } // namespace switches |
OLD | NEW |