Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(302)

Side by Side Diff: content/public/common/content_switches.cc

Issue 9936002: Added code so renderer would cleanly exit. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebased again. Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "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 499 matching lines...) Expand 10 before | Expand all | Expand 10 after
510 510
511 // Register Pepper plugins (see pepper_plugin_registry.cc for its format). 511 // Register Pepper plugins (see pepper_plugin_registry.cc for its format).
512 const char kRegisterPepperPlugins[] = "register-pepper-plugins"; 512 const char kRegisterPepperPlugins[] = "register-pepper-plugins";
513 513
514 // Enables remote debug over HTTP on the specified port. 514 // Enables remote debug over HTTP on the specified port.
515 const char kRemoteDebuggingPort[] = "remote-debugging-port"; 515 const char kRemoteDebuggingPort[] = "remote-debugging-port";
516 516
517 // Causes the renderer process to throw an assertion on launch. 517 // Causes the renderer process to throw an assertion on launch.
518 const char kRendererAssertTest[] = "renderer-assert-test"; 518 const char kRendererAssertTest[] = "renderer-assert-test";
519 519
520 #if defined(OS_POSIX)
521 // Causes the renderer process to cleanly exit via calling exit().
522 const char kRendererCleanExit[] = "renderer-clean-exit";
Markus (顧孟勤) 2012/04/09 23:45:46 Maybe fix the indentation of the "=". All the othe
asharif1 2012/04/10 03:08:00 Done.
523 #endif
524
520 // On POSIX only: the contents of this flag are prepended to the renderer 525 // On POSIX only: the contents of this flag are prepended to the renderer
521 // command line. Useful values might be "valgrind" or "xterm -e gdb --args". 526 // command line. Useful values might be "valgrind" or "xterm -e gdb --args".
522 const char kRendererCmdPrefix[] = "renderer-cmd-prefix"; 527 const char kRendererCmdPrefix[] = "renderer-cmd-prefix";
523 528
524 // Causes the renderer process to crash on launch. 529 // Causes the renderer process to crash on launch.
525 const char kRendererCrashTest[] = "renderer-crash-test"; 530 const char kRendererCrashTest[] = "renderer-crash-test";
526 531
527 // Causes the process to run as renderer instead of as browser. 532 // Causes the process to run as renderer instead of as browser.
528 const char kRendererProcess[] = "renderer"; 533 const char kRendererProcess[] = "renderer";
529 534
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
661 extern const char kFlingTapSuppressMaxDown[] = "fling-tap-suppress-max-down"; 666 extern const char kFlingTapSuppressMaxDown[] = "fling-tap-suppress-max-down";
662 667
663 // Maximum time between mousedown and mouseup to be considered a tap. 668 // Maximum time between mousedown and mouseup to be considered a tap.
664 extern const char kFlingTapSuppressMaxGap[] = "fling-tap-suppress-max-gap"; 669 extern const char kFlingTapSuppressMaxGap[] = "fling-tap-suppress-max-gap";
665 670
666 // Forces usage of the test compositor. Needed to run ui tests on bots. 671 // Forces usage of the test compositor. Needed to run ui tests on bots.
667 extern const char kTestCompositor[] = "test-compositor"; 672 extern const char kTestCompositor[] = "test-compositor";
668 #endif 673 #endif
669 674
670 } // namespace switches 675 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698