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..03b2318f0ab996134fc7e922c7248fc40d96cc8d 100644 |
| --- a/content/public/browser/resource_dispatcher_host_delegate.h |
| +++ b/content/public/browser/resource_dispatcher_host_delegate.h |
| @@ -124,6 +124,11 @@ 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. Is |
|
nasko
2015/10/01 18:28:57
nit: s/Is/It is/
megjablon
2015/10/01 19:43:25
Done.
|
| + // only called for main frame requests with an unspecified Lo-Fi value. |
| + virtual bool ShouldEnableLoFiMode(net::URLRequest* url_request, |
| + content::ResourceContext* resource_context); |
| + |
| protected: |
| ResourceDispatcherHostDelegate(); |
| virtual ~ResourceDispatcherHostDelegate(); |