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

Unified Diff: net/url_request/url_request_job_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: net/url_request/url_request_job_unittest.cc
diff --git a/net/url_request/url_request_job_unittest.cc b/net/url_request/url_request_job_unittest.cc
index 6cc5fbc43c2e25534de7dc2bb99e2cd7e2af5b06..080eda9882357ef2df1e0d4f60dc829d80b6991a 100644
--- a/net/url_request/url_request_job_unittest.cc
+++ b/net/url_request/url_request_job_unittest.cc
@@ -80,8 +80,8 @@ TEST(URLRequestJob, TransactionNotifiedWhenDone) {
context.set_http_transaction_factory(&network_layer);
TestDelegate d;
- scoped_ptr<URLRequest> req(context.CreateRequest(
- GURL(kGZip_Transaction.url), DEFAULT_PRIORITY, &d, NULL));
+ scoped_ptr<URLRequest> req(
+ context.CreateRequest(GURL(kGZip_Transaction.url), DEFAULT_PRIORITY, &d));
AddMockTransaction(&kGZip_Transaction);
req->set_method("GET");
@@ -100,8 +100,8 @@ TEST(URLRequestJob, SyncTransactionNotifiedWhenDone) {
context.set_http_transaction_factory(&network_layer);
TestDelegate d;
- scoped_ptr<URLRequest> req(context.CreateRequest(
- GURL(kGZip_Transaction.url), DEFAULT_PRIORITY, &d, NULL));
+ scoped_ptr<URLRequest> req(
+ context.CreateRequest(GURL(kGZip_Transaction.url), DEFAULT_PRIORITY, &d));
MockTransaction transaction(kGZip_Transaction);
transaction.test_mode = TEST_MODE_SYNC_ALL;
AddMockTransaction(&transaction);
@@ -123,8 +123,8 @@ TEST(URLRequestJob, SyncSlowTransaction) {
context.set_http_transaction_factory(&network_layer);
TestDelegate d;
- scoped_ptr<URLRequest> req(context.CreateRequest(
- GURL(kGZip_Transaction.url), DEFAULT_PRIORITY, &d, NULL));
+ scoped_ptr<URLRequest> req(
+ context.CreateRequest(GURL(kGZip_Transaction.url), DEFAULT_PRIORITY, &d));
MockTransaction transaction(kGZip_Transaction);
transaction.test_mode = TEST_MODE_SYNC_ALL | TEST_MODE_SLOW_READ;
transaction.handler = &BigGZipServer;
@@ -147,7 +147,7 @@ TEST(URLRequestJob, RedirectTransactionNotifiedWhenDone) {
TestDelegate d;
scoped_ptr<URLRequest> req(context.CreateRequest(
- GURL(kRedirect_Transaction.url), DEFAULT_PRIORITY, &d, NULL));
+ GURL(kRedirect_Transaction.url), DEFAULT_PRIORITY, &d));
AddMockTransaction(&kRedirect_Transaction);
req->set_method("GET");
@@ -169,8 +169,8 @@ TEST(URLRequestJob, TransactionNotCachedWhenNetworkDelegateRedirects) {
context.set_network_delegate(&network_delegate);
TestDelegate d;
- scoped_ptr<URLRequest> req(context.CreateRequest(
- GURL(kGZip_Transaction.url), DEFAULT_PRIORITY, &d, NULL));
+ scoped_ptr<URLRequest> req(
+ context.CreateRequest(GURL(kGZip_Transaction.url), DEFAULT_PRIORITY, &d));
AddMockTransaction(&kGZip_Transaction);
req->set_method("GET");
« no previous file with comments | « net/url_request/url_request_job_factory_impl_unittest.cc ('k') | net/url_request/url_request_simple_job_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698