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

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

Issue 8568021: Add OVERRIDE to net/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: net only 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
« no previous file with comments | « net/spdy/spdy_session_pool.h ('k') | net/spdy/spdy_websocket_stream.h » ('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) 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 #ifndef NET_SPDY_SPDY_STREAM_H_ 5 #ifndef NET_SPDY_SPDY_STREAM_H_
6 #define NET_SPDY_SPDY_STREAM_H_ 6 #define NET_SPDY_SPDY_STREAM_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 int response_status() const { return response_status_; } 227 int response_status() const { return response_status_; }
228 228
229 // Returns true if the URL for this stream is known. 229 // Returns true if the URL for this stream is known.
230 bool HasUrl() const; 230 bool HasUrl() const;
231 231
232 // Get the URL associated with this stream. Only valid when has_url() is 232 // Get the URL associated with this stream. Only valid when has_url() is
233 // true. 233 // true.
234 GURL GetUrl() const; 234 GURL GetUrl() const;
235 235
236 // ChunkCallback methods. 236 // ChunkCallback methods.
237 virtual void OnChunkAvailable(); 237 virtual void OnChunkAvailable() OVERRIDE;
238 238
239 private: 239 private:
240 enum State { 240 enum State {
241 STATE_NONE, 241 STATE_NONE,
242 STATE_SEND_HEADERS, 242 STATE_SEND_HEADERS,
243 STATE_SEND_HEADERS_COMPLETE, 243 STATE_SEND_HEADERS_COMPLETE,
244 STATE_SEND_BODY, 244 STATE_SEND_BODY,
245 STATE_SEND_BODY_COMPLETE, 245 STATE_SEND_BODY_COMPLETE,
246 STATE_WAITING_FOR_RESPONSE, 246 STATE_WAITING_FOR_RESPONSE,
247 STATE_OPEN, 247 STATE_OPEN,
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 int recv_bytes_; 322 int recv_bytes_;
323 // Data received before delegate is attached. 323 // Data received before delegate is attached.
324 std::vector<scoped_refptr<IOBufferWithSize> > pending_buffers_; 324 std::vector<scoped_refptr<IOBufferWithSize> > pending_buffers_;
325 325
326 DISALLOW_COPY_AND_ASSIGN(SpdyStream); 326 DISALLOW_COPY_AND_ASSIGN(SpdyStream);
327 }; 327 };
328 328
329 } // namespace net 329 } // namespace net
330 330
331 #endif // NET_SPDY_SPDY_STREAM_H_ 331 #endif // NET_SPDY_SPDY_STREAM_H_
OLDNEW
« no previous file with comments | « net/spdy/spdy_session_pool.h ('k') | net/spdy/spdy_websocket_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698