summaryrefslogtreecommitdiffstats
path: root/chrome/common/child_process.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/child_process.h')
-rw-r--r--chrome/common/child_process.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome/common/child_process.h b/chrome/common/child_process.h
index 7b8e500..bc878de 100644
--- a/chrome/common/child_process.h
+++ b/chrome/common/child_process.h
@@ -10,7 +10,8 @@
#include "base/scoped_ptr.h"
#include "base/thread.h"
#include "base/waitable_event.h"
-#include "chrome/common/child_thread.h"
+
+class ChildThread;
// Base class for child processes of the browser process (i.e. renderer and
// plugin host). This is a singleton object for each child process.
@@ -21,8 +22,8 @@ class ChildProcess {
virtual ~ChildProcess();
// Getter for the child process' main thread.
- ChildThread* main_thread() { return main_thread_.get(); }
- void set_main_thread(ChildThread* thread) { main_thread_.reset(thread); }
+ ChildThread* main_thread();
+ void set_main_thread(ChildThread* thread);
MessageLoop* io_message_loop() { return io_thread_.message_loop(); }