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

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

Issue 9328011: Adding a command line flag to specify renderer process limit (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 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 | Annotate | Revision Log
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 443 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 // On POSIX only: the contents of this flag are prepended to the renderer 454 // On POSIX only: the contents of this flag are prepended to the renderer
455 // command line. Useful values might be "valgrind" or "xterm -e gdb --args". 455 // command line. Useful values might be "valgrind" or "xterm -e gdb --args".
456 const char kRendererCmdPrefix[] = "renderer-cmd-prefix"; 456 const char kRendererCmdPrefix[] = "renderer-cmd-prefix";
457 457
458 // Causes the renderer process to crash on launch. 458 // Causes the renderer process to crash on launch.
459 const char kRendererCrashTest[] = "renderer-crash-test"; 459 const char kRendererCrashTest[] = "renderer-crash-test";
460 460
461 // Causes the process to run as renderer instead of as browser. 461 // Causes the process to run as renderer instead of as browser.
462 const char kRendererProcess[] = "renderer"; 462 const char kRendererProcess[] = "renderer";
463 463
464 // Sets the limit of number of renderer processes to use.
Charlie Reis 2012/02/03 23:05:34 We should add a warning here that high values may
nasko 2012/02/07 00:42:05 Done.
465 const char kRendererProcessLimit[] = "renderer-process-limit";
466
464 // Causes the renderer process to display a dialog on launch. 467 // Causes the renderer process to display a dialog on launch.
465 const char kRendererStartupDialog[] = "renderer-startup-dialog"; 468 const char kRendererStartupDialog[] = "renderer-startup-dialog";
466 469
467 // Causes the process to run as a service process. 470 // Causes the process to run as a service process.
468 const char kServiceProcess[] = "service"; 471 const char kServiceProcess[] = "service";
469 472
470 // Visibly render a border around paint rects in the web page to help debug 473 // Visibly render a border around paint rects in the web page to help debug
471 // and study painting behavior. 474 // and study painting behavior.
472 const char kShowPaintRects[] = "show-paint-rects"; 475 const char kShowPaintRects[] = "show-paint-rects";
473 476
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
568 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; 571 const char kRendererCheckFalseTest[] = "renderer-check-false-test";
569 #endif 572 #endif
570 573
571 // Enable per-tile page painting. 574 // Enable per-tile page painting.
572 const char kEnablePerTilePainting[] = "enable-per-tile-painting"; 575 const char kEnablePerTilePainting[] = "enable-per-tile-painting";
573 576
574 // Disables the use of a 3D software rasterizer. 577 // Disables the use of a 3D software rasterizer.
575 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer"; 578 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer";
576 579
577 } // namespace switches 580 } // namespace switches
OLDNEW
« content/public/browser/render_process_host.h ('K') | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698