diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-11 01:19:28 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-11 01:19:28 +0000 |
commit | e2a89013275843d878d657cf9b717931c3ea1350 (patch) | |
tree | 346c609cc6b3668dda3cc494ffb0c5c7726e2c55 /content/common/child_thread.cc | |
parent | e7a30e3036462352093740b9b9ca4fd52bf585cb (diff) | |
download | chromium_src-e2a89013275843d878d657cf9b717931c3ea1350.zip chromium_src-e2a89013275843d878d657cf9b717931c3ea1350.tar.gz chromium_src-e2a89013275843d878d657cf9b717931c3ea1350.tar.bz2 |
Move ResourceDispatcherHostDelegate to content\public\common. I've added a set delegate function on ChildThread (which will soon be on content::ChildThread interface) so that we don't have to expose ResourceDispatcher to embedders.
BUG=98716
Review URL: http://codereview.chromium.org/8224019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104832 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/child_thread.cc')
-rw-r--r-- | content/common/child_thread.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/content/common/child_thread.cc b/content/common/child_thread.cc index bfde285..81dbd7b 100644 --- a/content/common/child_thread.cc +++ b/content/common/child_thread.cc @@ -114,6 +114,11 @@ void ChildThread::RemoveRoute(int32 routing_id) { router_.RemoveRoute(routing_id); } +void ChildThread::SetResourceDispatcherDelegate( + content::ResourceDispatcherDelegate* delegate) { + resource_dispatcher_->set_delegate(delegate); +} + IPC::Channel::Listener* ChildThread::ResolveRoute(int32 routing_id) { DCHECK(MessageLoop::current() == message_loop()); |