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

Unified Diff: net/tools/quic/quic_http_response_cache.cc

Issue 2591143003: Add QuicStrCat. (Closed)
Patch Set: correct quic_client_bin.cc Created 4 years 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/tools/quic/quic_http_response_cache.cc
diff --git a/net/tools/quic/quic_http_response_cache.cc b/net/tools/quic/quic_http_response_cache.cc
index bc6c819f5249edd34b41407fb565b7b89ec4d4f0..47a5084897c2385822b65ea8d8d74a6c1e7fe0bb 100644
--- a/net/tools/quic/quic_http_response_cache.cc
+++ b/net/tools/quic/quic_http_response_cache.cc
@@ -338,7 +338,7 @@ void QuicHttpResponseCache::MaybeAddServerPushResources(
StringPiece request_host,
StringPiece request_path,
std::list<ServerPushInfo> push_resources) {
- string request_url = GetKey(request_host, request_path);
+ string request_url = QuicStrCat(request_host, request_path);
Ryan Hamilton 2016/12/22 18:17:30 I think we should use GetKey here (and in the inte
for (const auto& push_resource : push_resources) {
if (PushResourceExistsInCache(request_url, push_resource)) {

Powered by Google App Engine
This is Rietveld 408576698