| 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 0e5a348e4037cf8a1a8408c25e56ce6922c789b5..a9a3e73069c46398d032c0f3bb12076d82902a62 100644
|
| --- a/content/public/browser/resource_dispatcher_host_delegate.h
|
| +++ b/content/public/browser/resource_dispatcher_host_delegate.h
|
| @@ -121,10 +121,12 @@ class CONTENT_EXPORT ResourceDispatcherHostDelegate {
|
| // TODO(maksims): Remove this once all the callers are modified.
|
| 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 for the Previews State which says which previews should
|
| + // be enabled for the given request. It is only called for requests with an
|
| + // unspecified Previews state.
|
| + virtual int GetPreviewsState(int previews_state,
|
| + const net::URLRequest& url_request,
|
| + content::ResourceContext* resource_context);
|
|
|
| // Asks the embedder for NavigationData related to this request. It is only
|
| // called for navigation requests.
|
|
|