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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_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_interceptor_unittest.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_unittest.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_unittest.cc
index 57c8beb8d7bcb7439e4b11f3d78b1801b7870c76..10b91ed6586bf3c52956c08cbe3f3e5b87889792 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_unittest.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_unittest.cc
@@ -158,7 +158,7 @@ TEST_F(DataReductionProxyInterceptorTest, TestJobFactoryChaining) {
net::TestDelegate d;
scoped_ptr<net::URLRequest> req(default_context_->CreateRequest(
- GURL("http://foo"), net::DEFAULT_PRIORITY, &d, nullptr));
+ GURL("http://foo"), net::DEFAULT_PRIORITY, &d));
req->Start();
base::RunLoop().Run();
@@ -252,7 +252,7 @@ TEST_F(DataReductionProxyInterceptorWithServerTest, TestBypass) {
net::TestDelegate delegate;
scoped_ptr<net::URLRequest> request(
context().CreateRequest(direct().GetURL("/block10.html"),
- net::DEFAULT_PRIORITY, &delegate, NULL));
+ net::DEFAULT_PRIORITY, &delegate));
request->Start();
EXPECT_TRUE(request->is_pending());
base::RunLoop().Run();
@@ -266,7 +266,7 @@ TEST_F(DataReductionProxyInterceptorWithServerTest, TestNoBypass) {
net::TestDelegate delegate;
scoped_ptr<net::URLRequest> request(
context().CreateRequest(direct().GetURL("/noblock.html"),
- net::DEFAULT_PRIORITY, &delegate, NULL));
+ net::DEFAULT_PRIORITY, &delegate));
request->Start();
EXPECT_TRUE(request->is_pending());
base::RunLoop().Run();
@@ -310,7 +310,7 @@ class DataReductionProxyInterceptorEndToEndTest : public testing::Test {
// it. Returns the created URLRequest.
scoped_ptr<net::URLRequest> CreateAndExecuteRequest(const GURL& url) {
scoped_ptr<net::URLRequest> request(
- context_.CreateRequest(url, net::IDLE, &delegate_, NULL));
+ context_.CreateRequest(url, net::IDLE, &delegate_));
request->Start();
drp_test_context_->RunUntilIdle();
return request.Pass();

Powered by Google App Engine
This is Rietveld 408576698