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

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

Issue 1808333002: Fix GN builds to include build and patch in Chrome-Proxy header. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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_test_utils.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc
index d1a7a72bf07458003a3ee64e978630557b4793f2..8af0b73587d019fcd648a103eb78a38bf1d87d45 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc
@@ -85,10 +85,8 @@ void TestDataReductionProxyRequestOptions::set_offset(
MockDataReductionProxyRequestOptions::MockDataReductionProxyRequestOptions(
Client client,
- const std::string& version,
DataReductionProxyConfig* config)
- : TestDataReductionProxyRequestOptions(client, version, config) {
-}
+ : TestDataReductionProxyRequestOptions(client, "1.2.3.4", config) {}
MockDataReductionProxyRequestOptions::~MockDataReductionProxyRequestOptions() {
}
@@ -438,8 +436,8 @@ DataReductionProxyTestContext::Builder::Build() {
scoped_ptr<DataReductionProxyRequestOptions> request_options;
if (use_mock_request_options_) {
test_context_flags |= USE_MOCK_REQUEST_OPTIONS;
- request_options.reset(new MockDataReductionProxyRequestOptions(
- client_, std::string(), config.get()));
+ request_options.reset(
+ new MockDataReductionProxyRequestOptions(client_, config.get()));
} else {
request_options.reset(
new DataReductionProxyRequestOptions(client_, config.get()));

Powered by Google App Engine
This is Rietveld 408576698