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

Unified Diff: net/http/http_cache.cc

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
Index: net/http/http_cache.cc
diff --git a/net/http/http_cache.cc b/net/http/http_cache.cc
index e4319e10a2d732005d6782c01429b92e033b6b54..c040aa9a36fc73ffc65aa05c7bbf322d9e19e6c3 100644
--- a/net/http/http_cache.cc
+++ b/net/http/http_cache.cc
@@ -275,8 +275,9 @@ class HttpCache::QuicServerInfoFactoryAdaptor : public QuicServerInfoFactory {
: http_cache_(http_cache) {
}
- virtual QuicServerInfo* GetForHost(const std::string& hostname) OVERRIDE {
- return new DiskCacheBasedQuicServerInfo(hostname, http_cache_);
+ virtual QuicServerInfo* GetForServer(
+ const QuicSessionKey& server_key) OVERRIDE {
+ return new DiskCacheBasedQuicServerInfo(server_key, http_cache_);
}
private:

Powered by Google App Engine
This is Rietveld 408576698