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

Side by Side Diff: net/socket/websocket_transport_connect_sub_job.cc

Issue 2333923004: Extracting NetLog inner classes into their own classes. (Closed)
Patch Set: Some nit fixes and better, impl-agnostic naming of net_log_parameters_callback_typedef.h -> net/log… Created 4 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/socket/websocket_transport_connect_sub_job.h" 5 #include "net/socket/websocket_transport_connect_sub_job.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "net/base/ip_endpoint.h" 8 #include "net/base/ip_endpoint.h"
9 #include "net/base/net_errors.h" 9 #include "net/base/net_errors.h"
10 #include "net/log/net_log.h" 10 #include "net/log/net_log_with_source.h"
11 #include "net/socket/client_socket_factory.h" 11 #include "net/socket/client_socket_factory.h"
12 #include "net/socket/websocket_endpoint_lock_manager.h" 12 #include "net/socket/websocket_endpoint_lock_manager.h"
13 13
14 namespace net { 14 namespace net {
15 15
16 WebSocketTransportConnectSubJob::WebSocketTransportConnectSubJob( 16 WebSocketTransportConnectSubJob::WebSocketTransportConnectSubJob(
17 const AddressList& addresses, 17 const AddressList& addresses,
18 WebSocketTransportConnectJob* parent_job, 18 WebSocketTransportConnectJob* parent_job,
19 SubJobType type) 19 SubJobType type)
20 : parent_job_(parent_job), 20 : parent_job_(parent_job),
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 return result; 161 return result;
162 } 162 }
163 163
164 endpoint_lock_manager->RememberSocket(transport_socket_.get(), 164 endpoint_lock_manager->RememberSocket(transport_socket_.get(),
165 CurrentAddress()); 165 CurrentAddress());
166 166
167 return result; 167 return result;
168 } 168 }
169 169
170 } // namespace net 170 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698