| 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 1328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1339 // Sets the maximum SPDY sessions per domain. | 1339 // Sets the maximum SPDY sessions per domain. |
| 1340 const char kMaxSpdySessionsPerDomain[] = "max-spdy-sessions-per-domain"; | 1340 const char kMaxSpdySessionsPerDomain[] = "max-spdy-sessions-per-domain"; |
| 1341 | 1341 |
| 1342 // Sets the maximum concurrent streams over a SPDY session. | 1342 // Sets the maximum concurrent streams over a SPDY session. |
| 1343 const char kMaxSpdyConcurrentStreams[] = "max-spdy-concurrent-streams"; | 1343 const char kMaxSpdyConcurrentStreams[] = "max-spdy-concurrent-streams"; |
| 1344 | 1344 |
| 1345 // Specifies the user data directory, which is where the browser will look for | 1345 // Specifies the user data directory, which is where the browser will look for |
| 1346 // all of its state. | 1346 // all of its state. |
| 1347 const char kUserDataDir[] = "user-data-dir"; | 1347 const char kUserDataDir[] = "user-data-dir"; |
| 1348 | 1348 |
| 1349 // Uses the GAIA web-based signin flow instead of the native UI signin flow. | 1349 // Uses the /ClientLogin signin flow instead of the web-based signin flow. |
| 1350 const char kUseWebBasedSigninFlow[] = "use-web-based-signin-flow"; | 1350 const char kUseClientLoginSigninFlow[] = "use-client-login-signin-flow"; |
| 1351 | 1351 |
| 1352 // Specifies a custom URL for the server which reports variation data to the | 1352 // Specifies a custom URL for the server which reports variation data to the |
| 1353 // client. See variations_service.cc. | 1353 // client. See variations_service.cc. |
| 1354 const char kVariationsServerURL[] = "variations-server-url"; | 1354 const char kVariationsServerURL[] = "variations-server-url"; |
| 1355 | 1355 |
| 1356 // Prints version information and quits. | 1356 // Prints version information and quits. |
| 1357 const char kVersion[] = "version"; | 1357 const char kVersion[] = "version"; |
| 1358 | 1358 |
| 1359 // Requests that Chrome connect to a remote viewer process using an IPC | 1359 // Requests that Chrome connect to a remote viewer process using an IPC |
| 1360 // channel of the given name. | 1360 // channel of the given name. |
| (...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1637 #elif defined(OS_WIN) | 1637 #elif defined(OS_WIN) |
| 1638 return CommandLine::ForCurrentProcess()->HasSwitch( | 1638 return CommandLine::ForCurrentProcess()->HasSwitch( |
| 1639 switches::kEnableChromeStyleDialogs); | 1639 switches::kEnableChromeStyleDialogs); |
| 1640 #else | 1640 #else |
| 1641 return CommandLine::ForCurrentProcess()->HasSwitch( | 1641 return CommandLine::ForCurrentProcess()->HasSwitch( |
| 1642 switches::kEnableChromeStyleDialogs); | 1642 switches::kEnableChromeStyleDialogs); |
| 1643 #endif | 1643 #endif |
| 1644 } | 1644 } |
| 1645 | 1645 |
| 1646 } // namespace chrome | 1646 } // namespace chrome |
| OLD | NEW |