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

Side by Side Diff: net/quic/test_tools/delayed_verify_strike_register_client.h

Issue 2193073003: Move shared files in net/quic/ into net/quic/core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: io_thread_unittest.cc Created 4 years, 4 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/test_tools/crypto_test_utils_test.cc ('k') | net/quic/test_tools/mock_clock.h » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_TEST_TOOLS_DELAYED_VERIFY_STRIKE_REGISTER_CLIENT_H_ 5 #ifndef NET_QUIC_TEST_TOOLS_DELAYED_VERIFY_STRIKE_REGISTER_CLIENT_H_
6 #define NET_QUIC_TEST_TOOLS_DELAYED_VERIFY_STRIKE_REGISTER_CLIENT_H_ 6 #define NET_QUIC_TEST_TOOLS_DELAYED_VERIFY_STRIKE_REGISTER_CLIENT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/strings/string_piece.h" 14 #include "base/strings/string_piece.h"
15 #include "net/quic/crypto/local_strike_register_client.h" 15 #include "net/quic/core/crypto/local_strike_register_client.h"
16 16
17 namespace net { 17 namespace net {
18 namespace test { 18 namespace test {
19 19
20 // Test helper that allows delaying execution of nonce verification 20 // Test helper that allows delaying execution of nonce verification
21 // callbacks until a later time. 21 // callbacks until a later time.
22 class DelayedVerifyStrikeRegisterClient : public LocalStrikeRegisterClient { 22 class DelayedVerifyStrikeRegisterClient : public LocalStrikeRegisterClient {
23 public: 23 public:
24 DelayedVerifyStrikeRegisterClient(unsigned max_entries, 24 DelayedVerifyStrikeRegisterClient(unsigned max_entries,
25 uint32_t current_time_external, 25 uint32_t current_time_external,
(...skipping 28 matching lines...) Expand all
54 bool delay_verifications_; 54 bool delay_verifications_;
55 std::vector<VerifyArgs> pending_verifications_; 55 std::vector<VerifyArgs> pending_verifications_;
56 56
57 DISALLOW_COPY_AND_ASSIGN(DelayedVerifyStrikeRegisterClient); 57 DISALLOW_COPY_AND_ASSIGN(DelayedVerifyStrikeRegisterClient);
58 }; 58 };
59 59
60 } // namespace test 60 } // namespace test
61 } // namespace net 61 } // namespace net
62 62
63 #endif // NET_QUIC_TEST_TOOLS_DELAYED_VERIFY_STRIKE_REGISTER_CLIENT_H_ 63 #endif // NET_QUIC_TEST_TOOLS_DELAYED_VERIFY_STRIKE_REGISTER_CLIENT_H_
OLDNEW
« no previous file with comments | « net/quic/test_tools/crypto_test_utils_test.cc ('k') | net/quic/test_tools/mock_clock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698