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

Unified Diff: content/browser/loader/mojo_async_resource_handler_unittest.cc

Issue 2484633004: Change Lo-Fi bool to bitmask to support multiple Previews types (Closed)
Patch Set: rebase Created 4 years 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/browser/loader/mojo_async_resource_handler_unittest.cc
diff --git a/content/browser/loader/mojo_async_resource_handler_unittest.cc b/content/browser/loader/mojo_async_resource_handler_unittest.cc
index e67713a24c73f6e085a63444c40c8314861cfb67..83a26f033da4e3fab1058fac2f0f7cfef32e6aff 100644
--- a/content/browser/loader/mojo_async_resource_handler_unittest.cc
+++ b/content/browser/loader/mojo_async_resource_handler_unittest.cc
@@ -141,11 +141,11 @@ class TestResourceDispatcherHostDelegate final
ADD_FAILURE() << "RequestComplete should not be called.";
}
- bool ShouldEnableLoFiMode(
+ int GetPreviewsState(
const net::URLRequest& url_request,
content::ResourceContext* resource_context) override {
- ADD_FAILURE() << "ShouldEnableLoFiMode should not be called.";
- return false;
+ ADD_FAILURE() << "GetPreviewsState should not be called.";
+ return 0;
}
NavigationData* GetNavigationData(net::URLRequest* request) const override {

Powered by Google App Engine
This is Rietveld 408576698