Home
last modified time | relevance | path

Searched refs:FullHashInfo (Results 1 – 23 of 23) sorted by relevance

/dports/www/chromium-legacy/chromium-88.0.4324.182/components/safe_browsing/core/db/
H A Dv4_get_hash_protocol_manager.h54 struct FullHashInfo { struct
67 FullHashInfo(const FullHash& full_hash, argument
70 FullHashInfo(const FullHashInfo& other);
71 ~FullHashInfo();
73 bool operator==(const FullHashInfo& other) const;
74 bool operator!=(const FullHashInfo& other) const;
77 FullHashInfo();
89 std::vector<FullHashInfo> full_hash_infos;
104 base::OnceCallback<void(const std::vector<FullHashInfo>&)>;
121 std::vector<FullHashInfo> cached_full_hash_infos;
[all …]
H A Dv4_get_hash_protocol_manager.cc191 FullHashInfo::FullHashInfo(const FullHash& full_hash, in FullHashInfo() function in safe_browsing::FullHashInfo
198 FullHashInfo::FullHashInfo(const FullHashInfo& other) = default;
200 FullHashInfo::~FullHashInfo() {} in ~FullHashInfo()
202 bool FullHashInfo::operator==(const FullHashInfo& other) const { in operator ==()
207 bool FullHashInfo::operator!=(const FullHashInfo& other) const { in operator !=()
278 std::vector<FullHashInfo> cached_full_hash_infos; in GetFullHashes()
439 for (const FullHashInfo& full_hash_info : in GetFullHashCachedResults()
550 std::vector<FullHashInfo>* full_hash_infos, in ParseHashResponse()
718 const std::vector<FullHashInfo>& full_hash_infos, in UpdateCache()
749 for (const FullHashInfo& fhi : full_hash_infos) { in MergeResults()
[all …]
H A Dv4_get_hash_protocol_manager_unittest.cc202 std::vector<FullHashInfo> expected_results; in TEST_F()
224 std::vector<FullHashInfo> expected_results; in TEST_F()
242 std::vector<FullHashInfo> empty_results; in TEST_F()
316 std::vector<FullHashInfo> expected_results; in TEST_F()
355 std::vector<FullHashInfo> fhis; in TEST_F()
454 std::vector<FullHashInfo> full_hash_infos; in TEST_F()
487 std::vector<FullHashInfo> full_hash_infos; in TEST_F()
522 std::vector<FullHashInfo> full_hash_infos; in TEST_F()
709 std::vector<FullHashInfo> full_hash_infos; in TEST_F()
742 std::vector<FullHashInfo> full_hash_infos; in TEST_F()
[all …]
H A Dv4_test_util.h90 void AddToFullHashCache(FullHashInfo fhi);
104 void AddToFullHashCache(FullHashInfo fhi) { pm_->AddToFullHashCache(fhi); } in AddToFullHashCache()
113 FullHashInfo GetFullHashInfo(const GURL& url, const ListIdentifier& list_id);
118 FullHashInfo GetFullHashInfoWithMetadata(const GURL& url,
H A Dv4_test_util.cc113 void TestV4GetHashProtocolManager::AddToFullHashCache(FullHashInfo fhi) { in AddToFullHashCache()
134 FullHashInfo GetFullHashInfo(const GURL& url, const ListIdentifier& list_id) { in GetFullHashInfo()
135 return FullHashInfo(V4ProtocolManagerUtil::GetFullHash(url), list_id, in GetFullHashInfo()
139 FullHashInfo GetFullHashInfoWithMetadata( in GetFullHashInfoWithMetadata()
143 FullHashInfo fhi = GetFullHashInfo(url, list_id); in GetFullHashInfoWithMetadata()
H A Dv4_local_database_manager.h248 const std::vector<FullHashInfo>& full_hash_infos,
292 const std::vector<FullHashInfo>& full_hash_infos);
H A Dv4_local_database_manager_unittest.cc37 typedef std::vector<FullHashInfo> FullHashInfos;
828 FullHashInfo fhi_malware(fh_malware, GetUrlMalwareId(), base::Time::Now()); in TEST_F()
832 FullHashInfo fhi_api(fh_api, GetChromeUrlApiId(), base::Time::Now()); in TEST_F()
836 std::vector<FullHashInfo> fhis({fhi_malware, fhi_api}); in TEST_F()
1178 FullHashInfo fhi(bad_full_hash, GetChromeUrlClientIncidentId(), base::Time()); in TEST_F()
1232 FullHashInfo fhi(bad_extension_id, GetChromeExtMalwareId(), base::Time()); in TEST_F()
1289 FullHashInfo fhi(bad_full_hash, GetUrlMalBinId(), base::Time()); in TEST_F()
H A Dv4_local_database_manager.cc677 const std::vector<FullHashInfo>& full_hash_infos, in GetSeverestThreatTypeAndMetadata()
686 for (const FullHashInfo& fhi : full_hash_infos) { in GetSeverestThreatTypeAndMetadata()
805 std::vector<FullHashInfo> full_hash_infos; in ScheduleFullHashCheck()
854 const std::vector<FullHashInfo>& full_hash_infos) { in OnFullHashResponse()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/safe_browsing/core/db/
H A Dv4_get_hash_protocol_manager.h54 struct FullHashInfo { struct
67 FullHashInfo(const FullHash& full_hash, argument
70 FullHashInfo(const FullHashInfo& other);
71 ~FullHashInfo();
73 bool operator==(const FullHashInfo& other) const;
74 bool operator!=(const FullHashInfo& other) const;
77 FullHashInfo();
89 std::vector<FullHashInfo> full_hash_infos;
104 base::OnceCallback<void(const std::vector<FullHashInfo>&)>;
121 std::vector<FullHashInfo> cached_full_hash_infos;
[all …]
H A Dv4_get_hash_protocol_manager.cc191 FullHashInfo::FullHashInfo(const FullHash& full_hash, in FullHashInfo() function in safe_browsing::FullHashInfo
198 FullHashInfo::FullHashInfo(const FullHashInfo& other) = default;
200 FullHashInfo::~FullHashInfo() {} in ~FullHashInfo()
202 bool FullHashInfo::operator==(const FullHashInfo& other) const { in operator ==()
207 bool FullHashInfo::operator!=(const FullHashInfo& other) const { in operator !=()
278 std::vector<FullHashInfo> cached_full_hash_infos; in GetFullHashes()
442 for (const FullHashInfo& full_hash_info : in GetFullHashCachedResults()
553 std::vector<FullHashInfo>* full_hash_infos, in ParseHashResponse()
721 const std::vector<FullHashInfo>& full_hash_infos, in UpdateCache()
752 for (const FullHashInfo& fhi : full_hash_infos) { in MergeResults()
[all …]
H A Dv4_get_hash_protocol_manager_unittest.cc202 std::vector<FullHashInfo> expected_results; in TEST_F()
224 std::vector<FullHashInfo> expected_results; in TEST_F()
242 std::vector<FullHashInfo> empty_results; in TEST_F()
316 std::vector<FullHashInfo> expected_results; in TEST_F()
355 std::vector<FullHashInfo> fhis; in TEST_F()
454 std::vector<FullHashInfo> full_hash_infos; in TEST_F()
487 std::vector<FullHashInfo> full_hash_infos; in TEST_F()
522 std::vector<FullHashInfo> full_hash_infos; in TEST_F()
709 std::vector<FullHashInfo> full_hash_infos; in TEST_F()
742 std::vector<FullHashInfo> full_hash_infos; in TEST_F()
[all …]
H A Dv4_test_util.h90 void AddToFullHashCache(FullHashInfo fhi);
104 void AddToFullHashCache(FullHashInfo fhi) { pm_->AddToFullHashCache(fhi); } in AddToFullHashCache()
113 FullHashInfo GetFullHashInfo(const GURL& url, const ListIdentifier& list_id);
118 FullHashInfo GetFullHashInfoWithMetadata(const GURL& url,
H A Dv4_test_util.cc113 void TestV4GetHashProtocolManager::AddToFullHashCache(FullHashInfo fhi) { in AddToFullHashCache()
134 FullHashInfo GetFullHashInfo(const GURL& url, const ListIdentifier& list_id) { in GetFullHashInfo()
135 return FullHashInfo(V4ProtocolManagerUtil::GetFullHash(url), list_id, in GetFullHashInfo()
139 FullHashInfo GetFullHashInfoWithMetadata( in GetFullHashInfoWithMetadata()
143 FullHashInfo fhi = GetFullHashInfo(url, list_id); in GetFullHashInfoWithMetadata()
H A Dv4_local_database_manager.h248 const std::vector<FullHashInfo>& full_hash_infos,
292 const std::vector<FullHashInfo>& full_hash_infos);
H A Dv4_local_database_manager_unittest.cc37 typedef std::vector<FullHashInfo> FullHashInfos;
828 FullHashInfo fhi_malware(fh_malware, GetUrlMalwareId(), base::Time::Now()); in TEST_F()
832 FullHashInfo fhi_api(fh_api, GetChromeUrlApiId(), base::Time::Now()); in TEST_F()
836 std::vector<FullHashInfo> fhis({fhi_malware, fhi_api}); in TEST_F()
1178 FullHashInfo fhi(bad_full_hash, GetChromeUrlClientIncidentId(), base::Time()); in TEST_F()
1232 FullHashInfo fhi(bad_extension_id, GetChromeExtMalwareId(), base::Time()); in TEST_F()
1289 FullHashInfo fhi(bad_full_hash, GetUrlMalBinId(), base::Time()); in TEST_F()
H A Dv4_local_database_manager.cc703 const std::vector<FullHashInfo>& full_hash_infos, in GetSeverestThreatTypeAndMetadata()
712 for (const FullHashInfo& fhi : full_hash_infos) { in GetSeverestThreatTypeAndMetadata()
828 std::vector<FullHashInfo> full_hash_infos; in ScheduleFullHashCheck()
877 const std::vector<FullHashInfo>& full_hash_infos) { in OnFullHashResponse()
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/safe_browsing/core/proto/
H A Dwebui.proto81 message FullHashInfo { message
103 repeated FullHashInfo full_hash_info = 2;
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/safe_browsing/core/proto/
H A Dwebui.proto81 message FullHashInfo { message
103 repeated FullHashInfo full_hash_info = 2;
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/safe_browsing/
H A Dtest_safe_browsing_database_helper.cc133 safe_browsing::FullHashInfo full_hash_info = in AddFullHashToDbAndFullHashCache()
H A Dsafe_browsing_service_browsertest.cc483 FullHashInfo full_hash_info = in MarkUrlForListIdUnexpired()
/dports/www/chromium-legacy/chromium-88.0.4324.182/ios/chrome/browser/safe_browsing/
H A Dsafe_browsing_service_unittest.mm209 safe_browsing::FullHashInfo full_hash_info =
219 safe_browsing::FullHashInfo full_hash_info =
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/safe_browsing/content/web_ui/
H A Dsafe_browsing_ui.cc429 const FullHashCacheInfo::FullHashCache::CachedHashPrefixInfo::FullHashInfo in ParseFullHashInfo()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/safe_browsing/content/web_ui/
H A Dsafe_browsing_ui.cc422 const FullHashCacheInfo::FullHashCache::CachedHashPrefixInfo::FullHashInfo in ParseFullHashInfo()