summaryrefslogtreecommitdiffstats
path: root/net/socket/client_socket_pool_base.h
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-14 04:54:46 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-14 04:54:46 +0000
commit684970b638fbfe1a2137fd162f630c86d2859828 (patch)
treeb74fafda6801aa5c9e8746c230b8a2880a1de585 /net/socket/client_socket_pool_base.h
parentc4deb899d3293782beeb8d83eefc226a5fb1813e (diff)
downloadchromium_src-684970b638fbfe1a2137fd162f630c86d2859828.zip
chromium_src-684970b638fbfe1a2137fd162f630c86d2859828.tar.gz
chromium_src-684970b638fbfe1a2137fd162f630c86d2859828.tar.bz2
LoadLog is used as an output parameter, reorder it to the last parameter.
Review URL: http://codereview.chromium.org/164531 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23419 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket/client_socket_pool_base.h')
-rw-r--r--net/socket/client_socket_pool_base.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/net/socket/client_socket_pool_base.h b/net/socket/client_socket_pool_base.h
index 762c0ed..4ae96f8 100644
--- a/net/socket/client_socket_pool_base.h
+++ b/net/socket/client_socket_pool_base.h
@@ -110,11 +110,11 @@ class ClientSocketPoolBase
priority(0),
resolve_info(std::string(), 0) {}
- Request(LoadLog* load_log,
- ClientSocketHandle* handle,
+ Request(ClientSocketHandle* handle,
CompletionCallback* callback,
int priority,
- const HostResolver::RequestInfo& resolve_info)
+ const HostResolver::RequestInfo& resolve_info,
+ LoadLog* load_log)
: load_log(load_log), handle(handle), callback(callback),
priority(priority), resolve_info(resolve_info) {
}
@@ -146,12 +146,12 @@ class ClientSocketPoolBase
~ClientSocketPoolBase();
- int RequestSocket(LoadLog* load_log,
- const std::string& group_name,
+ int RequestSocket(const std::string& group_name,
const HostResolver::RequestInfo& resolve_info,
int priority,
ClientSocketHandle* handle,
- CompletionCallback* callback);
+ CompletionCallback* callback,
+ LoadLog* load_log);
void CancelRequest(const std::string& group_name,
const ClientSocketHandle* handle);