summaryrefslogtreecommitdiffstats
path: root/content/browser/renderer_host/resource_handler.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/renderer_host/resource_handler.h')
-rw-r--r--content/browser/renderer_host/resource_handler.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/content/browser/renderer_host/resource_handler.h b/content/browser/renderer_host/resource_handler.h
index 85c7f2bc..d086aef 100644
--- a/content/browser/renderer_host/resource_handler.h
+++ b/content/browser/renderer_host/resource_handler.h
@@ -17,14 +17,17 @@
#include "content/public/browser/browser_thread.h"
+class GURL;
+
+namespace content {
+struct ResourceResponse;
+}
+
namespace net {
class IOBuffer;
class URLRequestStatus;
} // namespace net
-struct ResourceResponse;
-class GURL;
-
// The resource dispatcher host uses this interface to push load events to the
// renderer, allowing for differences in the types of IPC messages generated.
// See the implementations of this interface defined below.
@@ -41,12 +44,12 @@ class ResourceHandler
// false. Set |*defer| to true to defer the redirect. The redirect may be
// followed later on via ResourceDispatcherHost::FollowDeferredRedirect.
virtual bool OnRequestRedirected(int request_id, const GURL& url,
- ResourceResponse* response,
+ content::ResourceResponse* response,
bool* defer) = 0;
// Response headers and meta data are available.
virtual bool OnResponseStarted(int request_id,
- ResourceResponse* response) = 0;
+ content::ResourceResponse* response) = 0;
// Called before the net::URLRequest for |request_id| (whose url is |url|) is
// to be started. If the handler returns false, then the request is cancelled.