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

Unified Diff: chrome/browser/android/process_utils.cc

Issue 11411315: Add missing 'session->CloseIdleConnections()' in process_utils.cc (for Android). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/process_utils.cc
diff --git a/chrome/browser/android/process_utils.cc b/chrome/browser/android/process_utils.cc
index e5cff54ad8d0efb6d9837dfb05e383ebb1434bb8..ebed4601a26321e0dbbc466d71242c08146355cc 100644
--- a/chrome/browser/android/process_utils.cc
+++ b/chrome/browser/android/process_utils.cc
@@ -37,6 +37,7 @@ void CloseIdleConnectionsForProfile(
net::HttpNetworkSession* session =
context->http_transaction_factory()->GetSession();
DCHECK(session);
+ session->CloseIdleConnections();
}
// Only accessed from the JNI thread by ToggleWebKitSharedTimers() which is
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698