Chromium Code Reviews

Side by Side Diff: net/quic/quic_crypto_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.
Jump to:
View unified diff |
« no previous file with comments | « net/quic/quic_crypto_server_stream.h ('k') | net/quic/quic_crypto_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_CRYPTO_STREAM_H_ 5 #ifndef NET_QUIC_QUIC_CRYPTO_STREAM_H_
6 #define NET_QUIC_QUIC_CRYPTO_STREAM_H_ 6 #define NET_QUIC_QUIC_CRYPTO_STREAM_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "net/quic/crypto/crypto_framer.h" 9 #include "net/quic/crypto/crypto_framer.h"
10 #include "net/quic/crypto/crypto_utils.h" 10 #include "net/quic/crypto/crypto_utils.h"
(...skipping 16 matching lines...)
27 // a crypto context they can use to send encrypted messages. 27 // a crypto context they can use to send encrypted messages.
28 // 28 //
29 // For more details: http://goto.google.com/quic-crypto 29 // For more details: http://goto.google.com/quic-crypto
30 class NET_EXPORT_PRIVATE QuicCryptoStream 30 class NET_EXPORT_PRIVATE QuicCryptoStream
31 : public ReliableQuicStream, 31 : public ReliableQuicStream,
32 public CryptoFramerVisitorInterface { 32 public CryptoFramerVisitorInterface {
33 public: 33 public:
34 explicit QuicCryptoStream(QuicSession* session); 34 explicit QuicCryptoStream(QuicSession* session);
35 35
36 // CryptoFramerVisitorInterface implementation 36 // CryptoFramerVisitorInterface implementation
37 virtual void OnError(CryptoFramer* framer) OVERRIDE; 37 virtual void OnError(CryptoFramer* framer) override;
38 virtual void OnHandshakeMessage( 38 virtual void OnHandshakeMessage(
39 const CryptoHandshakeMessage& message) OVERRIDE; 39 const CryptoHandshakeMessage& message) override;
40 40
41 // ReliableQuicStream implementation 41 // ReliableQuicStream implementation
42 virtual uint32 ProcessRawData(const char* data, uint32 data_len) OVERRIDE; 42 virtual uint32 ProcessRawData(const char* data, uint32 data_len) override;
43 virtual QuicPriority EffectivePriority() const OVERRIDE; 43 virtual QuicPriority EffectivePriority() const override;
44 44
45 // Sends |message| to the peer. 45 // Sends |message| to the peer.
46 // TODO(wtc): return a success/failure status. 46 // TODO(wtc): return a success/failure status.
47 void SendHandshakeMessage(const CryptoHandshakeMessage& message); 47 void SendHandshakeMessage(const CryptoHandshakeMessage& message);
48 // As above, but registers |delegate| for notification when |message| has been 48 // As above, but registers |delegate| for notification when |message| has been
49 // ACKed by the peer. 49 // ACKed by the peer.
50 void SendHandshakeMessage(const CryptoHandshakeMessage& message, 50 void SendHandshakeMessage(const CryptoHandshakeMessage& message,
51 QuicAckNotifier::DelegateInterface* delegate); 51 QuicAckNotifier::DelegateInterface* delegate);
52 52
53 // Performs key extraction to derive a new secret of |result_len| bytes 53 // Performs key extraction to derive a new secret of |result_len| bytes
(...skipping 18 matching lines...)
72 72
73 private: 73 private:
74 CryptoFramer crypto_framer_; 74 CryptoFramer crypto_framer_;
75 75
76 DISALLOW_COPY_AND_ASSIGN(QuicCryptoStream); 76 DISALLOW_COPY_AND_ASSIGN(QuicCryptoStream);
77 }; 77 };
78 78
79 } // namespace net 79 } // namespace net
80 80
81 #endif // NET_QUIC_QUIC_CRYPTO_STREAM_H_ 81 #endif // NET_QUIC_QUIC_CRYPTO_STREAM_H_
OLDNEW
« no previous file with comments | « net/quic/quic_crypto_server_stream.h ('k') | net/quic/quic_crypto_stream_test.cc » ('j') | no next file with comments »

Powered by Google App Engine