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

Side by Side Diff: net/quic/quic_http_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
« no previous file with comments | « net/quic/quic_headers_stream.cc ('k') | net/quic/quic_http_stream_test.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_QUIC_QUIC_HTTP_STREAM_H_ 5 #ifndef NET_QUIC_QUIC_HTTP_STREAM_H_
6 #define NET_QUIC_QUIC_HTTP_STREAM_H_ 6 #define NET_QUIC_QUIC_HTTP_STREAM_H_
7 7
8 #include <list> 8 #include <list>
9 9
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 17 matching lines...) Expand all
28 public HttpStream { 28 public HttpStream {
29 public: 29 public:
30 explicit QuicHttpStream(const base::WeakPtr<QuicClientSession>& session); 30 explicit QuicHttpStream(const base::WeakPtr<QuicClientSession>& session);
31 31
32 virtual ~QuicHttpStream(); 32 virtual ~QuicHttpStream();
33 33
34 // HttpStream implementation. 34 // HttpStream implementation.
35 virtual int InitializeStream(const HttpRequestInfo* request_info, 35 virtual int InitializeStream(const HttpRequestInfo* request_info,
36 RequestPriority priority, 36 RequestPriority priority,
37 const BoundNetLog& net_log, 37 const BoundNetLog& net_log,
38 const CompletionCallback& callback) OVERRIDE; 38 const CompletionCallback& callback) override;
39 virtual int SendRequest(const HttpRequestHeaders& request_headers, 39 virtual int SendRequest(const HttpRequestHeaders& request_headers,
40 HttpResponseInfo* response, 40 HttpResponseInfo* response,
41 const CompletionCallback& callback) OVERRIDE; 41 const CompletionCallback& callback) override;
42 virtual UploadProgress GetUploadProgress() const OVERRIDE; 42 virtual UploadProgress GetUploadProgress() const override;
43 virtual int ReadResponseHeaders(const CompletionCallback& callback) OVERRIDE; 43 virtual int ReadResponseHeaders(const CompletionCallback& callback) override;
44 virtual int ReadResponseBody(IOBuffer* buf, 44 virtual int ReadResponseBody(IOBuffer* buf,
45 int buf_len, 45 int buf_len,
46 const CompletionCallback& callback) OVERRIDE; 46 const CompletionCallback& callback) override;
47 virtual void Close(bool not_reusable) OVERRIDE; 47 virtual void Close(bool not_reusable) override;
48 virtual HttpStream* RenewStreamForAuth() OVERRIDE; 48 virtual HttpStream* RenewStreamForAuth() override;
49 virtual bool IsResponseBodyComplete() const OVERRIDE; 49 virtual bool IsResponseBodyComplete() const override;
50 virtual bool CanFindEndOfResponse() const OVERRIDE; 50 virtual bool CanFindEndOfResponse() const override;
51 virtual bool IsConnectionReused() const OVERRIDE; 51 virtual bool IsConnectionReused() const override;
52 virtual void SetConnectionReused() OVERRIDE; 52 virtual void SetConnectionReused() override;
53 virtual bool IsConnectionReusable() const OVERRIDE; 53 virtual bool IsConnectionReusable() const override;
54 virtual int64 GetTotalReceivedBytes() const OVERRIDE; 54 virtual int64 GetTotalReceivedBytes() const override;
55 virtual bool GetLoadTimingInfo( 55 virtual bool GetLoadTimingInfo(
56 LoadTimingInfo* load_timing_info) const OVERRIDE; 56 LoadTimingInfo* load_timing_info) const override;
57 virtual void GetSSLInfo(SSLInfo* ssl_info) OVERRIDE; 57 virtual void GetSSLInfo(SSLInfo* ssl_info) override;
58 virtual void GetSSLCertRequestInfo( 58 virtual void GetSSLCertRequestInfo(
59 SSLCertRequestInfo* cert_request_info) OVERRIDE; 59 SSLCertRequestInfo* cert_request_info) override;
60 virtual bool IsSpdyHttpStream() const OVERRIDE; 60 virtual bool IsSpdyHttpStream() const override;
61 virtual void Drain(HttpNetworkSession* session) OVERRIDE; 61 virtual void Drain(HttpNetworkSession* session) override;
62 virtual void SetPriority(RequestPriority priority) OVERRIDE; 62 virtual void SetPriority(RequestPriority priority) override;
63 63
64 // QuicReliableClientStream::Delegate implementation 64 // QuicReliableClientStream::Delegate implementation
65 virtual int OnDataReceived(const char* data, int length) OVERRIDE; 65 virtual int OnDataReceived(const char* data, int length) override;
66 virtual void OnClose(QuicErrorCode error) OVERRIDE; 66 virtual void OnClose(QuicErrorCode error) override;
67 virtual void OnError(int error) OVERRIDE; 67 virtual void OnError(int error) override;
68 virtual bool HasSendHeadersComplete() OVERRIDE; 68 virtual bool HasSendHeadersComplete() override;
69 69
70 // QuicClientSession::Observer implementation 70 // QuicClientSession::Observer implementation
71 virtual void OnCryptoHandshakeConfirmed() OVERRIDE; 71 virtual void OnCryptoHandshakeConfirmed() override;
72 virtual void OnSessionClosed(int error) OVERRIDE; 72 virtual void OnSessionClosed(int error) override;
73 73
74 private: 74 private:
75 friend class test::QuicHttpStreamPeer; 75 friend class test::QuicHttpStreamPeer;
76 76
77 enum State { 77 enum State {
78 STATE_NONE, 78 STATE_NONE,
79 STATE_SEND_HEADERS, 79 STATE_SEND_HEADERS,
80 STATE_SEND_HEADERS_COMPLETE, 80 STATE_SEND_HEADERS_COMPLETE,
81 STATE_READ_REQUEST_BODY, 81 STATE_READ_REQUEST_BODY,
82 STATE_READ_REQUEST_BODY_COMPLETE, 82 STATE_READ_REQUEST_BODY_COMPLETE,
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 BoundNetLog stream_net_log_; 164 BoundNetLog stream_net_log_;
165 165
166 base::WeakPtrFactory<QuicHttpStream> weak_factory_; 166 base::WeakPtrFactory<QuicHttpStream> weak_factory_;
167 167
168 DISALLOW_COPY_AND_ASSIGN(QuicHttpStream); 168 DISALLOW_COPY_AND_ASSIGN(QuicHttpStream);
169 }; 169 };
170 170
171 } // namespace net 171 } // namespace net
172 172
173 #endif // NET_QUIC_QUIC_HTTP_STREAM_H_ 173 #endif // NET_QUIC_QUIC_HTTP_STREAM_H_
OLDNEW
« no previous file with comments | « net/quic/quic_headers_stream.cc ('k') | net/quic/quic_http_stream_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698