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

Unified Diff: net/url_request/url_request_context_builder_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
« no previous file with comments | « net/url_request/url_request_context.cc ('k') | net/url_request/url_request_file_job_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_context_builder_unittest.cc
diff --git a/net/url_request/url_request_context_builder_unittest.cc b/net/url_request/url_request_context_builder_unittest.cc
index 677023c75dc3345aef9f0d78d8923aba06360ac3..df1edafd044486959bde95f1cd234c818fb35324 100644
--- a/net/url_request/url_request_context_builder_unittest.cc
+++ b/net/url_request/url_request_context_builder_unittest.cc
@@ -80,11 +80,8 @@ TEST_F(URLRequestContextBuilderTest, DefaultSettings) {
scoped_ptr<URLRequestContext> context(builder_.Build());
TestDelegate delegate;
- scoped_ptr<URLRequest> request(
- context->CreateRequest(test_server_.GetURL("echoheader?Foo"),
- DEFAULT_PRIORITY,
- &delegate,
- context->cookie_store()));
+ scoped_ptr<URLRequest> request(context->CreateRequest(
+ test_server_.GetURL("echoheader?Foo"), DEFAULT_PRIORITY, &delegate));
request->set_method("GET");
request->SetExtraRequestHeaderByName("Foo", "Bar", false);
request->Start();
@@ -100,9 +97,7 @@ TEST_F(URLRequestContextBuilderTest, UserAgent) {
TestDelegate delegate;
scoped_ptr<URLRequest> request(
context->CreateRequest(test_server_.GetURL("echoheader?User-Agent"),
- DEFAULT_PRIORITY,
- &delegate,
- NULL));
+ DEFAULT_PRIORITY, &delegate));
request->set_method("GET");
request->Start();
base::MessageLoop::current()->Run();
« no previous file with comments | « net/url_request/url_request_context.cc ('k') | net/url_request/url_request_file_job_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698