diff options
Diffstat (limited to 'chrome/common/child_thread.h')
-rw-r--r-- | chrome/common/child_thread.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/chrome/common/child_thread.h b/chrome/common/child_thread.h index b170d7d..7f9c3f8 100644 --- a/chrome/common/child_thread.h +++ b/chrome/common/child_thread.h @@ -9,14 +9,16 @@ #include "base/basictypes.h" #include "base/scoped_ptr.h" #include "chrome/common/message_router.h" -#include "chrome/common/resource_dispatcher.h" -#include "ipc/ipc_sync_channel.h" #include "ipc/ipc_message.h" +#include "webkit/glue/resource_loader_bridge.h" +class MessageLoop; class NotificationService; +class ResourceDispatcher; class SocketStreamDispatcher; namespace IPC { +class SyncChannel; class SyncMessageFilter; } @@ -46,9 +48,7 @@ class ChildThread : public IPC::Channel::Listener, int host_renderer_id, int host_render_view_id); - ResourceDispatcher* resource_dispatcher() { - return resource_dispatcher_.get(); - } + ResourceDispatcher* resource_dispatcher(); SocketStreamDispatcher* socket_stream_dispatcher() { return socket_stream_dispatcher_.get(); @@ -56,9 +56,9 @@ class ChildThread : public IPC::Channel::Listener, // Safe to call on any thread, as long as it's guaranteed that the thread's // lifetime is less than the main thread. - IPC::SyncMessageFilter* sync_message_filter() { return sync_message_filter_; } + IPC::SyncMessageFilter* sync_message_filter(); - MessageLoop* message_loop() { return message_loop_; } + MessageLoop* message_loop(); // Returns the one child thread. static ChildThread* current(); |