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

Unified Diff: content/public/browser/resource_dispatcher_host_delegate.h

Issue 8511080: Get rid of resource_messages.h include from chrome, since that's an internal detail of content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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
« no previous file with comments | « content/browser/renderer_host/resource_dispatcher_host.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/resource_dispatcher_host_delegate.h
===================================================================
--- content/public/browser/resource_dispatcher_host_delegate.h (revision 109749)
+++ content/public/browser/resource_dispatcher_host_delegate.h (working copy)
@@ -9,12 +9,12 @@
#include <string>
#include "base/basictypes.h"
+#include "webkit/glue/resource_type.h"
class GURL;
class ResourceDispatcherHostLoginDelegate;
class ResourceHandler;
class ResourceMessageFilter;
-struct ResourceHostMsg_Request;
struct ResourceResponse;
namespace content {
@@ -35,8 +35,11 @@
public:
// Called when a request begins. Return false to abort the request.
virtual bool ShouldBeginRequest(
- int child_id, int route_id,
- const ResourceHostMsg_Request& request_data,
+ int child_id,
+ int route_id,
+ const std::string& method,
+ const GURL& url,
+ ResourceType::Type resource_type,
const content::ResourceContext& resource_context,
const GURL& referrer) = 0;
« no previous file with comments | « content/browser/renderer_host/resource_dispatcher_host.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698