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

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

Issue 7014009: Pass net_log parameter properly for ProxyResolvingClientSocket (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 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 | 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
(...skipping 17 matching lines...) Expand all
28 28
29 // TODO(sanjeevr): Move this to net/ 29 // TODO(sanjeevr): Move this to net/
30 namespace notifier { 30 namespace notifier {
31 31
32 class ProxyResolvingClientSocket : public net::StreamSocket { 32 class ProxyResolvingClientSocket : public net::StreamSocket {
33 public: 33 public:
34 ProxyResolvingClientSocket( 34 ProxyResolvingClientSocket(
35 const scoped_refptr<net::URLRequestContextGetter>& 35 const scoped_refptr<net::URLRequestContextGetter>&
36 request_context_getter, 36 request_context_getter,
37 const net::SSLConfig& ssl_config, 37 const net::SSLConfig& ssl_config,
38 const net::HostPortPair& dest_host_port_pair, 38 const net::HostPortPair& dest_host_port_pair);
39 net::NetLog* net_log);
40 virtual ~ProxyResolvingClientSocket(); 39 virtual ~ProxyResolvingClientSocket();
41 40
42 // net::StreamSocket implementation. 41 // net::StreamSocket implementation.
43 virtual int Read(net::IOBuffer* buf, int buf_len, 42 virtual int Read(net::IOBuffer* buf, int buf_len,
44 net::CompletionCallback* callback) OVERRIDE; 43 net::CompletionCallback* callback) OVERRIDE;
45 virtual int Write(net::IOBuffer* buf, int buf_len, 44 virtual int Write(net::IOBuffer* buf, int buf_len,
46 net::CompletionCallback* callback) OVERRIDE; 45 net::CompletionCallback* callback) OVERRIDE;
47 virtual bool SetReceiveBufferSize(int32 size) OVERRIDE; 46 virtual bool SetReceiveBufferSize(int32 size) OVERRIDE;
48 virtual bool SetSendBufferSize(int32 size) OVERRIDE; 47 virtual bool SetSendBufferSize(int32 size) OVERRIDE;
49 virtual int Connect(net::CompletionCallback* callback) OVERRIDE; 48 virtual int Connect(net::CompletionCallback* callback) OVERRIDE;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 ScopedRunnableMethodFactory<ProxyResolvingClientSocket> 85 ScopedRunnableMethodFactory<ProxyResolvingClientSocket>
87 scoped_runnable_method_factory_; 86 scoped_runnable_method_factory_;
88 87
89 // The callback passed to Connect(). 88 // The callback passed to Connect().
90 net::CompletionCallback* user_connect_callback_; 89 net::CompletionCallback* user_connect_callback_;
91 }; 90 };
92 91
93 } // namespace notifier 92 } // namespace notifier
94 93
95 #endif // JINGLE_NOTIFIER_BASE_PROXY_RESOLVING_CLIENT_SOCKET_H_ 94 #endif // JINGLE_NOTIFIER_BASE_PROXY_RESOLVING_CLIENT_SOCKET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698