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 1317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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 GAIA web-based signin flow instead of the native UI signin flow. |
1336 const char kUseWebBasedSigninFlow[] = "use-web-based-signin-flow"; | 1336 const char kUseWebBasedSigninFlow[] = "use-web-based-signin-flow"; |
1337 | 1337 |
1338 // Enables desktop guest mode. | |
1339 const char kEnableDesktopGuestMode[] = "enable-desktop-guest-mode"; | |
Roger Tawa OOO till Jul 10th
2012/12/03 15:57:42
Match header file order.
jwd
2012/12/03 17:40:32
Done.
| |
1340 | |
1338 // Specifies a custom URL for the server which reports variation data to the | 1341 // Specifies a custom URL for the server which reports variation data to the |
1339 // client. See variations_service.cc. | 1342 // client. See variations_service.cc. |
1340 const char kVariationsServerURL[] = "variations-server-url"; | 1343 const char kVariationsServerURL[] = "variations-server-url"; |
1341 | 1344 |
1342 // Prints version information and quits. | 1345 // Prints version information and quits. |
1343 const char kVersion[] = "version"; | 1346 const char kVersion[] = "version"; |
1344 | 1347 |
1345 // Requests that Chrome connect to a remote viewer process using an IPC | 1348 // Requests that Chrome connect to a remote viewer process using an IPC |
1346 // channel of the given name. | 1349 // channel of the given name. |
1347 const char kViewerConnection[] = "viewer-connection"; | 1350 const char kViewerConnection[] = "viewer-connection"; |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1628 #elif defined(OS_WIN) | 1631 #elif defined(OS_WIN) |
1629 return CommandLine::ForCurrentProcess()->HasSwitch( | 1632 return CommandLine::ForCurrentProcess()->HasSwitch( |
1630 switches::kEnableChromeStyleDialogs); | 1633 switches::kEnableChromeStyleDialogs); |
1631 #else | 1634 #else |
1632 return CommandLine::ForCurrentProcess()->HasSwitch( | 1635 return CommandLine::ForCurrentProcess()->HasSwitch( |
1633 switches::kEnableChromeStyleDialogs); | 1636 switches::kEnableChromeStyleDialogs); |
1634 #endif | 1637 #endif |
1635 } | 1638 } |
1636 | 1639 |
1637 } // namespace chrome | 1640 } // namespace chrome |
OLD | NEW |