Chromium Code Reviews

Side by Side Diff: net/spdy/spdy_proxy_client_socket.h

Issue 10491007: fixed issue 128383 - replace GetPeerAddress(AddressList* address) with GetPeerAddress(IPEndPoint* a… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix according to review Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
« no previous file with comments | « net/spdy/spdy_http_stream.cc ('k') | net/spdy/spdy_proxy_client_socket.cc » ('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 (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 #ifndef NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_ 5 #ifndef NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_
6 #define NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_ 6 #define NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <list> 10 #include <list>
(...skipping 68 matching lines...)
79 79
80 // Socket implementation. 80 // Socket implementation.
81 virtual int Read(IOBuffer* buf, 81 virtual int Read(IOBuffer* buf,
82 int buf_len, 82 int buf_len,
83 const CompletionCallback& callback) OVERRIDE; 83 const CompletionCallback& callback) OVERRIDE;
84 virtual int Write(IOBuffer* buf, 84 virtual int Write(IOBuffer* buf,
85 int buf_len, 85 int buf_len,
86 const CompletionCallback& callback) OVERRIDE; 86 const CompletionCallback& callback) OVERRIDE;
87 virtual bool SetReceiveBufferSize(int32 size) OVERRIDE; 87 virtual bool SetReceiveBufferSize(int32 size) OVERRIDE;
88 virtual bool SetSendBufferSize(int32 size) OVERRIDE; 88 virtual bool SetSendBufferSize(int32 size) OVERRIDE;
89 virtual int GetPeerAddress(AddressList* address) const OVERRIDE; 89 virtual int GetPeerAddress(IPEndPoint* address) const OVERRIDE;
90 virtual int GetLocalAddress(IPEndPoint* address) const OVERRIDE; 90 virtual int GetLocalAddress(IPEndPoint* address) const OVERRIDE;
91 91
92 // SpdyStream::Delegate implementation. 92 // SpdyStream::Delegate implementation.
93 virtual bool OnSendHeadersComplete(int status) OVERRIDE; 93 virtual bool OnSendHeadersComplete(int status) OVERRIDE;
94 virtual int OnSendBody() OVERRIDE; 94 virtual int OnSendBody() OVERRIDE;
95 virtual int OnSendBodyComplete(int status, bool* eof) OVERRIDE; 95 virtual int OnSendBodyComplete(int status, bool* eof) OVERRIDE;
96 virtual int OnResponseReceived(const SpdyHeaderBlock& response, 96 virtual int OnResponseReceived(const SpdyHeaderBlock& response,
97 base::Time response_time, 97 base::Time response_time,
98 int status) OVERRIDE; 98 int status) OVERRIDE;
99 virtual void OnDataReceived(const char* data, int length) OVERRIDE; 99 virtual void OnDataReceived(const char* data, int length) OVERRIDE;
(...skipping 65 matching lines...)
165 base::WeakPtrFactory<SpdyProxyClientSocket> weak_factory_; 165 base::WeakPtrFactory<SpdyProxyClientSocket> weak_factory_;
166 166
167 const BoundNetLog net_log_; 167 const BoundNetLog net_log_;
168 168
169 DISALLOW_COPY_AND_ASSIGN(SpdyProxyClientSocket); 169 DISALLOW_COPY_AND_ASSIGN(SpdyProxyClientSocket);
170 }; 170 };
171 171
172 } // namespace net 172 } // namespace net
173 173
174 #endif // NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_ 174 #endif // NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_
OLDNEW
« no previous file with comments | « net/spdy/spdy_http_stream.cc ('k') | net/spdy/spdy_proxy_client_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine