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 "base/base64.h" | 7 #include "base/base64.h" |
8 #include "base/metrics/histogram_macros.h" | 8 #include "base/metrics/histogram_macros.h" |
9 #include "net/base/net_errors.h" | 9 #include "net/base/net_errors.h" |
10 #include "net/http/http_server_properties.h" | 10 #include "net/http/http_server_properties.h" |
11 | 11 |
12 using std::string; | 12 using std::string; |
13 | 13 |
14 namespace { | 14 namespace { |
15 | 15 |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 : http_server_properties_(http_server_properties) {} | 98 : http_server_properties_(http_server_properties) {} |
99 | 99 |
100 PropertiesBasedQuicServerInfoFactory::~PropertiesBasedQuicServerInfoFactory() {} | 100 PropertiesBasedQuicServerInfoFactory::~PropertiesBasedQuicServerInfoFactory() {} |
101 | 101 |
102 QuicServerInfo* PropertiesBasedQuicServerInfoFactory::GetForServer( | 102 QuicServerInfo* PropertiesBasedQuicServerInfoFactory::GetForServer( |
103 const QuicServerId& server_id) { | 103 const QuicServerId& server_id) { |
104 return new PropertiesBasedQuicServerInfo(server_id, http_server_properties_); | 104 return new PropertiesBasedQuicServerInfo(server_id, http_server_properties_); |
105 } | 105 } |
106 | 106 |
107 } // namespace net | 107 } // namespace net |
OLD | NEW |