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 181962eee2d3f5ea5f5ce9313e7b87a065cff087..123c15f9e877cd6048e1ed7df7d1bf5f192dd213 100644 |
| --- a/content/public/browser/resource_dispatcher_host_delegate.h |
| +++ b/content/public/browser/resource_dispatcher_host_delegate.h |
| @@ -124,6 +124,10 @@ class CONTENT_EXPORT ResourceDispatcherHostDelegate { |
| // 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. |
|
mmenke
2015/09/29 16:35:57
Should mention it's only called for requests with
megjablon
2015/09/29 21:20:07
Done.
|
| + virtual bool ShouldEnableLoFiMode(net::URLRequest* url_request, |
| + content::ResourceContext* resource_context); |
| + |
| protected: |
| ResourceDispatcherHostDelegate(); |
| virtual ~ResourceDispatcherHostDelegate(); |