| Index: chrome/browser/renderer_host/render_process_host.h
|
| diff --git a/chrome/browser/renderer_host/render_process_host.h b/chrome/browser/renderer_host/render_process_host.h
|
| index 1ceeb42de5407987a5659b90c7ca093d3e6fed84..ed8473b78a9f7b8f986f0a42d4aca4e005f8352d 100644
|
| --- a/chrome/browser/renderer_host/render_process_host.h
|
| +++ b/chrome/browser/renderer_host/render_process_host.h
|
| @@ -257,6 +257,11 @@ class RenderProcessHost : public IPC::Channel::Sender,
|
| // the caller is free to create a new renderer.
|
| static RenderProcessHost* GetExistingProcessHost(Profile* profile, Type type);
|
|
|
| + // Overrides the default heuristic for limiting the max renderer process
|
| + // count. This is useful for unit testing process limit behaviors.
|
| + // A value of zero means to use the default heuristic.
|
| + static void SetMaxRendererProcessCount(size_t count);
|
| +
|
| protected:
|
| // A proxy for our IPC::Channel that lives on the IO thread (see
|
| // browser_process.h)
|
|
|