Home
last modified time | relevance | path

Searched refs:SBFullHashForString (Results 1 – 11 of 11) sorted by relevance

/external/chromium_org/chrome/browser/safe_browsing/
Dsafe_browsing_store_unittest.cc11 const SBFullHash kHash1 = SBFullHashForString("one");
12 const SBFullHash kHash2 = SBFullHashForString("two");
13 const SBFullHash kHash3 = SBFullHashForString("three");
14 const SBFullHash kHash4 = SBFullHashForString("four");
15 const SBFullHash kHash5 = SBFullHashForString("five");
16 const SBFullHash kHash6 = SBFullHashForString("six");
17 const SBFullHash kHash7 = SBFullHashForString("seven");
Ddatabase_manager_unittest.cc89 const SBFullHash kMalwareHostHash = SBFullHashForString("malware.com/"); in TEST_F()
90 const SBFullHash kPhishingHostHash = SBFullHashForString("phishing.com/"); in TEST_F()
91 const SBFullHash kSafeHostHash = SBFullHashForString("www.safe.com/"); in TEST_F()
Dprefix_set_unittest.cc408 hashes.push_back(SBFullHashForString("one")); in TEST_F()
409 hashes.push_back(SBFullHashForString("two")); in TEST_F()
410 hashes.push_back(SBFullHashForString("three")); in TEST_F()
600 const SBFullHash kHash1 = SBFullHashForString("one"); in TEST_F()
601 const SBFullHash kHash2 = SBFullHashForString("two"); in TEST_F()
602 const SBFullHash kHash3 = SBFullHashForString("three"); in TEST_F()
603 const SBFullHash kHash4 = SBFullHashForString("four"); in TEST_F()
604 const SBFullHash kHash5 = SBFullHashForString("five"); in TEST_F()
605 const SBFullHash kHash6 = SBFullHashForString("six"); in TEST_F()
717 const SBFullHash kHash1 = SBFullHashForString("www.evil.com/malware.html"); in TEST_F()
[all …]
Dsafe_browsing_util_unittest.cc324 const SBFullHash kHash1 = SBFullHashForString("one"); in TEST()
325 const SBFullHash kHash2 = SBFullHashForString("two"); in TEST()
Dsafe_browsing_store_file_unittest.cc27 const SBFullHash kHash1 = SBFullHashForString("one");
28 const SBFullHash kHash2 = SBFullHashForString("two");
29 const SBFullHash kHash3 = SBFullHashForString("three");
30 const SBFullHash kHash4 = SBFullHashForString("four");
31 const SBFullHash kHash5 = SBFullHashForString("five");
32 const SBFullHash kHash6 = SBFullHashForString("six");
Dsafe_browsing_database_unittest.cc37 return SBFullHashForString(str).prefix; in SBPrefixForString()
140 return AddChunkFullHash(chunk_number, SBFullHashForString(value)); in AddChunkFullHashValue()
148 SBFullHashForString(value1), in AddChunkFullHash2Value()
149 SBFullHashForString(value2), in AddChunkFullHash2Value()
202 SBFullHashForString(value), in SubChunkFullHashValue()
798 full_hash.hash = SBFullHashForString("www.evil.com/phishing.html"); in PopulateDatabaseForCacheTest()
802 full_hash.hash = SBFullHashForString("www.evil.com/malware.html"); in PopulateDatabaseForCacheTest()
823 cache_hits[0].hash, SBFullHashForString("www.evil.com/phishing.html"))); in TEST_F()
834 cache_hits[0].hash, SBFullHashForString("www.evil.com/malware.html"))); in TEST_F()
1030 result.hash = SBFullHashForString(kExampleCollision); in TEST_F()
Dsafe_browsing_util.h51 SBFullHash SBFullHashForString(const base::StringPiece& str);
Dsafe_browsing_database.cc141 full_hashes->push_back(SBFullHashForString(hosts[i] + path)); in BrowseFullHashesToCheck()
150 SBFullHashForString(hosts[i] + path.substr(0, path.size() - 1))); in BrowseFullHashesToCheck()
740 SBFullHash full_hash = SBFullHashForString(url_to_check); in ContainsSideEffectFreeWhitelistUrl()
790 hashes.push_back(SBFullHashForString(str)); in ContainsDownloadWhitelistedString()
1515 SBFullHash kill_switch = SBFullHashForString(kWhitelistKillSwitchUrl); in LoadWhitelist()
1568 SBFullHash malware_kill_switch = SBFullHashForString(kMalwareIPKillSwitchUrl); in IsMalwareIPMatchKillSwitchOn()
Dsafe_browsing_util.cc24 SBFullHash SBFullHashForString(const base::StringPiece& str) { in SBFullHashForString() function
Dsafe_browsing_service_browsertest.cc383 full_hash->hash = SBFullHashForString(host + path); in GenUrlFullhashResult()
Ddatabase_manager.cc102 SBFullHashForString(patterns[i]), full_hashes, index); in GetUrlThreatListType()