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

Side by Side Diff: jingle/glue/proxy_resolving_client_socket.h

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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // This StreamSocket implementation wraps a ClientSocketHandle that is created 5 // This StreamSocket implementation wraps a ClientSocketHandle that is created
6 // from the client socket pool after resolving proxies. 6 // from the client socket pool after resolving proxies.
7 7
8 #ifndef JINGLE_GLUE_PROXY_RESOLVING_CLIENT_SOCKET_H_ 8 #ifndef JINGLE_GLUE_PROXY_RESOLVING_CLIENT_SOCKET_H_
9 #define JINGLE_GLUE_PROXY_RESOLVING_CLIENT_SOCKET_H_ 9 #define JINGLE_GLUE_PROXY_RESOLVING_CLIENT_SOCKET_H_
10 10
11 #include <stdint.h> 11 #include <stdint.h>
12 12
13 #include <memory> 13 #include <memory>
14 14
15 #include "base/compiler_specific.h" 15 #include "base/compiler_specific.h"
16 #include "base/macros.h" 16 #include "base/macros.h"
17 #include "base/memory/ref_counted.h" 17 #include "base/memory/ref_counted.h"
18 #include "base/memory/weak_ptr.h" 18 #include "base/memory/weak_ptr.h"
19 #include "net/base/completion_callback.h" 19 #include "net/base/completion_callback.h"
20 #include "net/base/host_port_pair.h" 20 #include "net/base/host_port_pair.h"
21 #include "net/base/net_errors.h" 21 #include "net/base/net_errors.h"
22 #include "net/log/net_log.h" 22 #include "net/log/net_log_with_source.h"
23 #include "net/proxy/proxy_info.h" 23 #include "net/proxy/proxy_info.h"
24 #include "net/proxy/proxy_service.h" 24 #include "net/proxy/proxy_service.h"
25 #include "net/socket/next_proto.h" 25 #include "net/socket/next_proto.h"
26 #include "net/socket/stream_socket.h" 26 #include "net/socket/stream_socket.h"
27 #include "net/ssl/ssl_config_service.h" 27 #include "net/ssl/ssl_config_service.h"
28 #include "url/gurl.h" 28 #include "url/gurl.h"
29 29
30 namespace net { 30 namespace net {
31 class ClientSocketFactory; 31 class ClientSocketFactory;
32 class ClientSocketHandle; 32 class ClientSocketHandle;
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 net::CompletionCallback user_connect_callback_; 111 net::CompletionCallback user_connect_callback_;
112 112
113 base::WeakPtrFactory<ProxyResolvingClientSocket> weak_factory_; 113 base::WeakPtrFactory<ProxyResolvingClientSocket> weak_factory_;
114 114
115 DISALLOW_COPY_AND_ASSIGN(ProxyResolvingClientSocket); 115 DISALLOW_COPY_AND_ASSIGN(ProxyResolvingClientSocket);
116 }; 116 };
117 117
118 } // namespace jingle_glue 118 } // namespace jingle_glue
119 119
120 #endif // JINGLE_GLUE_PROXY_RESOLVING_CLIENT_SOCKET_H_ 120 #endif // JINGLE_GLUE_PROXY_RESOLVING_CLIENT_SOCKET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698