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

Unified Diff: net/socket/tcp_client_socket_pool.cc

Issue 6314010: Even more reordering the methods in headers and implementation in net/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 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/socket/tcp_client_socket_pool.h ('k') | net/spdy/spdy_frame_builder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/tcp_client_socket_pool.cc
diff --git a/net/socket/tcp_client_socket_pool.cc b/net/socket/tcp_client_socket_pool.cc
index 5f017ea6640508d0d77c4fd709f0c1be63d57835..4d71e2d83efe8a5d9b517bba3c48455bbbb01272 100644
--- a/net/socket/tcp_client_socket_pool.cc
+++ b/net/socket/tcp_client_socket_pool.cc
@@ -97,12 +97,6 @@ LoadState TCPConnectJob::GetLoadState() const {
}
}
-int TCPConnectJob::ConnectInternal() {
- next_state_ = STATE_RESOLVE_HOST;
- start_time_ = base::TimeTicks::Now();
- return DoLoop(OK);
-}
-
void TCPConnectJob::OnIOComplete(int result) {
int rv = DoLoop(result);
if (rv != ERR_IO_PENDING)
@@ -188,6 +182,12 @@ int TCPConnectJob::DoTCPConnectComplete(int result) {
return result;
}
+int TCPConnectJob::ConnectInternal() {
+ next_state_ = STATE_RESOLVE_HOST;
+ start_time_ = base::TimeTicks::Now();
+ return DoLoop(OK);
+}
+
ConnectJob* TCPClientSocketPool::TCPConnectJobFactory::NewConnectJob(
const std::string& group_name,
const PoolBase::Request& request,
« no previous file with comments | « net/socket/tcp_client_socket_pool.h ('k') | net/spdy/spdy_frame_builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698