Home
last modified time | relevance | path

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

/external/chromium_org/net/base/
Dsdch_manager_unittest.cc403 TEST_F(SdchManagerTest, PathMatch) { in TEST_F() argument
404 bool (*PathMatch)(const std::string& path, const std::string& restriction) = in TEST_F() local
405 SdchManager::Dictionary::PathMatch; in TEST_F()
407 EXPECT_TRUE(PathMatch("/search", "/search")); in TEST_F()
408 EXPECT_TRUE(PathMatch("/search/", "/search/")); in TEST_F()
414 EXPECT_TRUE(PathMatch("/search/something", "/search")); in TEST_F()
415 EXPECT_TRUE(PathMatch("/search/s", "/search")); in TEST_F()
416 EXPECT_TRUE(PathMatch("/search/other", "/search")); in TEST_F()
417 EXPECT_TRUE(PathMatch("/search/something", "/search")); in TEST_F()
420 EXPECT_TRUE(PathMatch("/search/something", "/search/")); in TEST_F()
[all …]
Dsdch_manager.h193 FRIEND_TEST_ALL_PREFIXES(SdchManagerTest, PathMatch);
225 static bool PathMatch(const std::string& path,
Dsdch_manager.cc105 if (path_.size() && !PathMatch(target_url.path(), path_)) in CanAdvertise()
200 if (path_.size() && !PathMatch(referring_url.path(), path_)) { in CanUse()
224 bool SdchManager::Dictionary::PathMatch(const std::string& path, in PathMatch() function in net::SdchManager::Dictionary