OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 | 8 |
9 namespace switches { | 9 namespace switches { |
10 | 10 |
(...skipping 777 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
788 // Use the frame layout used in chromeos. | 788 // Use the frame layout used in chromeos. |
789 const char kChromeosFrame[] = "chromeos-frame"; | 789 const char kChromeosFrame[] = "chromeos-frame"; |
790 #endif | 790 #endif |
791 | 791 |
792 #if defined(OS_WIN) | 792 #if defined(OS_WIN) |
793 // Use NSS instead of the system SSL library for SSL. | 793 // Use NSS instead of the system SSL library for SSL. |
794 // This is a temporary testing flag. | 794 // This is a temporary testing flag. |
795 const char kUseNSSForSSL[] = "use-nss-for-ssl"; | 795 const char kUseNSSForSSL[] = "use-nss-for-ssl"; |
796 #endif | 796 #endif |
797 | 797 |
798 #if defined(OS_LINUX) | |
799 // A temporary switch before we implement the client certificate selection UI. | |
800 // When an SSL server requests client authentication, select a client | |
801 // certificate automatically. | |
802 // WARNING: This switch has privacy issues because it reveals the user's | |
803 // identity to any server that requests a client certificate without the | |
804 // user's consent. | |
805 const char kAutoSSLClientAuth[] = "auto-ssl-client-auth"; | |
806 #endif | |
807 | |
808 #if defined(OS_POSIX) | 798 #if defined(OS_POSIX) |
809 // Bypass the error dialog when the profile lock couldn't be attained. | 799 // Bypass the error dialog when the profile lock couldn't be attained. |
810 // A flag, generated internally by Chrome for renderer and other helper process | 800 // A flag, generated internally by Chrome for renderer and other helper process |
811 // command lines on Linux and Mac. It tells the helper process to enable crash | 801 // command lines on Linux and Mac. It tells the helper process to enable crash |
812 // dumping and reporting, because helpers cannot access the profile or other | 802 // dumping and reporting, because helpers cannot access the profile or other |
813 // files needed to make this decision. | 803 // files needed to make this decision. |
814 // If passed to the browser, it'll be passed on to all the helper processes | 804 // If passed to the browser, it'll be passed on to all the helper processes |
815 // as well, thereby force-enabling the crash reporter. | 805 // as well, thereby force-enabling the crash reporter. |
816 const char kEnableCrashReporter[] = "enable-crash-reporter"; | 806 const char kEnableCrashReporter[] = "enable-crash-reporter"; |
817 | 807 |
(...skipping 21 matching lines...) Expand all Loading... |
839 | 829 |
840 // ----------------------------------------------------------------------------- | 830 // ----------------------------------------------------------------------------- |
841 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 831 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
842 // | 832 // |
843 // You were going to just dump your switches here, weren't you? Instead, | 833 // You were going to just dump your switches here, weren't you? Instead, |
844 // please put them in alphabetical order above, or in order inside the | 834 // please put them in alphabetical order above, or in order inside the |
845 // appropriate ifdef at the bottom. The order should match the header. | 835 // appropriate ifdef at the bottom. The order should match the header. |
846 // ----------------------------------------------------------------------------- | 836 // ----------------------------------------------------------------------------- |
847 | 837 |
848 } // namespace switches | 838 } // namespace switches |
OLD | NEW |