OLD | NEW |
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_NOTIFIER_BASE_PROXY_RESOLVING_CLIENT_SOCKET_H_ | 8 #ifndef JINGLE_NOTIFIER_BASE_PROXY_RESOLVING_CLIENT_SOCKET_H_ |
9 #define JINGLE_NOTIFIER_BASE_PROXY_RESOLVING_CLIENT_SOCKET_H_ | 9 #define JINGLE_NOTIFIER_BASE_PROXY_RESOLVING_CLIENT_SOCKET_H_ |
10 #pragma once | |
11 | 10 |
12 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
13 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
14 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
15 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
16 #include "net/base/completion_callback.h" | 15 #include "net/base/completion_callback.h" |
17 #include "net/base/host_port_pair.h" | 16 #include "net/base/host_port_pair.h" |
18 #include "net/base/net_errors.h" | 17 #include "net/base/net_errors.h" |
19 #include "net/base/net_log.h" | 18 #include "net/base/net_log.h" |
20 #include "net/base/ssl_config_service.h" | 19 #include "net/base/ssl_config_service.h" |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 net::BoundNetLog bound_net_log_; | 95 net::BoundNetLog bound_net_log_; |
97 base::WeakPtrFactory<ProxyResolvingClientSocket> weak_factory_; | 96 base::WeakPtrFactory<ProxyResolvingClientSocket> weak_factory_; |
98 | 97 |
99 // The callback passed to Connect(). | 98 // The callback passed to Connect(). |
100 net::CompletionCallback user_connect_callback_; | 99 net::CompletionCallback user_connect_callback_; |
101 }; | 100 }; |
102 | 101 |
103 } // namespace notifier | 102 } // namespace notifier |
104 | 103 |
105 #endif // JINGLE_NOTIFIER_BASE_PROXY_RESOLVING_CLIENT_SOCKET_H_ | 104 #endif // JINGLE_NOTIFIER_BASE_PROXY_RESOLVING_CLIENT_SOCKET_H_ |
OLD | NEW |