Home
last modified time | relevance | path

Searched refs:network_layer_ (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/net/url_request/
Durl_request_http_job_unittest.cc56 context_.set_http_transaction_factory(&network_layer_); in URLRequestHttpJobTest()
61 network_layer_.last_transaction()); in TransactionAcceptsSdchEncoding()
90 MockNetworkLayer network_layer_; member in net::__anon698204690111::URLRequestHttpJobTest
123 EXPECT_FALSE(network_layer_.last_transaction()); in TEST_F()
127 ASSERT_TRUE(network_layer_.last_transaction()); in TEST_F()
128 EXPECT_EQ(LOW, network_layer_.last_transaction()->priority()); in TEST_F()
138 ASSERT_TRUE(network_layer_.last_transaction()); in TEST_F()
139 EXPECT_EQ(LOW, network_layer_.last_transaction()->priority()); in TEST_F()
142 EXPECT_EQ(HIGHEST, network_layer_.last_transaction()->priority()); in TEST_F()
153 ASSERT_TRUE(network_layer_.last_transaction()); in TEST_F()
[all …]
Durl_request_ftp_job_unittest.cc134 context_.set_http_transaction_factory(&network_layer_); in URLRequestFtpJobPriorityTest()
138 MockNetworkLayer network_layer_; member in net::__anon20c2f1f30111::URLRequestFtpJobPriorityTest
173 EXPECT_FALSE(network_layer_.last_transaction()); in TEST_F()
177 ASSERT_TRUE(network_layer_.last_transaction()); in TEST_F()
178 EXPECT_EQ(LOW, network_layer_.last_transaction()->priority()); in TEST_F()
188 ASSERT_TRUE(network_layer_.last_transaction()); in TEST_F()
189 EXPECT_EQ(LOW, network_layer_.last_transaction()->priority()); in TEST_F()
192 EXPECT_EQ(HIGHEST, network_layer_.last_transaction()->priority()); in TEST_F()
203 ASSERT_TRUE(network_layer_.last_transaction()); in TEST_F()
204 EXPECT_EQ(LOW, network_layer_.last_transaction()->priority()); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/devtools/
Ddevtools_network_transaction_factory.cc17 network_layer_(new net::HttpNetworkLayer(session)) { in DevToolsNetworkTransactionFactory()
27 int rv = network_layer_->CreateTransaction(priority, &network_transaction); in CreateTransaction()
37 return network_layer_->GetCache(); in GetCache()
41 return network_layer_->GetSession(); in GetSession()
Ddevtools_network_transaction_factory.h38 scoped_ptr<net::HttpTransactionFactory> network_layer_; variable
Ddevtools_network_controller_unittest.cc53 network_layer_.CreateTransaction( in DevToolsNetworkControllerHelper()
95 MockNetworkLayer network_layer_; member in test::DevToolsNetworkControllerHelper
/external/chromium_org/net/http/
Dhttp_cache.cc302 network_layer_(new HttpNetworkLayer(new HttpNetworkSession(params))), in HttpCache()
304 SetupQuicServerInfoFactory(network_layer_->GetSession()); in HttpCache()
317 network_layer_(new HttpNetworkLayer(session)), in HttpCache()
329 network_layer_(network_layer), in HttpCache()
331 SetupQuicServerInfoFactory(network_layer_->GetSession()); in HttpCache()
481 return network_layer_->GetSession(); in GetSession()
487 scoped_ptr<HttpTransactionFactory> old_network_layer(network_layer_.Pass()); in SetHttpNetworkTransactionFactoryForTesting()
488 network_layer_ = new_network_layer.Pass(); in SetHttpNetworkTransactionFactoryForTesting()
Dhttp_cache.h149 HttpTransactionFactory* network_layer() { return network_layer_.get(); } in network_layer()
412 scoped_ptr<HttpTransactionFactory> network_layer_; variable
Dhttp_cache_transaction.cc1063 int rv = cache_->network_layer_->CreateTransaction(priority_, in DoSendRequest()