Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1175)

Side by Side Diff: net/quic/core/crypto/quic_server_info.h

Issue 2589983002: Create a QUIC wrapper around scoped_refptr. (Closed)
Patch Set: rm = nullptr Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_CORE_CRYPTO_QUIC_SERVER_INFO_H_ 5 #ifndef NET_QUIC_CORE_CRYPTO_QUIC_SERVER_INFO_H_
6 #define NET_QUIC_CORE_CRYPTO_QUIC_SERVER_INFO_H_ 6 #define NET_QUIC_CORE_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/macros.h"
12 #include "base/memory/ref_counted.h"
13 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
14 #include "base/time/time.h" 13 #include "base/time/time.h"
15 #include "net/base/completion_callback.h" 14 #include "net/base/completion_callback.h"
16 #include "net/quic/core/quic_server_id.h" 15 #include "net/quic/core/quic_server_id.h"
17 #include "net/quic/platform/api/quic_export.h" 16 #include "net/quic/platform/api/quic_export.h"
18 17
19 namespace net { 18 namespace net {
20 19
21 // QuicServerInfo is an interface for fetching information about a QUIC server. 20 // QuicServerInfo is an interface for fetching information about a QUIC server.
22 // This information may be stored on disk so does not include keys or other 21 // This information may be stored on disk so does not include keys or other
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 // |server_id| or NULL on failure. 169 // |server_id| or NULL on failure.
171 virtual QuicServerInfo* GetForServer(const QuicServerId& server_id) = 0; 170 virtual QuicServerInfo* GetForServer(const QuicServerId& server_id) = 0;
172 171
173 private: 172 private:
174 DISALLOW_COPY_AND_ASSIGN(QuicServerInfoFactory); 173 DISALLOW_COPY_AND_ASSIGN(QuicServerInfoFactory);
175 }; 174 };
176 175
177 } // namespace net 176 } // namespace net
178 177
179 #endif // NET_QUIC_CORE_CRYPTO_QUIC_SERVER_INFO_H_ 178 #endif // NET_QUIC_CORE_CRYPTO_QUIC_SERVER_INFO_H_
OLDNEW
« no previous file with comments | « net/quic/core/crypto/quic_crypto_server_config_test.cc ('k') | net/quic/core/quic_ack_listener_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698