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 "content/public/common/content_switches.h" | 5 #include "content/public/common/content_switches.h" |
6 | 6 |
7 namespace switches { | 7 namespace switches { |
8 | 8 |
9 // By default, file:// URIs cannot read other file:// URIs. This is an | 9 // By default, file:// URIs cannot read other file:// URIs. This is an |
10 // override for developers who need the old behavior for testing. | 10 // override for developers who need the old behavior for testing. |
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
424 // See also kPlaybackMode. | 424 // See also kPlaybackMode. |
425 const char kRecordMode[] = "record-mode"; | 425 const char kRecordMode[] = "record-mode"; |
426 | 426 |
427 // The value of this switch determines whether the process is started as a | 427 // The value of this switch determines whether the process is started as a |
428 // renderer or plugin host. If it's empty, it's the browser. | 428 // renderer or plugin host. If it's empty, it's the browser. |
429 const char kProcessType[] = "type"; | 429 const char kProcessType[] = "type"; |
430 | 430 |
431 // Register Pepper plugins (see pepper_plugin_registry.cc for its format). | 431 // Register Pepper plugins (see pepper_plugin_registry.cc for its format). |
432 const char kRegisterPepperPlugins[] = "register-pepper-plugins"; | 432 const char kRegisterPepperPlugins[] = "register-pepper-plugins"; |
433 | 433 |
434 // Enable remote debug / automation shell on the specified port. | |
435 const char kRemoteShellPort[] = "remote-shell-port"; | |
436 | |
437 // Causes the renderer process to throw an assertion on launch. | 434 // Causes the renderer process to throw an assertion on launch. |
438 const char kRendererAssertTest[] = "renderer-assert-test"; | 435 const char kRendererAssertTest[] = "renderer-assert-test"; |
439 | 436 |
440 // On POSIX only: the contents of this flag are prepended to the renderer | 437 // On POSIX only: the contents of this flag are prepended to the renderer |
441 // command line. Useful values might be "valgrind" or "xterm -e gdb --args". | 438 // command line. Useful values might be "valgrind" or "xterm -e gdb --args". |
442 const char kRendererCmdPrefix[] = "renderer-cmd-prefix"; | 439 const char kRendererCmdPrefix[] = "renderer-cmd-prefix"; |
443 | 440 |
444 // Causes the renderer process to crash on launch. | 441 // Causes the renderer process to crash on launch. |
445 const char kRendererCrashTest[] = "renderer-crash-test"; | 442 const char kRendererCrashTest[] = "renderer-crash-test"; |
446 | 443 |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
549 // instead of NSS for SSL. | 546 // instead of NSS for SSL. |
550 const char kUseSystemSSL[] = "use-system-ssl"; | 547 const char kUseSystemSSL[] = "use-system-ssl"; |
551 #endif | 548 #endif |
552 | 549 |
553 #if !defined(OFFICIAL_BUILD) | 550 #if !defined(OFFICIAL_BUILD) |
554 // Causes the renderer process to throw an assertion on launch. | 551 // Causes the renderer process to throw an assertion on launch. |
555 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; | 552 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; |
556 #endif | 553 #endif |
557 | 554 |
558 } // namespace switches | 555 } // namespace switches |
OLD | NEW |