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

Side by Side Diff: net/quic/quic_crypto_stream.h

Issue 1471573002: Replacing EffectivePriority with Priority for QUIC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@107595145
Patch Set: Created 5 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
« no previous file with comments | « net/quic/p2p/quic_p2p_stream.cc ('k') | net/quic/quic_crypto_stream.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 21 matching lines...) Expand all
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 void OnError(CryptoFramer* framer) override; 37 void OnError(CryptoFramer* framer) override;
38 void OnHandshakeMessage(const CryptoHandshakeMessage& message) override; 38 void OnHandshakeMessage(const CryptoHandshakeMessage& message) override;
39 39
40 // ReliableQuicStream implementation 40 // ReliableQuicStream implementation
41 void OnDataAvailable() override; 41 void OnDataAvailable() override;
42 QuicPriority EffectivePriority() const override; 42 QuicPriority Priority() const override;
43 43
44 // Sends |message| to the peer. 44 // Sends |message| to the peer.
45 // TODO(wtc): return a success/failure status. 45 // TODO(wtc): return a success/failure status.
46 void SendHandshakeMessage(const CryptoHandshakeMessage& message); 46 void SendHandshakeMessage(const CryptoHandshakeMessage& message);
47 // As above, but registers |delegate| for notification when |message| has been 47 // As above, but registers |delegate| for notification when |message| has been
48 // ACKed by the peer. 48 // ACKed by the peer.
49 void SendHandshakeMessage(const CryptoHandshakeMessage& message, 49 void SendHandshakeMessage(const CryptoHandshakeMessage& message,
50 QuicAckListenerInterface* listener); 50 QuicAckListenerInterface* listener);
51 51
52 // Performs key extraction to derive a new secret of |result_len| bytes 52 // Performs key extraction to derive a new secret of |result_len| bytes
(...skipping 18 matching lines...) Expand all
71 71
72 private: 72 private:
73 CryptoFramer crypto_framer_; 73 CryptoFramer crypto_framer_;
74 74
75 DISALLOW_COPY_AND_ASSIGN(QuicCryptoStream); 75 DISALLOW_COPY_AND_ASSIGN(QuicCryptoStream);
76 }; 76 };
77 77
78 } // namespace net 78 } // namespace net
79 79
80 #endif // NET_QUIC_QUIC_CRYPTO_STREAM_H_ 80 #endif // NET_QUIC_QUIC_CRYPTO_STREAM_H_
OLDNEW
« no previous file with comments | « net/quic/p2p/quic_p2p_stream.cc ('k') | net/quic/quic_crypto_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698