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

Unified Diff: net/http/http_network_layer_unittest.cc

Issue 10736066: Adding histograms showing fraction of page load times (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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/http/http_network_layer.cc ('k') | net/http/http_transaction_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_network_layer_unittest.cc
===================================================================
--- net/http/http_network_layer_unittest.cc (revision 148459)
+++ 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());
« no previous file with comments | « net/http/http_network_layer.cc ('k') | net/http/http_transaction_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698