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

Side by Side Diff: net/tools/quic/quic_spdy_server_stream.h

Issue 623213004: replace OVERRIDE and FINAL with override and final in net/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: undo unwanted change in comment Created 6 years, 2 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
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_TOOLS_QUIC_QUIC_SPDY_SERVER_STREAM_H_ 5 #ifndef NET_TOOLS_QUIC_QUIC_SPDY_SERVER_STREAM_H_
6 #define NET_TOOLS_QUIC_QUIC_SPDY_SERVER_STREAM_H_ 6 #define NET_TOOLS_QUIC_QUIC_SPDY_SERVER_STREAM_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 14 matching lines...) Expand all
25 25
26 // All this does right now is aggregate data, and on fin, send an HTTP 26 // All this does right now is aggregate data, and on fin, send an HTTP
27 // response. 27 // response.
28 class QuicSpdyServerStream : public QuicDataStream { 28 class QuicSpdyServerStream : public QuicDataStream {
29 public: 29 public:
30 QuicSpdyServerStream(QuicStreamId id, QuicSession* session); 30 QuicSpdyServerStream(QuicStreamId id, QuicSession* session);
31 virtual ~QuicSpdyServerStream(); 31 virtual ~QuicSpdyServerStream();
32 32
33 // ReliableQuicStream implementation called by the session when there's 33 // ReliableQuicStream implementation called by the session when there's
34 // data for us. 34 // data for us.
35 virtual uint32 ProcessData(const char* data, uint32 data_len) OVERRIDE; 35 virtual uint32 ProcessData(const char* data, uint32 data_len) override;
36 virtual void OnFinRead() OVERRIDE; 36 virtual void OnFinRead() override;
37 37
38 void ParseRequestHeaders(); 38 void ParseRequestHeaders();
39 39
40 private: 40 private:
41 friend class test::QuicSpdyServerStreamPeer; 41 friend class test::QuicSpdyServerStreamPeer;
42 42
43 // Sends a basic 200 response using SendHeaders for the headers and WriteData 43 // Sends a basic 200 response using SendHeaders for the headers and WriteData
44 // for the body. 44 // for the body.
45 void SendResponse(); 45 void SendResponse();
46 46
(...skipping 11 matching lines...) Expand all
58 scoped_refptr<GrowableIOBuffer> read_buf_; 58 scoped_refptr<GrowableIOBuffer> read_buf_;
59 bool request_headers_received_; 59 bool request_headers_received_;
60 60
61 DISALLOW_COPY_AND_ASSIGN(QuicSpdyServerStream); 61 DISALLOW_COPY_AND_ASSIGN(QuicSpdyServerStream);
62 }; 62 };
63 63
64 } // namespace tools 64 } // namespace tools
65 } // namespace net 65 } // namespace net
66 66
67 #endif // NET_TOOLS_QUIC_QUIC_SPDY_SERVER_STREAM_H_ 67 #endif // NET_TOOLS_QUIC_QUIC_SPDY_SERVER_STREAM_H_
OLDNEW
« no previous file with comments | « net/tools/quic/quic_spdy_client_stream.h ('k') | net/tools/quic/quic_spdy_server_stream_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698