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 #include "build/build_config.h" | 9 #include "build/build_config.h" |
10 | 10 |
(...skipping 1039 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1050 | 1050 |
1051 // Enables using an in-process Mojo service for the v8 proxy resolver. | 1051 // Enables using an in-process Mojo service for the v8 proxy resolver. |
1052 const char kV8PacMojoInProcess[] = "v8-pac-mojo-in-process"; | 1052 const char kV8PacMojoInProcess[] = "v8-pac-mojo-in-process"; |
1053 | 1053 |
1054 // Enables using an out-of-process Mojo service for the v8 proxy resolver. | 1054 // Enables using an out-of-process Mojo service for the v8 proxy resolver. |
1055 const char kV8PacMojoOutOfProcess[] = "v8-pac-mojo-out-of-process"; | 1055 const char kV8PacMojoOutOfProcess[] = "v8-pac-mojo-out-of-process"; |
1056 | 1056 |
1057 // Prints version information and quits. | 1057 // Prints version information and quits. |
1058 const char kVersion[] = "version"; | 1058 const char kVersion[] = "version"; |
1059 | 1059 |
1060 // Custom WebAPK server URL for the sake of testing. | |
1061 const char kWebApkServerUrl[] = "webapk-server-url"; | |
Xi Han
2016/07/14 14:53:17
Move it to the block with "#if defined(OS_ANDROID)
| |
1062 | |
1060 // Specify the initial window position: --window-position=x,y | 1063 // Specify the initial window position: --window-position=x,y |
1061 const char kWindowPosition[] = "window-position"; | 1064 const char kWindowPosition[] = "window-position"; |
1062 | 1065 |
1063 // Specify the initial window size: --window-size=w,h | 1066 // Specify the initial window size: --window-size=w,h |
1064 const char kWindowSize[] = "window-size"; | 1067 const char kWindowSize[] = "window-size"; |
1065 | 1068 |
1066 // Specify the initial window workspace: --window-workspace=id | 1069 // Specify the initial window workspace: --window-workspace=id |
1067 const char kWindowWorkspace[] = "window-workspace"; | 1070 const char kWindowWorkspace[] = "window-workspace"; |
1068 | 1071 |
1069 // Uses WinHTTP to fetch and evaluate PAC scripts. Otherwise the default is to | 1072 // Uses WinHTTP to fetch and evaluate PAC scripts. Otherwise the default is to |
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1342 | 1345 |
1343 // ----------------------------------------------------------------------------- | 1346 // ----------------------------------------------------------------------------- |
1344 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1347 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1345 // | 1348 // |
1346 // You were going to just dump your switches here, weren't you? Instead, please | 1349 // You were going to just dump your switches here, weren't you? Instead, please |
1347 // put them in alphabetical order above, or in order inside the appropriate | 1350 // put them in alphabetical order above, or in order inside the appropriate |
1348 // ifdef at the bottom. The order should match the header. | 1351 // ifdef at the bottom. The order should match the header. |
1349 // ----------------------------------------------------------------------------- | 1352 // ----------------------------------------------------------------------------- |
1350 | 1353 |
1351 } // namespace switches | 1354 } // namespace switches |
OLD | NEW |