| 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. |
| 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 1437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1573 return true; | 1576 return true; |
| 1574 #elif defined(OS_WIN) | 1577 #elif defined(OS_WIN) |
| 1575 return true; | 1578 return true; |
| 1576 #else | 1579 #else |
| 1577 return CommandLine::ForCurrentProcess()->HasSwitch( | 1580 return CommandLine::ForCurrentProcess()->HasSwitch( |
| 1578 switches::kEnableFramelessConstrainedDialogs); | 1581 switches::kEnableFramelessConstrainedDialogs); |
| 1579 #endif | 1582 #endif |
| 1580 } | 1583 } |
| 1581 | 1584 |
| 1582 } // namespace chrome | 1585 } // namespace chrome |
| OLD | NEW |