summaryrefslogtreecommitdiffstats
path: root/chrome/common/child_process_host.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/child_process_host.h')
-rw-r--r--chrome/common/child_process_host.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/common/child_process_host.h b/chrome/common/child_process_host.h
index 94bdafd..1ca547b 100644
--- a/chrome/common/child_process_host.h
+++ b/chrome/common/child_process_host.h
@@ -69,6 +69,8 @@ class ChildProcessHost : public ResourceDispatcherHost::Receiver,
};
protected:
+ // The resource_dispatcher_host may be NULL to indicate none is needed for
+ // this process type.
ChildProcessHost(ProcessType type,
ResourceDispatcherHost* resource_dispatcher_host);
@@ -127,7 +129,10 @@ class ChildProcessHost : public ResourceDispatcherHost::Receiver,
};
ListenerHook listener_;
+
+ // May be NULL if this current process has no resource dispatcher host.
ResourceDispatcherHost* resource_dispatcher_host_;
+
bool opening_channel_; // True while we're waiting the channel to be opened.
scoped_ptr<IPC::Channel> channel_;
std::string channel_id_;