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 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 | 9 |
10 namespace switches { | 10 namespace switches { |
(...skipping 1028 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1039 const char kScrollPixels[] = "scroll-pixels"; | 1039 const char kScrollPixels[] = "scroll-pixels"; |
1040 #endif | 1040 #endif |
1041 | 1041 |
1042 #if defined(OS_MACOSX) || defined(OS_WIN) | 1042 #if defined(OS_MACOSX) || defined(OS_WIN) |
1043 // Use the system SSL library (Secure Transport on Mac, SChannel on Windows) | 1043 // Use the system SSL library (Secure Transport on Mac, SChannel on Windows) |
1044 // instead of NSS for SSL. | 1044 // instead of NSS for SSL. |
1045 const char kUseSystemSSL[] = "use-system-ssl"; | 1045 const char kUseSystemSSL[] = "use-system-ssl"; |
1046 #endif | 1046 #endif |
1047 | 1047 |
1048 #if defined(OS_POSIX) | 1048 #if defined(OS_POSIX) |
1049 // Bypass the error dialog when the profile lock couldn't be attained. | |
1050 // A flag, generated internally by Chrome for renderer and other helper process | 1049 // A flag, generated internally by Chrome for renderer and other helper process |
1051 // command lines on Linux and Mac. It tells the helper process to enable crash | 1050 // command lines on Linux and Mac. It tells the helper process to enable crash |
1052 // dumping and reporting, because helpers cannot access the profile or other | 1051 // dumping and reporting, because helpers cannot access the profile or other |
1053 // files needed to make this decision. | 1052 // files needed to make this decision. |
1054 // If passed to the browser, it'll be passed on to all the helper processes | 1053 // If passed to the browser, it'll be passed on to all the helper processes |
1055 // as well, thereby force-enabling the crash reporter. | 1054 // as well, thereby force-enabling the crash reporter. |
1056 const char kEnableCrashReporter[] = "enable-crash-reporter"; | 1055 const char kEnableCrashReporter[] = "enable-crash-reporter"; |
1057 | 1056 |
| 1057 // Bypass the error dialog when the profile lock couldn't be attained. |
1058 // This switch is used during automated testing. | 1058 // This switch is used during automated testing. |
1059 const char kNoProcessSingletonDialog[] = "no-process-singleton-dialog"; | 1059 const char kNoProcessSingletonDialog[] = "no-process-singleton-dialog"; |
1060 | 1060 |
1061 #if !defined(OS_MACOSX) | 1061 #if !defined(OS_MACOSX) |
1062 // Specifies which password store to use (detect, default, gnome, kwallet). | 1062 // Specifies which password store to use (detect, default, gnome, kwallet). |
1063 const char kPasswordStore[] = "password-store"; | 1063 const char kPasswordStore[] = "password-store"; |
1064 #endif | 1064 #endif |
1065 #endif | 1065 #endif |
1066 | 1066 |
1067 #if defined(OS_MACOSX) | 1067 #if defined(OS_MACOSX) |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1121 | 1121 |
1122 // ----------------------------------------------------------------------------- | 1122 // ----------------------------------------------------------------------------- |
1123 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1123 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1124 // | 1124 // |
1125 // You were going to just dump your switches here, weren't you? Instead, | 1125 // You were going to just dump your switches here, weren't you? Instead, |
1126 // please put them in alphabetical order above, or in order inside the | 1126 // please put them in alphabetical order above, or in order inside the |
1127 // appropriate ifdef at the bottom. The order should match the header. | 1127 // appropriate ifdef at the bottom. The order should match the header. |
1128 // ----------------------------------------------------------------------------- | 1128 // ----------------------------------------------------------------------------- |
1129 | 1129 |
1130 } // namespace switches | 1130 } // namespace switches |
OLD | NEW |