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

Side by Side Diff: net/tools/quic/stateless_rejector.h

Issue 2740453006: Add QuicStringPiece which is actually StringPiece. (Closed)
Patch Set: fix compile error and rebase Created 3 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_TOOLS_QUIC_STATELESS_REJECTOR_H_ 5 #ifndef NET_TOOLS_QUIC_STATELESS_REJECTOR_H_
6 #define NET_TOOLS_QUIC_STATELESS_REJECTOR_H_ 6 #define NET_TOOLS_QUIC_STATELESS_REJECTOR_H_
7 7
8 #include "base/strings/string_piece.h"
9 #include "net/quic/core/crypto/crypto_framer.h" 8 #include "net/quic/core/crypto/crypto_framer.h"
10 #include "net/quic/core/crypto/quic_crypto_server_config.h" 9 #include "net/quic/core/crypto/quic_crypto_server_config.h"
11 #include "net/quic/core/quic_packets.h" 10 #include "net/quic/core/quic_packets.h"
12 11
13 namespace net { 12 namespace net {
14 13
15 // The StatelessRejector receives CHLO messages and generates an SREJ 14 // The StatelessRejector receives CHLO messages and generates an SREJ
16 // message in response, if the CHLO can be statelessly rejected. 15 // message in response, if the CHLO can be statelessly rejected.
17 class StatelessRejector { 16 class StatelessRejector {
18 public: 17 public:
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 CryptoFramer crypto_framer_; 109 CryptoFramer crypto_framer_;
111 QuicReferenceCountedPointer<QuicSignedServerConfig> signed_config_; 110 QuicReferenceCountedPointer<QuicSignedServerConfig> signed_config_;
112 QuicReferenceCountedPointer<QuicCryptoNegotiatedParameters> params_; 111 QuicReferenceCountedPointer<QuicCryptoNegotiatedParameters> params_;
113 112
114 DISALLOW_COPY_AND_ASSIGN(StatelessRejector); 113 DISALLOW_COPY_AND_ASSIGN(StatelessRejector);
115 }; 114 };
116 115
117 } // namespace net 116 } // namespace net
118 117
119 #endif // NET_TOOLS_QUIC_STATELESS_REJECTOR_H_ 118 #endif // NET_TOOLS_QUIC_STATELESS_REJECTOR_H_
OLDNEW
« no previous file with comments | « net/tools/quic/quic_time_wait_list_manager.cc ('k') | net/tools/quic/stateless_rejector_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698