OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_CRYPTO_QUIC_SERVER_INFO_H_ | 5 #ifndef NET_QUIC_CRYPTO_QUIC_SERVER_INFO_H_ |
6 #define NET_QUIC_CRYPTO_QUIC_SERVER_INFO_H_ | 6 #define NET_QUIC_CRYPTO_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/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
12 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
13 #include "base/time/time.h" | 14 #include "base/time/time.h" |
14 #include "net/base/completion_callback.h" | 15 #include "net/base/completion_callback.h" |
15 #include "net/base/net_export.h" | 16 #include "net/base/net_export.h" |
16 #include "net/quic/quic_server_id.h" | 17 #include "net/quic/quic_server_id.h" |
17 | 18 |
18 namespace net { | 19 namespace net { |
19 | 20 |
20 class X509Certificate; | 21 class X509Certificate; |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 // GetForServer returns a fresh, allocated QuicServerInfo for the given | 137 // GetForServer returns a fresh, allocated QuicServerInfo for the given |
137 // |server_id| or NULL on failure. | 138 // |server_id| or NULL on failure. |
138 virtual QuicServerInfo* GetForServer(const QuicServerId& server_id) = 0; | 139 virtual QuicServerInfo* GetForServer(const QuicServerId& server_id) = 0; |
139 | 140 |
140 DISALLOW_COPY_AND_ASSIGN(QuicServerInfoFactory); | 141 DISALLOW_COPY_AND_ASSIGN(QuicServerInfoFactory); |
141 }; | 142 }; |
142 | 143 |
143 } // namespace net | 144 } // namespace net |
144 | 145 |
145 #endif // NET_QUIC_CRYPTO_QUIC_SERVER_INFO_H_ | 146 #endif // NET_QUIC_CRYPTO_QUIC_SERVER_INFO_H_ |
OLD | NEW |