summaryrefslogtreecommitdiffstats
path: root/content/common/resource_dispatcher.h
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-11 02:33:05 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-11 02:33:05 +0000
commit31033a317aec1ce92b6f07d0731aa70cc280e864 (patch)
tree5bb575ba8c6c43790bd200749d21fe50e0e650e9 /content/common/resource_dispatcher.h
parentef561a16b7ae7512ce87884a8577574bf8f4085c (diff)
downloadchromium_src-31033a317aec1ce92b6f07d0731aa70cc280e864.zip
chromium_src-31033a317aec1ce92b6f07d0731aa70cc280e864.tar.gz
chromium_src-31033a317aec1ce92b6f07d0731aa70cc280e864.tar.bz2
Revert 104832 - 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 TBR=jam@chromium.org Review URL: http://codereview.chromium.org/8226015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104836 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/resource_dispatcher.h')
-rw-r--r--content/common/resource_dispatcher.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/content/common/resource_dispatcher.h b/content/common/resource_dispatcher.h
index 2200282..fd400fe 100644
--- a/content/common/resource_dispatcher.h
+++ b/content/common/resource_dispatcher.h
@@ -19,11 +19,8 @@
#include "ipc/ipc_channel.h"
#include "webkit/glue/resource_loader_bridge.h"
-struct ResourceResponseHead;
-
-namespace content {
class ResourceDispatcherDelegate;
-}
+struct ResourceResponseHead;
// This class serves as a communication interface between the
// ResourceDispatcherHost in the browser process and the ResourceLoaderBridge in
@@ -64,7 +61,7 @@ class CONTENT_EXPORT ResourceDispatcher : public IPC::Channel::Listener {
// This does not take ownership of the delegate. It is expected that the
// delegate have a longer lifetime than the ResourceDispatcher.
- void set_delegate(content::ResourceDispatcherDelegate* delegate) {
+ void set_delegate(ResourceDispatcherDelegate* delegate) {
delegate_ = delegate;
}
@@ -156,7 +153,7 @@ class CONTENT_EXPORT ResourceDispatcher : public IPC::Channel::Listener {
ScopedRunnableMethodFactory<ResourceDispatcher> method_factory_;
- content::ResourceDispatcherDelegate* delegate_;
+ ResourceDispatcherDelegate* delegate_;
DISALLOW_COPY_AND_ASSIGN(ResourceDispatcher);
};