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

Unified Diff: net/quic/core/quic_server_id.cc

Issue 2478573004: Convert GURL::{host,path} to GURL::{host_piece,path_piece} for ==. (Closed)
Patch Set: rebase to #431874 Created 4 years, 1 month 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
« no previous file with comments | « net/http/http_stream_factory_impl_job_controller.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_server_id.cc
diff --git a/net/quic/core/quic_server_id.cc b/net/quic/core/quic_server_id.cc
index 9bcf84c979c673a6e348a25df877440600a9f7f0..ecc8d0e40fd952383a9351412160093773ac44f9 100644
--- a/net/quic/core/quic_server_id.cc
+++ b/net/quic/core/quic_server_id.cc
@@ -46,7 +46,7 @@ QuicServerId QuicServerId::FromString(const std::string& str) {
GURL url(str);
if (!url.is_valid())
return QuicServerId();
- return QuicServerId(HostPortPair::FromURL(url), url.path() == "/private"
+ return QuicServerId(HostPortPair::FromURL(url), url.path_piece() == "/private"
? PRIVACY_MODE_ENABLED
: PRIVACY_MODE_DISABLED);
}
« no previous file with comments | « net/http/http_stream_factory_impl_job_controller.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698