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

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

Issue 1841863002: Update monet. (Closed) Base URL: https://github.com/domokit/monet.git@master
Patch Set: Created 4 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
« no previous file with comments | « net/tools/quic/quic_client_bin.cc ('k') | net/tools/quic/quic_simple_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_in_memory_cache.cc
diff --git a/net/tools/quic/quic_in_memory_cache.cc b/net/tools/quic/quic_in_memory_cache.cc
index cb90bb56534f00f12dc704b128ea8e92bc1b1a08..62b7fbd90c5291ac868e5fd72a8c072094135dae 100644
--- a/net/tools/quic/quic_in_memory_cache.cc
+++ b/net/tools/quic/quic_in_memory_cache.cc
@@ -121,9 +121,9 @@ void QuicInMemoryCache::InitializeFromDirectory(const string& cache_directory) {
if (response_headers->GetNormalizedHeader("X-Original-Url", &base)) {
response_headers->RemoveHeader("X-Original-Url");
// Remove the protocol so we can add it below.
- if (StartsWithASCII(base, "https://", false)) {
+ if (base::StartsWithASCII(base, "https://", false)) {
base = base.substr(8);
- } else if (StartsWithASCII(base, "http://", false)) {
+ } else if (base::StartsWithASCII(base, "http://", false)) {
base = base.substr(7);
}
} else {
« no previous file with comments | « net/tools/quic/quic_client_bin.cc ('k') | net/tools/quic/quic_simple_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698