Index: content/public/browser/resource_dispatcher_host_delegate.cc |
diff --git a/content/public/browser/resource_dispatcher_host_delegate.cc b/content/public/browser/resource_dispatcher_host_delegate.cc |
index ccca655c9fba4aa98a3bd81fe51b1bcd4a1f405e..8208fd91b924ed971288d4330b51c1444094000d 100644 |
--- a/content/public/browser/resource_dispatcher_host_delegate.cc |
+++ b/content/public/browser/resource_dispatcher_host_delegate.cc |
@@ -4,6 +4,8 @@ |
#include "content/public/browser/resource_dispatcher_host_delegate.h" |
+#include "content/public/browser/stream_handle.h" |
+ |
namespace content { |
bool ResourceDispatcherHostDelegate::ShouldBeginRequest( |
@@ -70,6 +72,23 @@ bool ResourceDispatcherHostDelegate::ShouldForceDownloadResource( |
return false; |
} |
+bool ResourceDispatcherHostDelegate::ShouldInterceptResourceAsStream( |
+ content::ResourceContext* resource_context, |
+ const GURL& url, |
+ const std::string& mime_type, |
+ GURL* security_origin, |
+ std::string* target_id) { |
+ return false; |
+} |
+ |
+void ResourceDispatcherHostDelegate::OnStreamCreated( |
+ content::ResourceContext* resource_context, |
+ int render_process_id, |
+ int render_view_id, |
+ const std::string& target_id, |
+ scoped_ptr<StreamHandle> stream) { |
+} |
+ |
void ResourceDispatcherHostDelegate::OnResponseStarted( |
net::URLRequest* request, |
ResourceContext* resource_context, |