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

Unified Diff: net/base/sdch_dictionary.h

Issue 2481923002: [WIP] make GURL::path() return a StringPiece (Closed)
Patch Set: thanks asan 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/base/mac/url_conversions.mm ('k') | net/base/sdch_dictionary.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/sdch_dictionary.h
diff --git a/net/base/sdch_dictionary.h b/net/base/sdch_dictionary.h
index c2fb7c87bf999324311166c55204775a5960f74f..03854d71da2e4e7bf3fee6ed33762b999a8aa3cd 100644
--- a/net/base/sdch_dictionary.h
+++ b/net/base/sdch_dictionary.h
@@ -67,8 +67,8 @@ class NET_EXPORT_PRIVATE SdchDictionary {
SdchProblemCode CanUse(const GURL& referring_url) const;
// Compare paths to see if they "match" for dictionary use.
- static bool PathMatch(const std::string& path,
- const std::string& restriction);
+ static bool PathMatch(const base::StringPiece& path,
+ const base::StringPiece& restriction);
// Is this dictionary expired?
bool Expired() const;
« no previous file with comments | « net/base/mac/url_conversions.mm ('k') | net/base/sdch_dictionary.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698