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

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

Issue 2366893002: net: address review comments for NetLogWithSource renaming (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « net/socket/client_socket_pool_manager.h ('k') | net/spdy/bidirectional_stream_spdy_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef NET_SOCKET_WEBSOCKET_TRANSPORT_CONNECT_SUB_JOB_H_ 5 #ifndef NET_SOCKET_WEBSOCKET_TRANSPORT_CONNECT_SUB_JOB_H_
6 #define NET_SOCKET_WEBSOCKET_TRANSPORT_CONNECT_SUB_JOB_H_ 6 #define NET_SOCKET_WEBSOCKET_TRANSPORT_CONNECT_SUB_JOB_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <utility> 11 #include <utility>
12 12
13 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "net/base/address_list.h" 15 #include "net/base/address_list.h"
16 #include "net/base/load_states.h" 16 #include "net/base/load_states.h"
17 #include "net/socket/websocket_endpoint_lock_manager.h" 17 #include "net/socket/websocket_endpoint_lock_manager.h"
18 #include "net/socket/websocket_transport_client_socket_pool.h" 18 #include "net/socket/websocket_transport_client_socket_pool.h"
19 19
20 namespace net { 20 namespace net {
21 21
22 class NetLogWithSource;
23 class ClientSocketFactory; 22 class ClientSocketFactory;
24 class IPEndPoint; 23 class IPEndPoint;
24 class NetLogWithSource;
25 class StreamSocket; 25 class StreamSocket;
26 26
27 // Attempts to connect to a subset of the addresses required by a 27 // Attempts to connect to a subset of the addresses required by a
28 // WebSocketTransportConnectJob, specifically either the IPv4 or IPv6 28 // WebSocketTransportConnectJob, specifically either the IPv4 or IPv6
29 // addresses. Each address is tried in turn, and parent_job->OnSubJobComplete() 29 // addresses. Each address is tried in turn, and parent_job->OnSubJobComplete()
30 // is called when the first address succeeds or the last address fails. 30 // is called when the first address succeeds or the last address fails.
31 class WebSocketTransportConnectSubJob 31 class WebSocketTransportConnectSubJob
32 : public WebSocketEndpointLockManager::Waiter { 32 : public WebSocketEndpointLockManager::Waiter {
33 public: 33 public:
34 typedef WebSocketTransportConnectJob::SubJobType SubJobType; 34 typedef WebSocketTransportConnectJob::SubJobType SubJobType;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 const SubJobType type_; 87 const SubJobType type_;
88 88
89 std::unique_ptr<StreamSocket> transport_socket_; 89 std::unique_ptr<StreamSocket> transport_socket_;
90 90
91 DISALLOW_COPY_AND_ASSIGN(WebSocketTransportConnectSubJob); 91 DISALLOW_COPY_AND_ASSIGN(WebSocketTransportConnectSubJob);
92 }; 92 };
93 93
94 } // namespace net 94 } // namespace net
95 95
96 #endif // NET_SOCKET_WEBSOCKET_TRANSPORT_CONNECT_SUB_JOB_H_ 96 #endif // NET_SOCKET_WEBSOCKET_TRANSPORT_CONNECT_SUB_JOB_H_
OLDNEW
« no previous file with comments | « net/socket/client_socket_pool_manager.h ('k') | net/spdy/bidirectional_stream_spdy_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698