Index: content/browser/loader/resource_dispatcher_host_impl.h |
diff --git a/content/browser/loader/resource_dispatcher_host_impl.h b/content/browser/loader/resource_dispatcher_host_impl.h |
index a96af553b4a5bf31f6c9c988881ae311e27ccda2..83ccfe9112a3cacbcf2e0564035dce91314f3675 100644 |
--- a/content/browser/loader/resource_dispatcher_host_impl.h |
+++ b/content/browser/loader/resource_dispatcher_host_impl.h |
@@ -238,8 +238,9 @@ class CONTENT_EXPORT ResourceDispatcherHostImpl |
// Must be called after the ResourceRequestInfo has been created |
// and associated with the request. If |payload| is set to a non-empty value, |
// the value will be sent to the old resource handler instead of canceling |
- // it, except on HTTP errors. |
- scoped_ptr<ResourceHandler> MaybeInterceptAsStream( |
+ // it, except on HTTP errors. This is marked virtual so it can be overriden in |
+ // testing. |
+ virtual scoped_ptr<ResourceHandler> MaybeInterceptAsStream( |
net::URLRequest* request, |
ResourceResponse* response, |
std::string* payload); |