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"); |