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..05c55c4d8ba5dda500e08e65c4d865a6858205e1 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. It |
+ // is only called for requests with an unspecified Lo-Fi value. |
+ virtual bool ShouldEnableLoFiMode(const net::URLRequest& url_request, |
+ content::ResourceContext* resource_context); |
+ |
protected: |
ResourceDispatcherHostDelegate(); |
virtual ~ResourceDispatcherHostDelegate(); |