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

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

Issue 2326443004: Fixing redirect through DataReductionProxy logic. (Closed)
Patch Set: tbansal comments Created 4 years, 3 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
« no previous file with comments | « components/data_reduction_proxy/core/browser/data_reduction_proxy_pingback_client.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_pingback_client_unittest.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_pingback_client_unittest.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_pingback_client_unittest.cc
index 27623ac2d658f398b2d6901ac304684b2d74430a..7a555604ad7409b65c9cbb421bd6f23095f021a4 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_pingback_client_unittest.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_pingback_client_unittest.cc
@@ -101,21 +101,21 @@ class DataReductionProxyPingbackClientTest : public testing::Test {
request_context_getter_ =
new net::TestURLRequestContextGetter(message_loop_.task_runner());
pingback_client_ = base::WrapUnique<TestDataReductionProxyPingbackClient>(
new TestDataReductionProxyPingbackClient(
request_context_getter_.get()));
}
void CreateAndSendPingback() {
DataReductionProxyData request_data;
request_data.set_session_key(kSessionKey);
- request_data.set_original_request_url(GURL(kFakeURL));
+ request_data.set_request_url(GURL(kFakeURL));
request_data.set_effective_connection_type(
net::EFFECTIVE_CONNECTION_TYPE_OFFLINE);
factory()->set_remove_fetcher_on_delete(true);
pingback_client()->SendPingback(request_data, timing_);
}
net::TestURLFetcherFactory* factory() { return &factory_; }
const DataReductionProxyPageLoadTiming& timing() { return timing_; }
« no previous file with comments | « components/data_reduction_proxy/core/browser/data_reduction_proxy_pingback_client.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698