summaryrefslogtreecommitdiffstats
path: root/chrome/common/resource_dispatcher.h
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-05 03:26:29 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-05 03:26:29 +0000
commite09ba55021ea324864cff41148a0d3ee65539963 (patch)
tree1d9fb31246f6029e3ab9fe56b334c01634ca7436 /chrome/common/resource_dispatcher.h
parenta9358722ff8a3955c5b4a7430fc16af314653d50 (diff)
downloadchromium_src-e09ba55021ea324864cff41148a0d3ee65539963.zip
chromium_src-e09ba55021ea324864cff41148a0d3ee65539963.tar.gz
chromium_src-e09ba55021ea324864cff41148a0d3ee65539963.tar.bz2
Finish taking out render_messages.h includes from headers.
Review URL: http://codereview.chromium.org/20072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9209 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/resource_dispatcher.h')
-rw-r--r--chrome/common/resource_dispatcher.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/chrome/common/resource_dispatcher.h b/chrome/common/resource_dispatcher.h
index 13372a9..32e054b 100644
--- a/chrome/common/resource_dispatcher.h
+++ b/chrome/common/resource_dispatcher.h
@@ -10,11 +10,15 @@
#include <queue>
#include "base/hash_tables.h"
+#include "base/shared_memory.h"
#include "base/task.h"
+#include "chrome/common/filter_policy.h"
#include "chrome/common/ipc_channel.h"
-#include "chrome/common/render_messages.h"
#include "webkit/glue/resource_loader_bridge.h"
+struct ResourceResponseHead;
+struct ViewMsg_Resource_ResponseHead;
+
// Uncomment this to disable loading resources via the parent process. This
// may be useful for debugging purposes.
//#define USING_SIMPLE_RESOURCE_LOADER_BRIDGE
@@ -99,7 +103,7 @@ class ResourceDispatcher : public base::RefCounted<ResourceDispatcher> {
// Message response handlers, called by the message handler for this process.
void OnUploadProgress(int request_id, int64 position, int64 size);
- void OnReceivedResponse(int request_id, const ViewMsg_Resource_ResponseHead&);
+ void OnReceivedResponse(int request_id, const ResourceResponseHead&);
void OnReceivedRedirect(int request_id, const GURL& new_url);
void OnReceivedData(int request_id, base::SharedMemoryHandle data,
int data_len);