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

Unified Diff: net/flip/flip_network_transaction.cc

Issue 348066: Flip: FlipSessionPool changes. (Closed)
Patch Set: Windows build fix. Created 11 years, 1 month 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 | « no previous file | net/flip/flip_network_transaction_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/flip/flip_network_transaction.cc
diff --git a/net/flip/flip_network_transaction.cc b/net/flip/flip_network_transaction.cc
index 77059fadd83d446e6b0203fb04dcab623003598b..e23342d14344be8d411ebbea5edf275ef135ab1d 100644
--- a/net/flip/flip_network_transaction.cc
+++ b/net/flip/flip_network_transaction.cc
@@ -308,7 +308,7 @@ int FlipNetworkTransaction::DoInitConnection() {
#undef USE_MULTIPLE_CONNECTIONS
#undef DIVERT_URLS_TO_TEST_SERVER
#if defined(USE_MULTIPLE_CONNECTIONS) || !defined(DIVERT_URLS_TO_TEST_SERVER)
- flip_ = FlipSession::GetFlipSession(resolve_info, session_);
+ flip_ = session_->flip_session_pool()->Get(resolve_info, session_);
Mike Belshe 2009/11/04 00:21:54 Note: I have another CL with changes in this area
#endif
// Use this to divert URLs to a test server.
@@ -318,7 +318,7 @@ int FlipNetworkTransaction::DoInitConnection() {
port = 443;
resolve_info = HostResolver::RequestInfo(host, port);
#ifndef USE_MULTIPLE_CONNECTIONS
- flip_ = FlipSession::GetFlipSession(resolve_info, session_);
+ flip_ = session_->flip_session_pool()->Get(resolve_info, session_);
#endif // USE_MULTIPLE_CONNECTIONS
#endif // DIVERT_URLS_TO_TEST_SERVER
« no previous file with comments | « no previous file | net/flip/flip_network_transaction_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698