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

Unified Diff: net/base/sdch_dictionary_unittest.cc

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/sdch_dictionary.cc ('k') | net/cert_net/nss_ocsp.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/sdch_dictionary_unittest.cc
diff --git a/net/base/sdch_dictionary_unittest.cc b/net/base/sdch_dictionary_unittest.cc
index d9fd92e7db41ba8e77791f8ed1287607cd219702..5a413e82bc32cca2edd0ddb153e7e9e1f2d8c554 100644
--- a/net/base/sdch_dictionary_unittest.cc
+++ b/net/base/sdch_dictionary_unittest.cc
@@ -77,7 +77,8 @@ TEST(SdchDictionaryTest, CanUse) {
}
TEST(SdchDictionaryTest, PathMatch) {
- bool (*PathMatch)(const std::string& path, const std::string& restriction) =
+ bool (*PathMatch)(const base::StringPiece& path,
+ const base::StringPiece& restriction) =
SdchDictionary::PathMatch;
// Perfect match is supported.
EXPECT_TRUE(PathMatch("/search", "/search"));
« no previous file with comments | « net/base/sdch_dictionary.cc ('k') | net/cert_net/nss_ocsp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698