summaryrefslogtreecommitdiffstats
path: root/chrome/common/child_process.h
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-17 22:51:10 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-17 22:51:10 +0000
commita83d4229743f26512b24b9b3f0eb0ea871bb41d7 (patch)
tree6bf3b71ca04bc49cc875efd285309d714164b1d6 /chrome/common/child_process.h
parente518c64aac17b27aa2bf0d0ed6cdac4210b3e946 (diff)
downloadchromium_src-a83d4229743f26512b24b9b3f0eb0ea871bb41d7.zip
chromium_src-a83d4229743f26512b24b9b3f0eb0ea871bb41d7.tar.gz
chromium_src-a83d4229743f26512b24b9b3f0eb0ea871bb41d7.tar.bz2
FBTF: Header cleanup in chrome/common. Part 1.
BUG=none TEST=none Review URL: http://codereview.chromium.org/3106016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56444 0039d316-1c4b-4281-b951-d872f2087c98
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(); }