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

Side by Side Diff: jingle/notifier/base/proxy_resolving_client_socket.h

Issue 8551004: base::Bind: Convert jingle/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 10 #pragma once
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/memory/weak_ptr.h"
14 #include "net/base/completion_callback.h" 15 #include "net/base/completion_callback.h"
15 #include "net/base/host_port_pair.h" 16 #include "net/base/host_port_pair.h"
16 #include "net/base/net_errors.h" 17 #include "net/base/net_errors.h"
17 #include "net/base/net_log.h" 18 #include "net/base/net_log.h"
18 #include "net/base/ssl_config_service.h" 19 #include "net/base/ssl_config_service.h"
19 #include "net/proxy/proxy_info.h" 20 #include "net/proxy/proxy_info.h"
20 #include "net/proxy/proxy_service.h" 21 #include "net/proxy/proxy_service.h"
21 #include "net/socket/stream_socket.h" 22 #include "net/socket/stream_socket.h"
22 23
23 namespace net { 24 namespace net {
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 84
84 // The transport socket. 85 // The transport socket.
85 scoped_ptr<net::ClientSocketHandle> transport_; 86 scoped_ptr<net::ClientSocketHandle> transport_;
86 87
87 const net::SSLConfig ssl_config_; 88 const net::SSLConfig ssl_config_;
88 net::ProxyService::PacRequest* pac_request_; 89 net::ProxyService::PacRequest* pac_request_;
89 net::ProxyInfo proxy_info_; 90 net::ProxyInfo proxy_info_;
90 net::HostPortPair dest_host_port_pair_; 91 net::HostPortPair dest_host_port_pair_;
91 bool tried_direct_connect_fallback_; 92 bool tried_direct_connect_fallback_;
92 net::BoundNetLog bound_net_log_; 93 net::BoundNetLog bound_net_log_;
93 ScopedRunnableMethodFactory<ProxyResolvingClientSocket> 94 base::WeakPtrFactory<ProxyResolvingClientSocket> weak_factory_;
94 scoped_runnable_method_factory_;
95 95
96 // The callback passed to Connect(). 96 // The callback passed to Connect().
97 net::OldCompletionCallback* user_connect_callback_; 97 net::OldCompletionCallback* user_connect_callback_;
98 }; 98 };
99 99
100 } // namespace notifier 100 } // namespace notifier
101 101
102 #endif // JINGLE_NOTIFIER_BASE_PROXY_RESOLVING_CLIENT_SOCKET_H_ 102 #endif // JINGLE_NOTIFIER_BASE_PROXY_RESOLVING_CLIENT_SOCKET_H_
OLDNEW
« no previous file with comments | « jingle/notifier/base/chrome_async_socket.cc ('k') | jingle/notifier/base/proxy_resolving_client_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698