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 1318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1329 const char kWindowPosition[] = "window-position"; | 1329 const char kWindowPosition[] = "window-position"; |
1330 | 1330 |
1331 // Specify the initial window size: --window-size=w,h | 1331 // Specify the initial window size: --window-size=w,h |
1332 const char kWindowSize[] = "window-size"; | 1332 const char kWindowSize[] = "window-size"; |
1333 | 1333 |
1334 // Uses WinHTTP to fetch and evaluate PAC scripts. Otherwise the default is to | 1334 // Uses WinHTTP to fetch and evaluate PAC scripts. Otherwise the default is to |
1335 // use Chromium's network stack to fetch, and V8 to evaluate. | 1335 // use Chromium's network stack to fetch, and V8 to evaluate. |
1336 const char kWinHttpProxyResolver[] = "winhttp-proxy-resolver"; | 1336 const char kWinHttpProxyResolver[] = "winhttp-proxy-resolver"; |
1337 | 1337 |
1338 #if defined(OS_ANDROID) | 1338 #if defined(OS_ANDROID) |
1339 // When using gcov, the following flags let you specify the output directory | |
1340 // and format for the run-time data that is produced on the device. | |
1341 // | |
1342 // gcov-prefix: The prefix directory to add to gcov data output. | |
1343 // gcov-prefix-strip: The number of directory components to strip. | |
1344 // | |
1345 // For example, if you built your source in "/usr/local/chrome/src", then | |
1346 // gcov will want to create an output file like | |
1347 // /usr/local/chrome/src/out/Release/obj.target/base/base/foo.gcda | |
1348 // If you use: --gcov-prefix="/mnt/sdcard/gcov" --gcov-prefix-strip=4 | |
1349 // then gcov will create an output file like: | |
1350 // /mnt/sdcard/gcov/out/Release/obj.target/base/base/foo.gcda | |
1351 const char kGcovPrefix[] = "gcov-prefix"; | |
1352 const char kGcovPrefixStrip[] = "gcov-prefix-strip"; | |
Nico
2012/07/25 22:17:43
ditto
| |
1353 | |
1339 // Use the tablet specific UI components when available. | 1354 // Use the tablet specific UI components when available. |
1340 const char kTabletUI[] = "tablet-ui"; | 1355 const char kTabletUI[] = "tablet-ui"; |
1341 #endif | 1356 #endif |
1342 | 1357 |
1343 #if defined(OS_CHROMEOS) | 1358 #if defined(OS_CHROMEOS) |
1344 // Disables gdata content provider. | 1359 // Disables gdata content provider. |
1345 const char kDisableGData[] = "disable-gdata"; | 1360 const char kDisableGData[] = "disable-gdata"; |
1346 | 1361 |
1347 // Disables new OOBE/sign in design. | 1362 // Disables new OOBE/sign in design. |
1348 extern const char kDisableNewOobe[] = "disable-new-oobe"; | 1363 extern const char kDisableNewOobe[] = "disable-new-oobe"; |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1518 | 1533 |
1519 // ----------------------------------------------------------------------------- | 1534 // ----------------------------------------------------------------------------- |
1520 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1535 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1521 // | 1536 // |
1522 // You were going to just dump your switches here, weren't you? Instead, please | 1537 // You were going to just dump your switches here, weren't you? Instead, please |
1523 // put them in alphabetical order above, or in order inside the appropriate | 1538 // put them in alphabetical order above, or in order inside the appropriate |
1524 // ifdef at the bottom. The order should match the header. | 1539 // ifdef at the bottom. The order should match the header. |
1525 // ----------------------------------------------------------------------------- | 1540 // ----------------------------------------------------------------------------- |
1526 | 1541 |
1527 } // namespace switches | 1542 } // namespace switches |
OLD | NEW |