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

Unified Diff: components/data_reduction_proxy/content/browser/content_resource_type_provider_unittest.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: components/data_reduction_proxy/content/browser/content_resource_type_provider_unittest.cc
diff --git a/components/data_reduction_proxy/content/browser/content_resource_type_provider_unittest.cc b/components/data_reduction_proxy/content/browser/content_resource_type_provider_unittest.cc
index f31f11fa982ea29ef887902c1f9a67969e8df270..503f0c3cb0df616b053e00685f9a429d6a8aa852 100644
--- a/components/data_reduction_proxy/content/browser/content_resource_type_provider_unittest.cc
+++ b/components/data_reduction_proxy/content/browser/content_resource_type_provider_unittest.cc
@@ -17,6 +17,7 @@
#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.h"
#include "components/data_reduction_proxy/core/common/data_reduction_proxy_headers.h"
#include "content/public/browser/resource_request_info.h"
+#include "content/public/common/previews_state.h"
#include "net/url_request/url_request.h"
#include "net/url_request/url_request_context.h"
#include "net/url_request/url_request_test_util.h"
@@ -92,8 +93,7 @@ class ContentResourceProviderTest : public testing::Test {
false, // parent_is_main_frame
false, // allow_download
false, // is_async
- false // is_using_lofi
- );
+ content::PREVIEWS_OFF);
}
std::unique_ptr<net::URLRequest> CreateRequestByType(
@@ -176,4 +176,4 @@ TEST_F(ContentResourceProviderTest, SetAndGetContentResourceType) {
}
}
-} // namespace data_reduction_proxy
+} // namespace data_reduction_proxy

Powered by Google App Engine
This is Rietveld 408576698