| Index: net/http/disk_cache_based_quic_server_info.cc
|
| diff --git a/net/http/disk_cache_based_quic_server_info.cc b/net/http/disk_cache_based_quic_server_info.cc
|
| index 91625bc973cec0eee0174c9348fd858d127212f2..e9858071a504a938caca23514f7d04ffc10c6f72 100644
|
| --- a/net/http/disk_cache_based_quic_server_info.cc
|
| +++ b/net/http/disk_cache_based_quic_server_info.cc
|
| @@ -12,6 +12,7 @@
|
| #include "net/base/net_errors.h"
|
| #include "net/http/http_cache.h"
|
| #include "net/http/http_network_session.h"
|
| +#include "net/quic/quic_session_key.h"
|
|
|
| namespace net {
|
|
|
| @@ -43,9 +44,9 @@ struct DiskCacheBasedQuicServerInfo::CacheOperationDataShim {
|
| };
|
|
|
| DiskCacheBasedQuicServerInfo::DiskCacheBasedQuicServerInfo(
|
| - const std::string& hostname,
|
| + const QuicSessionKey& server_key,
|
| HttpCache* http_cache)
|
| - : QuicServerInfo(hostname),
|
| + : QuicServerInfo(server_key),
|
| weak_factory_(this),
|
| data_shim_(new CacheOperationDataShim()),
|
| io_callback_(
|
| @@ -55,7 +56,7 @@ DiskCacheBasedQuicServerInfo::DiskCacheBasedQuicServerInfo(
|
| state_(GET_BACKEND),
|
| ready_(false),
|
| found_entry_(false),
|
| - hostname_(hostname),
|
| + server_key_(server_key),
|
| http_cache_(http_cache),
|
| backend_(NULL),
|
| entry_(NULL) {
|
| @@ -113,7 +114,7 @@ DiskCacheBasedQuicServerInfo::~DiskCacheBasedQuicServerInfo() {
|
| }
|
|
|
| std::string DiskCacheBasedQuicServerInfo::key() const {
|
| - return "quicserverinfo:" + hostname_;
|
| + return "quicserverinfo:" + server_key_.ToString();
|
| }
|
|
|
| void DiskCacheBasedQuicServerInfo::OnIOComplete(CacheOperationDataShim* unused,
|
|
|