Chromium Code Reviews| 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 116 const char kAuthSchemes[] = "auth-schemes"; | 116 const char kAuthSchemes[] = "auth-schemes"; |
| 117 | 117 |
| 118 // Whitelist of servers which NTLM and Negotiate can automatically authenticate | 118 // Whitelist of servers which NTLM and Negotiate can automatically authenticate |
| 119 // with using the default credentials of the currently logged in user. | 119 // with using the default credentials of the currently logged in user. |
| 120 const char kAuthServerWhitelist[] = "auth-server-whitelist"; | 120 const char kAuthServerWhitelist[] = "auth-server-whitelist"; |
| 121 | 121 |
| 122 // A flag that is used to tell Chrome that it was launched automatically at | 122 // A flag that is used to tell Chrome that it was launched automatically at |
| 123 // computer startup and not by some user action. | 123 // computer startup and not by some user action. |
| 124 const char kAutoLaunchAtStartup[] = "auto-launch-at-startup"; | 124 const char kAutoLaunchAtStartup[] = "auto-launch-at-startup"; |
| 125 | 125 |
| 126 // Flag used to tell Chrome the base url of the autofill service. | |
|
Ilya Sherman
2012/10/23 23:45:13
nit: "autofill" -> "Autofill"
ahutter
2012/10/24 17:33:45
Done.
| |
| 127 const char kAutofillServiceUrl[] = "autofill-service-url"; | |
| 128 | |
| 126 // The value of this switch tells the app to listen for and broadcast | 129 // The value of this switch tells the app to listen for and broadcast |
| 127 // automation-related messages on IPC channel with the given ID. | 130 // automation-related messages on IPC channel with the given ID. |
| 128 const char kAutomationClientChannelID[] = "automation-channel"; | 131 const char kAutomationClientChannelID[] = "automation-channel"; |
| 129 | 132 |
| 130 // Causes the automation provider to reinitialize its IPC channel instead of | 133 // Causes the automation provider to reinitialize its IPC channel instead of |
| 131 // shutting down when a client disconnects. | 134 // shutting down when a client disconnects. |
| 132 const char kAutomationReinitializeOnChannelError[] = | 135 const char kAutomationReinitializeOnChannelError[] = |
| 133 "automation-reinitialize-on-channel-error"; | 136 "automation-reinitialize-on-channel-error"; |
| 134 | 137 |
| 135 // How often (in seconds) to check for updates. Should only be used for testing | 138 // How often (in seconds) to check for updates. Should only be used for testing |
| (...skipping 1458 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1594 return true; | 1597 return true; |
| 1595 #elif defined(OS_WIN) | 1598 #elif defined(OS_WIN) |
| 1596 return true; | 1599 return true; |
| 1597 #else | 1600 #else |
| 1598 return CommandLine::ForCurrentProcess()->HasSwitch( | 1601 return CommandLine::ForCurrentProcess()->HasSwitch( |
| 1599 switches::kEnableFramelessConstrainedDialogs); | 1602 switches::kEnableFramelessConstrainedDialogs); |
| 1600 #endif | 1603 #endif |
| 1601 } | 1604 } |
| 1602 | 1605 |
| 1603 } // namespace chrome | 1606 } // namespace chrome |
| OLD | NEW |