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

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

Issue 2103223002: Adding version info to the client config request (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: lots of changes Created 4 years, 6 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_io_data_unittest.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data_unittest.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data_unittest.cc
index 23dcb555f8cc423eecd78438d74703cc55cdfc5f..df76a35fd36dd4b4d7e30e525a434cdd6a5771df 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data_unittest.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data_unittest.cc
@@ -95,21 +95,21 @@ class DataReductionProxyIODataTest : public testing::Test {
net::TestURLRequestContext context_;
net::NetLog net_log_;
TestingPrefServiceSimple prefs_;
};
TEST_F(DataReductionProxyIODataTest, TestConstruction) {
std::unique_ptr<DataReductionProxyIOData> io_data(
new DataReductionProxyIOData(
Client::UNKNOWN, DataReductionProxyParams::kAllowed, net_log(),
task_runner(), task_runner(), false /* enabled */,
- std::string() /* user_agent */));
+ std::string() /* user_agent */, std::string() /* channel */));
// Check that the SimpleURLRequestContextGetter uses vanilla HTTP.
net::URLRequestContext* request_context =
io_data->basic_url_request_context_getter_.get()->GetURLRequestContext();
const net::HttpNetworkSession::Params* http_params =
request_context->GetNetworkSessionParams();
EXPECT_FALSE(http_params->enable_spdy31);
EXPECT_FALSE(http_params->enable_http2);
EXPECT_FALSE(http_params->enable_quic);

Powered by Google App Engine
This is Rietveld 408576698