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

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: fix comments from Patch set 1 and 3 and 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
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..8826f6792c98a63dc2589c8982cfc89bbe256976 100644
--- a/net/http/disk_cache_based_quic_server_info.h
+++ b/net/http/disk_cache_based_quic_server_info.h
@@ -26,7 +26,7 @@ class NET_EXPORT_PRIVATE DiskCacheBasedQuicServerInfo
: public QuicServerInfo,
public NON_EXPORTED_BASE(base::NonThreadSafe) {
public:
- DiskCacheBasedQuicServerInfo(const std::string& hostname,
+ DiskCacheBasedQuicServerInfo(const HostPortPair& host_port_pair,
HttpCache* http_cache);
// QuicServerInfo implementation.
@@ -89,7 +89,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 HostPortPair host_port_pair_;
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/http/disk_cache_based_quic_server_info.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698