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

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

Issue 147763009: Add the client address to the Public Reset packet. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Remove crypto_handshake_message.* from the CL; they were committed separately Created 6 years, 10 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/net.gyp ('k') | 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
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "base/strings/string_piece.h" 14 #include "base/strings/string_piece.h"
15 #include "net/base/net_export.h" 15 #include "net/base/net_export.h"
16 #include "net/quic/crypto/crypto_handshake.h" 16 #include "net/quic/crypto/crypto_handshake_message.h"
17 #include "net/quic/crypto/crypto_protocol.h"
18 #include "net/quic/quic_protocol.h" 17 #include "net/quic/quic_protocol.h"
19 18
20 namespace net { 19 namespace net {
21 20
22 class CryptoFramer; 21 class CryptoFramer;
23 class QuicData; 22 class QuicData;
24 class QuicDataReader; 23 class QuicDataReader;
25 class QuicDataWriter; 24 class QuicDataWriter;
26 25
27 class NET_EXPORT_PRIVATE CryptoFramerVisitorInterface { 26 class NET_EXPORT_PRIVATE CryptoFramerVisitorInterface {
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 // tags_and_lengths_ contains the tags that are currently being parsed and 106 // tags_and_lengths_ contains the tags that are currently being parsed and
108 // their lengths. 107 // their lengths.
109 std::vector<std::pair<QuicTag, size_t> > tags_and_lengths_; 108 std::vector<std::pair<QuicTag, size_t> > tags_and_lengths_;
110 // Cumulative length of all values in the message currently being parsed. 109 // Cumulative length of all values in the message currently being parsed.
111 size_t values_len_; 110 size_t values_len_;
112 }; 111 };
113 112
114 } // namespace net 113 } // namespace net
115 114
116 #endif // NET_QUIC_CRYPTO_CRYPTO_FRAMER_H_ 115 #endif // NET_QUIC_CRYPTO_CRYPTO_FRAMER_H_
OLDNEW
« no previous file with comments | « net/net.gyp ('k') | net/quic/crypto/crypto_framer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698