Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3927)

Unified Diff: chrome/common/resource_dispatcher.h

Issue 20072: Finish taking out render_messages.h include from other headers. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/resource_dispatcher.h
===================================================================
--- chrome/common/resource_dispatcher.h (revision 9207)
+++ chrome/common/resource_dispatcher.h (working copy)
@@ -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 @@
// 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);

Powered by Google App Engine
This is Rietveld 408576698