summaryrefslogtreecommitdiffstats
path: root/content/browser/renderer_host/render_process_host_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/renderer_host/render_process_host_impl.h')
-rw-r--r--content/browser/renderer_host/render_process_host_impl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/content/browser/renderer_host/render_process_host_impl.h b/content/browser/renderer_host/render_process_host_impl.h
index cb59320..284332f 100644
--- a/content/browser/renderer_host/render_process_host_impl.h
+++ b/content/browser/renderer_host/render_process_host_impl.h
@@ -52,6 +52,9 @@ class ScreenOrientationDispatcherHost;
class StoragePartition;
class StoragePartitionImpl;
+typedef base::Thread* (*RendererMainThreadFactoryFunction)(
+ const std::string& id);
+
// Implements a concrete RenderProcessHost for the browser process for talking
// to actual renderer processes (as opposed to mocks).
//
@@ -214,6 +217,9 @@ class CONTENT_EXPORT RenderProcessHostImpl
// This forces a renderer that is running "in process" to shut down.
static void ShutDownInProcessRenderer();
+ static void RegisterRendererMainThreadFactory(
+ RendererMainThreadFactoryFunction create);
+
#if defined(OS_ANDROID)
const scoped_refptr<BrowserDemuxerAndroid>& browser_demuxer_android() {
return browser_demuxer_android_;