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 #ifndef NET_QUIC_CORE_CRYPTO_PROPERTIES_BASED_QUIC_SERVER_INFO_H_ | 5 #ifndef NET_QUIC_CHROMIUM_PROPERTIES_BASED_QUIC_SERVER_INFO_H_ |
6 #define NET_QUIC_CORE_CRYPTO_PROPERTIES_BASED_QUIC_SERVER_INFO_H_ | 6 #define NET_QUIC_CHROMIUM_PROPERTIES_BASED_QUIC_SERVER_INFO_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
13 #include "net/base/completion_callback.h" | 13 #include "net/base/completion_callback.h" |
14 #include "net/quic/core/crypto/quic_server_info.h" | 14 #include "net/quic/chromium/quic_server_info.h" |
15 #include "net/quic/platform/api/quic_export.h" | 15 #include "net/quic/platform/api/quic_export.h" |
16 | 16 |
17 namespace net { | 17 namespace net { |
18 | 18 |
19 class HttpServerProperties; | 19 class HttpServerProperties; |
20 | 20 |
21 // PropertiesBasedQuicServerInfo fetches information about a QUIC server from | 21 // PropertiesBasedQuicServerInfo fetches information about a QUIC server from |
22 // HttpServerProperties. Since the information is defined to be non-sensitive, | 22 // HttpServerProperties. Since the information is defined to be non-sensitive, |
23 // it's ok for us to keep it on disk. | 23 // it's ok for us to keep it on disk. |
24 class QUIC_EXPORT_PRIVATE PropertiesBasedQuicServerInfo | 24 class QUIC_EXPORT_PRIVATE PropertiesBasedQuicServerInfo |
(...skipping 29 matching lines...) Expand all Loading... |
54 QuicServerInfo* GetForServer(const QuicServerId& server_id) override; | 54 QuicServerInfo* GetForServer(const QuicServerId& server_id) override; |
55 | 55 |
56 private: | 56 private: |
57 HttpServerProperties* http_server_properties_; | 57 HttpServerProperties* http_server_properties_; |
58 | 58 |
59 DISALLOW_COPY_AND_ASSIGN(PropertiesBasedQuicServerInfoFactory); | 59 DISALLOW_COPY_AND_ASSIGN(PropertiesBasedQuicServerInfoFactory); |
60 }; | 60 }; |
61 | 61 |
62 } // namespace net | 62 } // namespace net |
63 | 63 |
64 #endif // NET_QUIC_CORE_CRYPTO_PROPERTIES_BASED_QUIC_SERVER_INFO_H_ | 64 #endif // NET_QUIC_CHROMIUM_PROPERTIES_BASED_QUIC_SERVER_INFO_H_ |
OLD | NEW |