| Index: net/http/http_network_layer_unittest.cc
|
| ===================================================================
|
| --- net/http/http_network_layer_unittest.cc (revision 147972)
|
| +++ net/http/http_network_layer_unittest.cc (working copy)
|
| @@ -50,28 +50,28 @@
|
|
|
| TEST_F(HttpNetworkLayerTest, CreateAndDestroy) {
|
| scoped_ptr<HttpTransaction> trans;
|
| - int rv = factory_->CreateTransaction(&trans);
|
| + int rv = factory_->CreateTransaction(&trans, NULL);
|
| EXPECT_EQ(OK, rv);
|
| EXPECT_TRUE(trans.get() != NULL);
|
| }
|
|
|
| TEST_F(HttpNetworkLayerTest, Suspend) {
|
| scoped_ptr<HttpTransaction> trans;
|
| - int rv = factory_->CreateTransaction(&trans);
|
| + int rv = factory_->CreateTransaction(&trans, NULL);
|
| EXPECT_EQ(OK, rv);
|
|
|
| trans.reset();
|
|
|
| factory_->OnSuspend();
|
|
|
| - rv = factory_->CreateTransaction(&trans);
|
| + rv = factory_->CreateTransaction(&trans, NULL);
|
| EXPECT_EQ(ERR_NETWORK_IO_SUSPENDED, rv);
|
|
|
| ASSERT_TRUE(trans == NULL);
|
|
|
| factory_->OnResume();
|
|
|
| - rv = factory_->CreateTransaction(&trans);
|
| + rv = factory_->CreateTransaction(&trans, NULL);
|
| EXPECT_EQ(OK, rv);
|
| }
|
|
|
| @@ -101,7 +101,7 @@
|
| request_info.load_flags = LOAD_NORMAL;
|
|
|
| scoped_ptr<HttpTransaction> trans;
|
| - int rv = factory_->CreateTransaction(&trans);
|
| + int rv = factory_->CreateTransaction(&trans, NULL);
|
| EXPECT_EQ(OK, rv);
|
|
|
| rv = trans->Start(&request_info, callback.callback(), BoundNetLog());
|
|
|