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

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

Issue 2566783002: Various formatting cleanups to net/quic/crypto and net/quic/congestion_control (Closed)
Patch Set: Rebase Created 3 years, 12 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/core/crypto/common_cert_set_test.cc ('k') | net/quic/core/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_CORE_CRYPTO_CRYPTO_FRAMER_H_ 5 #ifndef NET_QUIC_CORE_CRYPTO_CRYPTO_FRAMER_H_
6 #define NET_QUIC_CORE_CRYPTO_CRYPTO_FRAMER_H_ 6 #define NET_QUIC_CORE_CRYPTO_CRYPTO_FRAMER_H_
7 7
8 #include <cstddef> 8 #include <cstddef>
9 #include <cstdint> 9 #include <cstdint>
10 #include <memory>
11 #include <utility> 10 #include <utility>
12 #include <vector> 11 #include <vector>
13 12
14 #include "base/logging.h" 13 #include "base/logging.h"
15 #include "base/strings/string_piece.h" 14 #include "base/strings/string_piece.h"
16 #include "net/quic/core/crypto/crypto_handshake_message.h" 15 #include "net/quic/core/crypto/crypto_handshake_message.h"
17 #include "net/quic/core/quic_packets.h" 16 #include "net/quic/core/quic_packets.h"
18 #include "net/quic/platform/api/quic_export.h" 17 #include "net/quic/platform/api/quic_export.h"
19 18
20 namespace net { 19 namespace net {
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 // tags_and_lengths_ contains the tags that are currently being parsed and 108 // tags_and_lengths_ contains the tags that are currently being parsed and
110 // their lengths. 109 // their lengths.
111 std::vector<std::pair<QuicTag, size_t>> tags_and_lengths_; 110 std::vector<std::pair<QuicTag, size_t>> tags_and_lengths_;
112 // Cumulative length of all values in the message currently being parsed. 111 // Cumulative length of all values in the message currently being parsed.
113 size_t values_len_; 112 size_t values_len_;
114 }; 113 };
115 114
116 } // namespace net 115 } // namespace net
117 116
118 #endif // NET_QUIC_CORE_CRYPTO_CRYPTO_FRAMER_H_ 117 #endif // NET_QUIC_CORE_CRYPTO_CRYPTO_FRAMER_H_
OLDNEW
« no previous file with comments | « net/quic/core/crypto/common_cert_set_test.cc ('k') | net/quic/core/crypto/crypto_framer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698