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

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: 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..a6e27f0ed5c2ab21922b6009463b037d063179c8 100644
--- a/net/http/disk_cache_based_quic_server_info.h
+++ b/net/http/disk_cache_based_quic_server_info.h
@@ -27,6 +27,7 @@ class NET_EXPORT_PRIVATE DiskCacheBasedQuicServerInfo
public NON_EXPORTED_BASE(base::NonThreadSafe) {
public:
DiskCacheBasedQuicServerInfo(const std::string& hostname,
+ uint16 port,
HttpCache* http_cache);
// QuicServerInfo implementation.
@@ -90,6 +91,7 @@ class NET_EXPORT_PRIVATE DiskCacheBasedQuicServerInfo
bool found_entry_; // Controls the behavior of DoCreateOrOpen.
std::string new_data_;
const std::string hostname_;
+ uint16 port_;
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