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

Unified Diff: net/http/disk_cache_based_quic_server_info.cc

Issue 218923002: Merge internal change: 63891842 - QuicServerId changes (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.cc
diff --git a/net/http/disk_cache_based_quic_server_info.cc b/net/http/disk_cache_based_quic_server_info.cc
index 1c7147d61d92503a13c788ce7da3f4638d65ab6d..4cf036de3ba8f70e779b82f714a8486d82ee3671 100644
--- a/net/http/disk_cache_based_quic_server_info.cc
+++ b/net/http/disk_cache_based_quic_server_info.cc
@@ -12,7 +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"
+#include "net/quic/quic_server_id.h"
namespace net {
@@ -44,9 +44,9 @@ struct DiskCacheBasedQuicServerInfo::CacheOperationDataShim {
};
DiskCacheBasedQuicServerInfo::DiskCacheBasedQuicServerInfo(
- const QuicSessionKey& server_key,
+ const QuicServerId& server_id,
HttpCache* http_cache)
- : QuicServerInfo(server_key),
+ : QuicServerInfo(server_id),
weak_factory_(this),
data_shim_(new CacheOperationDataShim()),
io_callback_(
@@ -56,7 +56,7 @@ DiskCacheBasedQuicServerInfo::DiskCacheBasedQuicServerInfo(
state_(GET_BACKEND),
ready_(false),
found_entry_(false),
- server_key_(server_key),
+ server_id_(server_id),
http_cache_(http_cache),
backend_(NULL),
entry_(NULL) {
@@ -120,7 +120,7 @@ DiskCacheBasedQuicServerInfo::~DiskCacheBasedQuicServerInfo() {
}
std::string DiskCacheBasedQuicServerInfo::key() const {
- return "quicserverinfo:" + server_key_.ToString();
+ return "quicserverinfo:" + server_id_.ToString();
}
void DiskCacheBasedQuicServerInfo::OnIOComplete(CacheOperationDataShim* unused,

Powered by Google App Engine
This is Rietveld 408576698