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

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

Issue 12806002: Land Recent QUIC Changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: minor comment fix Created 7 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « net/quic/crypto/crypto_framer.h ('k') | net/quic/crypto/crypto_framer_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 #include "net/quic/crypto/crypto_framer.h" 5 #include "net/quic/crypto/crypto_framer.h"
6 6
7 #include "net/quic/crypto/crypto_handshake.h"
7 #include "net/quic/quic_data_reader.h" 8 #include "net/quic/quic_data_reader.h"
8 #include "net/quic/quic_data_writer.h" 9 #include "net/quic/quic_data_writer.h"
9 #include "net/quic/quic_protocol.h"
10 10
11 using base::StringPiece; 11 using base::StringPiece;
12 12
13 namespace net { 13 namespace net {
14 14
15 namespace { 15 namespace {
16 16
17 const size_t kCryptoTagSize = sizeof(uint32); 17 const size_t kCryptoTagSize = sizeof(uint32);
18 const size_t kNumEntriesSize = sizeof(uint16); 18 const size_t kNumEntriesSize = sizeof(uint16);
19 const size_t kValueLenSize = sizeof(uint16); 19 const size_t kValueLenSize = sizeof(uint16);
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 224
225 void CryptoFramer::Clear() { 225 void CryptoFramer::Clear() {
226 tag_value_map_.clear(); 226 tag_value_map_.clear();
227 tag_length_map_.clear(); 227 tag_length_map_.clear();
228 tags_.clear(); 228 tags_.clear();
229 error_ = QUIC_NO_ERROR; 229 error_ = QUIC_NO_ERROR;
230 state_ = STATE_READING_TAG; 230 state_ = STATE_READING_TAG;
231 } 231 }
232 232
233 } // namespace net 233 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/crypto/crypto_framer.h ('k') | net/quic/crypto/crypto_framer_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698