Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(806)

Unified Diff: content/public/browser/resource_dispatcher_host_delegate.cc

Issue 2484633004: Change Lo-Fi bool to bitmask to support multiple Previews types (Closed)
Patch Set: fix ContentResourceProviderTest Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/public/browser/resource_dispatcher_host_delegate.cc
diff --git a/content/public/browser/resource_dispatcher_host_delegate.cc b/content/public/browser/resource_dispatcher_host_delegate.cc
index 78628ef0eed0812da7a1caaf00f0573ff525c128..8b1a59ca06e17b9beaaca62b19aa82ce2def8744 100644
--- a/content/public/browser/resource_dispatcher_host_delegate.cc
+++ b/content/public/browser/resource_dispatcher_host_delegate.cc
@@ -86,10 +86,10 @@ void ResourceDispatcherHostDelegate::RequestComplete(
void ResourceDispatcherHostDelegate::RequestComplete(
net::URLRequest* url_request) {}
-bool ResourceDispatcherHostDelegate::ShouldEnableLoFiMode(
+PreviewsState ResourceDispatcherHostDelegate::GetPreviewsState(
const net::URLRequest& url_request,
content::ResourceContext* resource_context) {
- return false;
+ return PREVIEWS_UNSPECIFIED;
}
NavigationData* ResourceDispatcherHostDelegate::GetNavigationData(
« no previous file with comments | « content/public/browser/resource_dispatcher_host_delegate.h ('k') | content/public/browser/resource_request_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698