summaryrefslogtreecommitdiffstats
path: root/chrome/common/child_thread.cc
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_thread.cc
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_thread.cc')
-rw-r--r--chrome/common/child_thread.cc15
1 files changed, 14 insertions, 1 deletions
diff --git a/chrome/common/child_thread.cc b/chrome/common/child_thread.cc
index 91d276e..126fc2b 100644
--- a/chrome/common/child_thread.cc
+++ b/chrome/common/child_thread.cc
@@ -4,20 +4,22 @@
#include "chrome/common/child_thread.h"
+#include "base/message_loop.h"
#include "base/string_util.h"
#include "base/command_line.h"
#include "chrome/common/child_process.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/common/notification_service.h"
#include "chrome/common/plugin_messages.h"
+#include "chrome/common/resource_dispatcher.h"
#include "chrome/common/socket_stream_dispatcher.h"
#include "ipc/ipc_logging.h"
#include "ipc/ipc_message.h"
+#include "ipc/ipc_sync_channel.h"
#include "ipc/ipc_sync_message_filter.h"
#include "ipc/ipc_switches.h"
#include "webkit/glue/webkit_glue.h"
-
ChildThread::ChildThread() {
channel_name_ = CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
switches::kProcessChannelID);
@@ -118,6 +120,17 @@ webkit_glue::ResourceLoaderBridge* ChildThread::CreateBridge(
CreateBridge(request_info, host_renderer_id, host_render_view_id);
}
+ResourceDispatcher* ChildThread::resource_dispatcher() {
+ return resource_dispatcher_.get();
+}
+
+IPC::SyncMessageFilter* ChildThread::sync_message_filter() {
+ return sync_message_filter_;
+}
+
+MessageLoop* ChildThread::message_loop() {
+ return message_loop_;
+}
void ChildThread::OnMessageReceived(const IPC::Message& msg) {
// Resource responses are sent to the resource dispatcher.