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

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

Issue 15555003: [SPDY] Remove SpdyStream::Delegate::OnSendBody()'s return value (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix typo Created 7 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
« 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 7
8 #include <list> 8 #include <list>
9 #include <string> 9 #include <string>
10 10
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 virtual int Write(IOBuffer* buf, 85 virtual int Write(IOBuffer* buf,
86 int buf_len, 86 int buf_len,
87 const CompletionCallback& callback) OVERRIDE; 87 const CompletionCallback& callback) OVERRIDE;
88 virtual bool SetReceiveBufferSize(int32 size) OVERRIDE; 88 virtual bool SetReceiveBufferSize(int32 size) OVERRIDE;
89 virtual bool SetSendBufferSize(int32 size) OVERRIDE; 89 virtual bool SetSendBufferSize(int32 size) OVERRIDE;
90 virtual int GetPeerAddress(IPEndPoint* address) const OVERRIDE; 90 virtual int GetPeerAddress(IPEndPoint* address) const OVERRIDE;
91 virtual int GetLocalAddress(IPEndPoint* address) const OVERRIDE; 91 virtual int GetLocalAddress(IPEndPoint* address) const OVERRIDE;
92 92
93 // SpdyStream::Delegate implementation. 93 // SpdyStream::Delegate implementation.
94 virtual SpdySendStatus OnSendHeadersComplete() OVERRIDE; 94 virtual SpdySendStatus OnSendHeadersComplete() OVERRIDE;
95 virtual int OnSendBody() OVERRIDE; 95 virtual void OnSendBody() OVERRIDE;
96 virtual SpdySendStatus OnSendBodyComplete(size_t bytes_sent) OVERRIDE; 96 virtual SpdySendStatus OnSendBodyComplete(size_t bytes_sent) OVERRIDE;
97 virtual int OnResponseReceived(const SpdyHeaderBlock& response, 97 virtual int OnResponseReceived(const SpdyHeaderBlock& response,
98 base::Time response_time, 98 base::Time response_time,
99 int status) OVERRIDE; 99 int status) OVERRIDE;
100 virtual void OnHeadersSent() OVERRIDE; 100 virtual void OnHeadersSent() OVERRIDE;
101 virtual int OnDataReceived(scoped_ptr<SpdyBuffer> buffer) OVERRIDE; 101 virtual int OnDataReceived(scoped_ptr<SpdyBuffer> buffer) OVERRIDE;
102 virtual void OnDataSent(size_t bytes_sent) OVERRIDE; 102 virtual void OnDataSent(size_t bytes_sent) OVERRIDE;
103 virtual void OnClose(int status) OVERRIDE; 103 virtual void OnClose(int status) OVERRIDE;
104 104
105 private: 105 private:
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 base::WeakPtrFactory<SpdyProxyClientSocket> weak_factory_; 169 base::WeakPtrFactory<SpdyProxyClientSocket> weak_factory_;
170 170
171 const BoundNetLog net_log_; 171 const BoundNetLog net_log_;
172 172
173 DISALLOW_COPY_AND_ASSIGN(SpdyProxyClientSocket); 173 DISALLOW_COPY_AND_ASSIGN(SpdyProxyClientSocket);
174 }; 174 };
175 175
176 } // namespace net 176 } // namespace net
177 177
178 #endif // NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_ 178 #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
This is Rietveld 408576698