Chromium Code Reviews| Index: content/public/browser/resource_dispatcher_host_delegate.h |
| diff --git a/content/public/browser/resource_dispatcher_host_delegate.h b/content/public/browser/resource_dispatcher_host_delegate.h |
| index ad6e2c5e981c26511c1c175be099af22054cfed0..75fe6e439e28fa8d32d4803d65cdec72aa575649 100644 |
| --- a/content/public/browser/resource_dispatcher_host_delegate.h |
| +++ b/content/public/browser/resource_dispatcher_host_delegate.h |
| @@ -16,20 +16,21 @@ |
| class GURL; |
| template <class T> class ScopedVector; |
| namespace IPC { |
| class Sender; |
| } |
| namespace net { |
| class AuthChallengeInfo; |
| +class HostPortPair; |
| class URLRequest; |
| } |
| namespace content { |
| class AppCacheService; |
| class ResourceContext; |
| class ResourceDispatcherHostLoginDelegate; |
| class ResourceThrottle; |
| struct Referrer; |
| @@ -123,18 +124,23 @@ class CONTENT_EXPORT ResourceDispatcherHostDelegate { |
| ResourceResponse* response); |
| // Notification that a request has completed. |
| virtual void RequestComplete(net::URLRequest* url_request); |
| // Asks the embedder if Lo-Fi mode should be enabled for the given request. It |
| // is only called for requests with an unspecified Lo-Fi value. |
| virtual bool ShouldEnableLoFiMode(const net::URLRequest& url_request, |
| content::ResourceContext* resource_context); |
| + // Asks the embedder if this HostPortPair is a data_reduction_proxy |
|
tbansal1
2016/03/08 22:14:43
s/HostPortPair/|proxy_server|/
RyanSturm
2016/03/10 00:37:58
Done.
|
| + // HostPortPair. |
|
tbansal1
2016/03/08 22:14:43
s/HostPortPair././
RyanSturm
2016/03/10 00:37:58
Done.
|
| + virtual bool UsedDataReductionProxy(const net::HostPortPair& proxy_server, |
| + ResourceContext* resource_context); |
| + |
| protected: |
| ResourceDispatcherHostDelegate(); |
| virtual ~ResourceDispatcherHostDelegate(); |
| }; |
| } // namespace content |
| #endif // CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ |