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

Side by Side Diff: net/quic/crypto/crypto_framer.h

Issue 1227353005: Cleanup changes: Rename QuicSession::MarkWriteBlocked to (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 | « no previous file | net/quic/crypto/crypto_framer.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_CRYPTO_CRYPTO_FRAMER_H_ 5 #ifndef NET_QUIC_CRYPTO_CRYPTO_FRAMER_H_
6 #define NET_QUIC_CRYPTO_CRYPTO_FRAMER_H_ 6 #define NET_QUIC_CRYPTO_CRYPTO_FRAMER_H_
7 7
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 // Remaining unparsed data. 96 // Remaining unparsed data.
97 std::string buffer_; 97 std::string buffer_;
98 // Current state of the parsing. 98 // Current state of the parsing.
99 CryptoFramerState state_; 99 CryptoFramerState state_;
100 // The message currently being parsed. 100 // The message currently being parsed.
101 CryptoHandshakeMessage message_; 101 CryptoHandshakeMessage message_;
102 // Number of entires in the message currently being parsed. 102 // Number of entires in the message currently being parsed.
103 uint16 num_entries_; 103 uint16 num_entries_;
104 // tags_and_lengths_ contains the tags that are currently being parsed and 104 // tags_and_lengths_ contains the tags that are currently being parsed and
105 // their lengths. 105 // their lengths.
106 std::vector<std::pair<QuicTag, size_t> > tags_and_lengths_; 106 std::vector<std::pair<QuicTag, size_t>> tags_and_lengths_;
107 // Cumulative length of all values in the message currently being parsed. 107 // Cumulative length of all values in the message currently being parsed.
108 size_t values_len_; 108 size_t values_len_;
109 }; 109 };
110 110
111 } // namespace net 111 } // namespace net
112 112
113 #endif // NET_QUIC_CRYPTO_CRYPTO_FRAMER_H_ 113 #endif // NET_QUIC_CRYPTO_CRYPTO_FRAMER_H_
OLDNEW
« no previous file with comments | « no previous file | net/quic/crypto/crypto_framer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698