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

Unified Diff: net/base/client_socket_handle.cc

Issue 42541: Prioritize which HTTP requests get a socket first by adding a priority level ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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/base/client_socket_handle.h ('k') | net/base/client_socket_pool.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/client_socket_handle.cc
===================================================================
--- net/base/client_socket_handle.cc (revision 12453)
+++ net/base/client_socket_handle.cc (working copy)
@@ -18,10 +18,11 @@
}
int ClientSocketHandle::Init(const std::string& group_name,
+ int priority,
CompletionCallback* callback) {
Reset();
group_name_ = group_name;
- return pool_->RequestSocket(this, callback);
+ return pool_->RequestSocket(this, priority, callback);
}
void ClientSocketHandle::Reset() {
« no previous file with comments | « net/base/client_socket_handle.h ('k') | net/base/client_socket_pool.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698