summaryrefslogtreecommitdiffstats
path: root/content/browser/utility_process_host_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/utility_process_host_impl.h')
-rw-r--r--content/browser/utility_process_host_impl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/content/browser/utility_process_host_impl.h b/content/browser/utility_process_host_impl.h
index 413dab0..8486655 100644
--- a/content/browser/utility_process_host_impl.h
+++ b/content/browser/utility_process_host_impl.h
@@ -25,10 +25,16 @@ class Thread;
namespace content {
class BrowserChildProcessHostImpl;
+typedef base::Thread* (*UtilityMainThreadFactoryFunction)(
+ const std::string& id);
+
class CONTENT_EXPORT UtilityProcessHostImpl
: public NON_EXPORTED_BASE(UtilityProcessHost),
public BrowserChildProcessHostDelegate {
public:
+ static void RegisterUtilityMainThreadFactory(
+ UtilityMainThreadFactoryFunction create);
+
UtilityProcessHostImpl(UtilityProcessHostClient* client,
base::SequencedTaskRunner* client_task_runner);
virtual ~UtilityProcessHostImpl();