#include "components/safe_browsing/core/browser/database_manager_mechanism.h"
#include "components/safe_browsing/core/browser/db/database_manager.h"
#include "components/safe_browsing/core/browser/db/util.h"
#include "components/safe_browsing/core/browser/db/v4_protocol_manager_util.h"
#include "components/safe_browsing/core/browser/safe_browsing_lookup_mechanism.h"
namespace safe_browsing {
DatabaseManagerMechanism::DatabaseManagerMechanism(
const GURL& url,
const SBThreatTypeSet& threat_types,
scoped_refptr<SafeBrowsingDatabaseManager> database_manager,
CheckBrowseUrlType check_type)
: … { … }
DatabaseManagerMechanism::~DatabaseManagerMechanism() { … }
ThreatSource DatabaseManagerMechanism::GetThreatSource() const { … }
SafeBrowsingLookupMechanism::StartCheckResult
DatabaseManagerMechanism::StartCheckInternal() { … }
void DatabaseManagerMechanism::OnCheckBrowseUrlResult(
const GURL& url,
SBThreatType threat_type,
const ThreatMetadata& metadata) { … }
}