| 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 1314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1325 // Sets the maximum SPDY sessions per domain. | 1325 // Sets the maximum SPDY sessions per domain. |
| 1326 const char kMaxSpdySessionsPerDomain[] = "max-spdy-sessions-per-domain"; | 1326 const char kMaxSpdySessionsPerDomain[] = "max-spdy-sessions-per-domain"; |
| 1327 | 1327 |
| 1328 // Sets the maximum concurrent streams over a SPDY session. | 1328 // Sets the maximum concurrent streams over a SPDY session. |
| 1329 const char kMaxSpdyConcurrentStreams[] = "max-spdy-concurrent-streams"; | 1329 const char kMaxSpdyConcurrentStreams[] = "max-spdy-concurrent-streams"; |
| 1330 | 1330 |
| 1331 // Specifies the user data directory, which is where the browser will look for | 1331 // Specifies the user data directory, which is where the browser will look for |
| 1332 // all of its state. | 1332 // all of its state. |
| 1333 const char kUserDataDir[] = "user-data-dir"; | 1333 const char kUserDataDir[] = "user-data-dir"; |
| 1334 | 1334 |
| 1335 // Uses the GAIA web-based signin flow instead of the native UI signin flow. | 1335 // Uses the /ClientLogin signin flow instead of the web-based signin flow. |
| 1336 const char kUseWebBasedSigninFlow[] = "use-web-based-signin-flow"; | 1336 const char kUseClientLoginSigninFlow[] = "use-client-login-signin-flow"; |
| 1337 | 1337 |
| 1338 // Specifies a custom URL for the server which reports variation data to the | 1338 // Specifies a custom URL for the server which reports variation data to the |
| 1339 // client. See variations_service.cc. | 1339 // client. See variations_service.cc. |
| 1340 const char kVariationsServerURL[] = "variations-server-url"; | 1340 const char kVariationsServerURL[] = "variations-server-url"; |
| 1341 | 1341 |
| 1342 // Prints version information and quits. | 1342 // Prints version information and quits. |
| 1343 const char kVersion[] = "version"; | 1343 const char kVersion[] = "version"; |
| 1344 | 1344 |
| 1345 // Requests that Chrome connect to a remote viewer process using an IPC | 1345 // Requests that Chrome connect to a remote viewer process using an IPC |
| 1346 // channel of the given name. | 1346 // channel of the given name. |
| (...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1628 #elif defined(OS_WIN) | 1628 #elif defined(OS_WIN) |
| 1629 return CommandLine::ForCurrentProcess()->HasSwitch( | 1629 return CommandLine::ForCurrentProcess()->HasSwitch( |
| 1630 switches::kEnableChromeStyleDialogs); | 1630 switches::kEnableChromeStyleDialogs); |
| 1631 #else | 1631 #else |
| 1632 return CommandLine::ForCurrentProcess()->HasSwitch( | 1632 return CommandLine::ForCurrentProcess()->HasSwitch( |
| 1633 switches::kEnableChromeStyleDialogs); | 1633 switches::kEnableChromeStyleDialogs); |
| 1634 #endif | 1634 #endif |
| 1635 } | 1635 } |
| 1636 | 1636 |
| 1637 } // namespace chrome | 1637 } // namespace chrome |
| OLD | NEW |