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

Unified Diff: net/http/disk_cache_based_quic_server_info.h

Issue 192583004: QUIC - use QuicSessionKey tuple (host, port, is_https) instead of server_hostname (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge with TOT Created 6 years, 9 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/http/disk_cache_based_quic_server_info.cc » ('j') | net/quic/quic_client_session.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/disk_cache_based_quic_server_info.h
diff --git a/net/http/disk_cache_based_quic_server_info.h b/net/http/disk_cache_based_quic_server_info.h
index 76379319262426fcb1a1dbba67f8ff1e1c224d9a..a8c55690a4a7aac882bf773c6371e8547c646ae6 100644
--- a/net/http/disk_cache_based_quic_server_info.h
+++ b/net/http/disk_cache_based_quic_server_info.h
@@ -18,6 +18,7 @@ namespace net {
class HttpCache;
class IOBuffer;
+class QuicSessionKey;
// DiskCacheBasedQuicServerInfo fetches information about a QUIC server from
// our standard disk cache. Since the information is defined to be
@@ -26,7 +27,7 @@ class NET_EXPORT_PRIVATE DiskCacheBasedQuicServerInfo
: public QuicServerInfo,
public NON_EXPORTED_BASE(base::NonThreadSafe) {
public:
- DiskCacheBasedQuicServerInfo(const std::string& hostname,
+ DiskCacheBasedQuicServerInfo(const QuicSessionKey& server_key,
HttpCache* http_cache);
// QuicServerInfo implementation.
@@ -89,7 +90,7 @@ class NET_EXPORT_PRIVATE DiskCacheBasedQuicServerInfo
bool ready_;
bool found_entry_; // Controls the behavior of DoCreateOrOpen.
std::string new_data_;
- const std::string hostname_;
+ const QuicSessionKey server_key_;
HttpCache* const http_cache_;
disk_cache::Backend* backend_;
disk_cache::Entry* entry_;
« no previous file with comments | « no previous file | net/http/disk_cache_based_quic_server_info.cc » ('j') | net/quic/quic_client_session.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698