OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 998 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1009 // Set the maximum SPDY sessions per domain. | 1009 // Set the maximum SPDY sessions per domain. |
1010 const char kMaxSpdySessionsPerDomain[] = "max-spdy-sessions-per-domain"; | 1010 const char kMaxSpdySessionsPerDomain[] = "max-spdy-sessions-per-domain"; |
1011 | 1011 |
1012 // Set the maximum concurrent streams over a SPDY session. | 1012 // Set the maximum concurrent streams over a SPDY session. |
1013 const char kMaxSpdyConcurrentStreams[] = "max-spdy-concurrent-streams"; | 1013 const char kMaxSpdyConcurrentStreams[] = "max-spdy-concurrent-streams"; |
1014 | 1014 |
1015 // Specifies the user data directory, which is where the browser will look | 1015 // Specifies the user data directory, which is where the browser will look |
1016 // for all of its state. | 1016 // for all of its state. |
1017 const char kUserDataDir[] = "user-data-dir"; | 1017 const char kUserDataDir[] = "user-data-dir"; |
1018 | 1018 |
1019 // directory to locate user scripts in as an over-ride of the default | |
1020 const char kUserScriptsDir[] = "user-scripts-dir"; | |
1021 | |
1022 // Print version information and quit. | 1019 // Print version information and quit. |
1023 const char kVersion[] = "version"; | 1020 const char kVersion[] = "version"; |
1024 | 1021 |
1025 // Use WinHTTP to fetch and evaluate PAC scripts. Otherwise the default is | 1022 // Use WinHTTP to fetch and evaluate PAC scripts. Otherwise the default is |
1026 // to use Chromium's network stack to fetch, and V8 to evaluate. | 1023 // to use Chromium's network stack to fetch, and V8 to evaluate. |
1027 const char kWinHttpProxyResolver[] = "winhttp-proxy-resolver"; | 1024 const char kWinHttpProxyResolver[] = "winhttp-proxy-resolver"; |
1028 | 1025 |
1029 #if defined(OS_CHROMEOS) | 1026 #if defined(OS_CHROMEOS) |
1030 // Enable WebUI based login screens. | 1027 // Enable WebUI based login screens. |
1031 const char kWebUILogin[] = "webui-login"; | 1028 const char kWebUILogin[] = "webui-login"; |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1239 | 1236 |
1240 // ----------------------------------------------------------------------------- | 1237 // ----------------------------------------------------------------------------- |
1241 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1238 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1242 // | 1239 // |
1243 // You were going to just dump your switches here, weren't you? Instead, | 1240 // You were going to just dump your switches here, weren't you? Instead, |
1244 // please put them in alphabetical order above, or in order inside the | 1241 // please put them in alphabetical order above, or in order inside the |
1245 // appropriate ifdef at the bottom. The order should match the header. | 1242 // appropriate ifdef at the bottom. The order should match the header. |
1246 // ----------------------------------------------------------------------------- | 1243 // ----------------------------------------------------------------------------- |
1247 | 1244 |
1248 } // namespace switches | 1245 } // namespace switches |
OLD | NEW |