| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/core/crypto/properties_based_quic_server_info.h" | 5 #include "net/quic/chromium/properties_based_quic_server_info.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "net/base/net_errors.h" | 9 #include "net/base/net_errors.h" |
| 10 #include "net/http/http_server_properties_impl.h" | 10 #include "net/http/http_server_properties_impl.h" |
| 11 #include "net/quic/core/quic_server_id.h" | 11 #include "net/quic/core/quic_server_id.h" |
| 12 #include "net/test/gtest_util.h" | 12 #include "net/test/gtest_util.h" |
| 13 #include "testing/gmock/include/gmock/gmock.h" | 13 #include "testing/gmock/include/gmock/gmock.h" |
| 14 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
| 15 | 15 |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 | 101 |
| 102 // Verify updated data. | 102 // Verify updated data. |
| 103 const QuicServerInfo::State& state3 = server_info2.state(); | 103 const QuicServerInfo::State& state3 = server_info2.state(); |
| 104 VerifyInitialData(state3); | 104 VerifyInitialData(state3); |
| 105 EXPECT_EQ(2U, state3.certs.size()); | 105 EXPECT_EQ(2U, state3.certs.size()); |
| 106 EXPECT_EQ(kCertB, state3.certs[1]); | 106 EXPECT_EQ(kCertB, state3.certs[1]); |
| 107 } | 107 } |
| 108 | 108 |
| 109 } // namespace test | 109 } // namespace test |
| 110 } // namespace net | 110 } // namespace net |
| OLD | NEW |