| OLD | NEW |
| 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 #include "net/quic/test_tools/quic_crypto_server_config_peer.h" | 5 #include "net/quic/test_tools/quic_crypto_server_config_peer.h" |
| 6 | 6 |
| 7 #include "net/quic/test_tools/mock_clock.h" | 7 #include "net/quic/test_tools/mock_clock.h" |
| 8 #include "net/quic/test_tools/mock_random.h" | 8 #include "net/quic/test_tools/mock_random.h" |
| 9 #include "net/quic/test_tools/quic_test_utils.h" | 9 #include "net/quic/test_tools/quic_test_utils.h" |
| 10 #include "testing/gtest/include/gtest/gtest.h" | |
| 11 | 10 |
| 12 using std::string; | 11 using std::string; |
| 13 | 12 |
| 14 namespace net { | 13 namespace net { |
| 15 namespace test { | 14 namespace test { |
| 16 | 15 |
| 17 ProofSource* QuicCryptoServerConfigPeer::GetProofSource() { | 16 ProofSource* QuicCryptoServerConfigPeer::GetProofSource() { |
| 18 return server_config_->proof_source_.get(); | 17 return server_config_->proof_source_.get(); |
| 19 } | 18 } |
| 20 | 19 |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 uint32_t QuicCryptoServerConfigPeer::source_address_token_future_secs() { | 164 uint32_t QuicCryptoServerConfigPeer::source_address_token_future_secs() { |
| 166 return server_config_->source_address_token_future_secs_; | 165 return server_config_->source_address_token_future_secs_; |
| 167 } | 166 } |
| 168 | 167 |
| 169 uint32_t QuicCryptoServerConfigPeer::source_address_token_lifetime_secs() { | 168 uint32_t QuicCryptoServerConfigPeer::source_address_token_lifetime_secs() { |
| 170 return server_config_->source_address_token_lifetime_secs_; | 169 return server_config_->source_address_token_lifetime_secs_; |
| 171 } | 170 } |
| 172 | 171 |
| 173 } // namespace test | 172 } // namespace test |
| 174 } // namespace net | 173 } // namespace net |
| OLD | NEW |