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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_request_options_unittest.cc

Issue 1124073008: Base Data Reduction Proxy configuration on vectors of servers per origin scheme. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: bengr CR comments Created 5 years, 7 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/core/browser/data_reduction_proxy_request_options_unittest.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_request_options_unittest.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_request_options_unittest.cc
index ab271aa2e23dce872d6c4821874cffba5d122763..0fb71d32520c2c6c70867536440e6098a90ec8d4 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_request_options_unittest.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_request_options_unittest.cc
@@ -136,7 +136,11 @@ void SetHeaderExpectations(const std::string& session,
class DataReductionProxyRequestOptionsTest : public testing::Test {
public:
DataReductionProxyRequestOptionsTest() {
- test_context_ = DataReductionProxyTestContext::Builder().Build();
+ test_context_ =
+ DataReductionProxyTestContext::Builder()
+ .WithParamsFlags(
+ DataReductionProxyParams::kAllowAllProxyConfigurations)
+ .Build();
}
void CreateRequestOptions(const std::string& version) {

Powered by Google App Engine
This is Rietveld 408576698