Index: components/data_reduction_proxy/content/browser/content_lofi_decider_unittest.cc |
diff --git a/components/data_reduction_proxy/content/browser/content_lofi_decider_unittest.cc b/components/data_reduction_proxy/content/browser/content_lofi_decider_unittest.cc |
index 40121e2ff7048a898103b782511b966faf5a3caa..32b8e4395c62e0d4035252e9a27bdf9b38325a26 100644 |
--- a/components/data_reduction_proxy/content/browser/content_lofi_decider_unittest.cc |
+++ b/components/data_reduction_proxy/content/browser/content_lofi_decider_unittest.cc |
@@ -25,6 +25,7 @@ |
#include "components/data_reduction_proxy/core/common/data_reduction_proxy_params_test_utils.h" |
#include "components/data_reduction_proxy/core/common/data_reduction_proxy_switches.h" |
#include "content/public/browser/resource_request_info.h" |
+#include "content/public/common/previews_state.h" |
#include "net/base/load_flags.h" |
#include "net/base/network_delegate_impl.h" |
#include "net/http/http_request_headers.h" |
@@ -106,7 +107,7 @@ class ContentLoFiDeciderTest : public testing::Test { |
false, // parent_is_main_frame |
false, // allow_download |
false, // is_async |
- is_using_lofi); |
+ is_using_lofi ? content::SERVER_LOFI_ON : content::PREVIEWS_OFF); |
} |
std::unique_ptr<net::URLRequest> CreateRequest(bool is_main_frame, |