| 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 632 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 643 // The list is of the following form: <id>[:<name>],[<id>[:<name>],...] | 643 // The list is of the following form: <id>[:<name>],[<id>[:<name>],...] |
| 644 const char kInstallSupervisedUserWhitelists[] = | 644 const char kInstallSupervisedUserWhitelists[] = |
| 645 "install-supervised-user-whitelists"; | 645 "install-supervised-user-whitelists"; |
| 646 | 646 |
| 647 // Marks a renderer as an Instant process. | 647 // Marks a renderer as an Instant process. |
| 648 const char kInstantProcess[] = "instant-process"; | 648 const char kInstantProcess[] = "instant-process"; |
| 649 | 649 |
| 650 // The URL for the interests API. | 650 // The URL for the interests API. |
| 651 const char kInterestsURL[] = "interests-url"; | 651 const char kInterestsURL[] = "interests-url"; |
| 652 | 652 |
| 653 // Dumps IPC messages sent from renderer processes to the browser process to | |
| 654 // the given directory. Used primarily to gather samples for IPC fuzzing. | |
| 655 const char kIpcDumpDirectory[] = "ipc-dump-directory"; | |
| 656 | |
| 657 // Used for testing - keeps browser alive after last browser window closes. | 653 // Used for testing - keeps browser alive after last browser window closes. |
| 658 const char kKeepAliveForTest[] = "keep-alive-for-test"; | 654 const char kKeepAliveForTest[] = "keep-alive-for-test"; |
| 659 | 655 |
| 660 // Enable Kiosk mode. | 656 // Enable Kiosk mode. |
| 661 const char kKioskMode[] = "kiosk"; | 657 const char kKioskMode[] = "kiosk"; |
| 662 | 658 |
| 663 // Print automatically in kiosk mode. |kKioskMode| must be set as well. | 659 // Print automatically in kiosk mode. |kKioskMode| must be set as well. |
| 664 // See http://crbug.com/31395. | 660 // See http://crbug.com/31395. |
| 665 const char kKioskModePrinting[] = "kiosk-printing"; | 661 const char kKioskModePrinting[] = "kiosk-printing"; |
| 666 | 662 |
| (...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1227 // connect to it. | 1223 // connect to it. |
| 1228 const char kViewerLaunchViaAppId[] = "viewer-launch-via-appid"; | 1224 const char kViewerLaunchViaAppId[] = "viewer-launch-via-appid"; |
| 1229 | 1225 |
| 1230 // Causes the process to run as a watcher process. | 1226 // Causes the process to run as a watcher process. |
| 1231 const char kWatcherProcess[] = "watcher"; | 1227 const char kWatcherProcess[] = "watcher"; |
| 1232 | 1228 |
| 1233 // Indicates that chrome was launched to service a search request in Windows 8. | 1229 // Indicates that chrome was launched to service a search request in Windows 8. |
| 1234 const char kWindows8Search[] = "windows8-search"; | 1230 const char kWindows8Search[] = "windows8-search"; |
| 1235 #endif // defined(OS_WIN) | 1231 #endif // defined(OS_WIN) |
| 1236 | 1232 |
| 1237 #if defined(ENABLE_IPC_FUZZER) | |
| 1238 // Specifies the testcase used by the IPC fuzzer. | |
| 1239 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; | |
| 1240 #endif | |
| 1241 | |
| 1242 #if defined(ENABLE_PRINT_PREVIEW) && !defined(OFFICIAL_BUILD) | 1233 #if defined(ENABLE_PRINT_PREVIEW) && !defined(OFFICIAL_BUILD) |
| 1243 // Enables support to debug printing subsystem. | 1234 // Enables support to debug printing subsystem. |
| 1244 const char kDebugPrint[] = "debug-print"; | 1235 const char kDebugPrint[] = "debug-print"; |
| 1245 #endif | 1236 #endif |
| 1246 | 1237 |
| 1247 #if defined(ENABLE_WAYLAND_SERVER) | 1238 #if defined(ENABLE_WAYLAND_SERVER) |
| 1248 // Enables Wayland display server support. | 1239 // Enables Wayland display server support. |
| 1249 const char kEnableWaylandServer[] = "enable-wayland-server"; | 1240 const char kEnableWaylandServer[] = "enable-wayland-server"; |
| 1250 #endif | 1241 #endif |
| 1251 | 1242 |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1329 | 1320 |
| 1330 // ----------------------------------------------------------------------------- | 1321 // ----------------------------------------------------------------------------- |
| 1331 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1322 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1332 // | 1323 // |
| 1333 // You were going to just dump your switches here, weren't you? Instead, please | 1324 // You were going to just dump your switches here, weren't you? Instead, please |
| 1334 // put them in alphabetical order above, or in order inside the appropriate | 1325 // put them in alphabetical order above, or in order inside the appropriate |
| 1335 // ifdef at the bottom. The order should match the header. | 1326 // ifdef at the bottom. The order should match the header. |
| 1336 // ----------------------------------------------------------------------------- | 1327 // ----------------------------------------------------------------------------- |
| 1337 | 1328 |
| 1338 } // namespace switches | 1329 } // namespace switches |
| OLD | NEW |