Home
last modified time | relevance | path

Searched refs:PathMatch (Results 1 – 3 of 3) sorted by relevance

/external/chromium/net/base/
Dsdch_filter_unittest.cc1332 TEST_F(SdchFilterTest, PathMatch) { in TEST_F() argument
1333 bool (*PathMatch)(const std::string& path, const std::string& restriction) = in TEST_F() local
1334 SdchManager::Dictionary::PathMatch; in TEST_F()
1336 EXPECT_TRUE(PathMatch("/search", "/search")); in TEST_F()
1337 EXPECT_TRUE(PathMatch("/search/", "/search/")); in TEST_F()
1343 EXPECT_TRUE(PathMatch("/search/something", "/search")); in TEST_F()
1344 EXPECT_TRUE(PathMatch("/search/s", "/search")); in TEST_F()
1345 EXPECT_TRUE(PathMatch("/search/other", "/search")); in TEST_F()
1346 EXPECT_TRUE(PathMatch("/search/something", "/search")); in TEST_F()
1349 EXPECT_TRUE(PathMatch("/search/something", "/search/")); in TEST_F()
[all …]
Dsdch_manager.h172 FRIEND_TEST_ALL_PREFIXES(SdchFilterTest, PathMatch);
204 static bool PathMatch(const std::string& path,
Dsdch_manager.cc68 if (path_.size() && !PathMatch(target_url.path(), path_)) in CanAdvertise()
161 if (path_.size() && !PathMatch(referring_url.path(), path_)) { in CanUse()
180 bool SdchManager::Dictionary::PathMatch(const std::string& path, in PathMatch() function in net::SdchManager::Dictionary