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

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

Issue 1003953008: Remove prerender cookie store, part 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@prerender-revert-cookie-store-3
Patch Set: rebase (just in case since this is so huge) Created 5 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_usage_stats_unittest.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_usage_stats_unittest.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_usage_stats_unittest.cc
index ac75479e0eae97baa525817a0e715e9f7dd79ef5..d5c2e684dbccd71238992077055b565da4bacdb6 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_usage_stats_unittest.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_usage_stats_unittest.cc
@@ -81,15 +81,14 @@ class DataReductionProxyUsageStatsTest : public testing::Test {
~TestDataReductionProxyParams::HAS_DEV_FALLBACK_ORIGIN)
.WithMockConfig()
.Build();
- mock_url_request_ = context_.CreateRequest(GURL(), net::IDLE, &delegate_,
- NULL);
+ mock_url_request_ = context_.CreateRequest(GURL(), net::IDLE, &delegate_);
}
scoped_ptr<net::URLRequest> CreateURLRequestWithResponseHeaders(
const GURL& url,
const std::string& raw_response_headers) {
scoped_ptr<net::URLRequest> fake_request = context_.CreateRequest(
- url, net::IDLE, &delegate_, NULL);
+ url, net::IDLE, &delegate_);
// Create a test job that will fill in the given response headers for the
// |fake_request|.
@@ -622,7 +621,7 @@ class DataReductionProxyUsageStatsEndToEndTest : public testing::Test {
}
scoped_ptr<net::URLRequest> request(
- context_.CreateRequest(url, net::IDLE, &delegate_, NULL));
+ context_.CreateRequest(url, net::IDLE, &delegate_));
request->set_method("GET");
request->SetLoadFlags(net::LOAD_NORMAL);
request->Start();

Powered by Google App Engine
This is Rietveld 408576698