Lines Matching defs:SafeBrowsingDatabaseManager
66 SafeBrowsingDatabaseManager::SafeBrowsingCheck::SafeBrowsingCheck(
82 SafeBrowsingDatabaseManager::SafeBrowsingCheck::~SafeBrowsingCheck() {}
84 void SafeBrowsingDatabaseManager::Client::OnSafeBrowsingResult(
133 SafeBrowsingDatabaseManager::SafeBrowsingDatabaseManager(
187 SafeBrowsingDatabaseManager::~SafeBrowsingDatabaseManager() {
193 bool SafeBrowsingDatabaseManager::CanCheckUrl(const GURL& url) const {
199 bool SafeBrowsingDatabaseManager::CheckDownloadUrl(
214 base::Bind(&SafeBrowsingDatabaseManager::CheckDownloadUrlOnSBThread, this,
219 bool SafeBrowsingDatabaseManager::CheckDownloadHash(
237 base::Bind(&SafeBrowsingDatabaseManager::CheckDownloadHashOnSBThread,this,
242 bool SafeBrowsingDatabaseManager::CheckExtensionIDs(
263 base::Bind(&SafeBrowsingDatabaseManager::CheckExtensionIDsOnSBThread,
269 bool SafeBrowsingDatabaseManager::CheckSideEffectFreeWhitelistUrl(
280 bool SafeBrowsingDatabaseManager::MatchCsdWhitelistUrl(const GURL& url) {
292 bool SafeBrowsingDatabaseManager::MatchDownloadWhitelistUrl(const GURL& url) {
300 bool SafeBrowsingDatabaseManager::MatchDownloadWhitelistString(
309 bool SafeBrowsingDatabaseManager::IsMalwareKillSwitchOn() {
317 bool SafeBrowsingDatabaseManager::CheckBrowseUrl(const GURL& url,
363 base::Bind(&SafeBrowsingDatabaseManager::OnCheckDone, this, check));
368 void SafeBrowsingDatabaseManager::CancelCheck(Client* client) {
391 void SafeBrowsingDatabaseManager::HandleGetHashResults(
418 void SafeBrowsingDatabaseManager::GetChunks(GetChunksCallback callback) {
423 &SafeBrowsingDatabaseManager::GetAllChunksFromDatabase, this, callback));
426 void SafeBrowsingDatabaseManager::AddChunks(const std::string& list,
433 &SafeBrowsingDatabaseManager::AddDatabaseChunks, this, list,
437 void SafeBrowsingDatabaseManager::DeleteChunks(
442 &SafeBrowsingDatabaseManager::DeleteDatabaseChunks, this, chunk_deletes));
445 void SafeBrowsingDatabaseManager::UpdateStarted() {
452 void SafeBrowsingDatabaseManager::UpdateFinished(bool update_succeeded) {
458 base::Bind(&SafeBrowsingDatabaseManager::DatabaseUpdateFinished,
463 void SafeBrowsingDatabaseManager::ResetDatabase() {
467 &SafeBrowsingDatabaseManager::OnResetDatabase, this));
470 void SafeBrowsingDatabaseManager::PurgeMemory() {
475 void SafeBrowsingDatabaseManager::LogPauseDelay(base::TimeDelta time) {
479 void SafeBrowsingDatabaseManager::StartOnIOThread() {
493 void SafeBrowsingDatabaseManager::StopOnIOThread(bool shutdown) {
502 void SafeBrowsingDatabaseManager::DoStopOnIOThread() {
558 bool SafeBrowsingDatabaseManager::DatabaseAvailable() const {
563 bool SafeBrowsingDatabaseManager::MakeDatabaseAvailable() {
570 base::Bind(base::IgnoreResult(&SafeBrowsingDatabaseManager::GetDatabase),
575 void SafeBrowsingDatabaseManager::CloseDatabase() {
602 base::Bind(&SafeBrowsingDatabaseManager::OnCloseDatabase, this));
606 SafeBrowsingDatabase* SafeBrowsingDatabaseManager::GetDatabase() {
632 base::Bind(&SafeBrowsingDatabaseManager::DatabaseLoadComplete, this));
638 void SafeBrowsingDatabaseManager::OnCheckDone(SafeBrowsingCheck* check) {
680 base::Bind(&SafeBrowsingDatabaseManager::HandleGetHashResults,
691 void SafeBrowsingDatabaseManager::GetAllChunksFromDatabase(
709 base::Bind(&SafeBrowsingDatabaseManager::OnGetAllChunksFromDatabase,
713 void SafeBrowsingDatabaseManager::OnGetAllChunksFromDatabase(
721 void SafeBrowsingDatabaseManager::OnAddChunksComplete(
728 void SafeBrowsingDatabaseManager::DatabaseLoadComplete() {
758 void SafeBrowsingDatabaseManager::AddDatabaseChunks(
769 base::Bind(&SafeBrowsingDatabaseManager::OnAddChunksComplete, this,
773 void SafeBrowsingDatabaseManager::DeleteDatabaseChunks(
783 SBThreatType SafeBrowsingDatabaseManager::GetThreatTypeFromListname(
809 void SafeBrowsingDatabaseManager::DatabaseUpdateFinished(
818 base::Bind(&SafeBrowsingDatabaseManager::NotifyDatabaseUpdateFinished,
822 void SafeBrowsingDatabaseManager::NotifyDatabaseUpdateFinished(
826 content::Source<SafeBrowsingDatabaseManager>(this),
830 void SafeBrowsingDatabaseManager::OnCloseDatabase() {
848 void SafeBrowsingDatabaseManager::OnResetDatabase() {
854 void SafeBrowsingDatabaseManager::CacheHashResults(
862 void SafeBrowsingDatabaseManager::OnHandleGetHashResults(
888 bool SafeBrowsingDatabaseManager::HandleOneCheck(
930 void SafeBrowsingDatabaseManager::CheckDownloadHashOnSBThread(
943 base::Bind(&SafeBrowsingDatabaseManager::CheckDownloadHashDone, this,
952 base::Bind(&SafeBrowsingDatabaseManager::OnCheckDone, this, check));
955 void SafeBrowsingDatabaseManager::CheckDownloadUrlOnSBThread(
967 base::Bind(&SafeBrowsingDatabaseManager::CheckDownloadUrlDone, this,
977 base::Bind(&SafeBrowsingDatabaseManager::OnCheckDone, this, check));
980 void SafeBrowsingDatabaseManager::CheckExtensionIDsOnSBThread(
997 base::Bind(&SafeBrowsingDatabaseManager::SafeBrowsingCheckDone, this,
1005 base::Bind(&SafeBrowsingDatabaseManager::OnCheckDone, this, check));
1009 void SafeBrowsingDatabaseManager::TimeoutCallback(SafeBrowsingCheck* check) {
1023 void SafeBrowsingDatabaseManager::CheckDownloadUrlDone(
1029 void SafeBrowsingDatabaseManager::CheckDownloadHashDone(
1035 void SafeBrowsingDatabaseManager::SafeBrowsingCheckDone(
1051 void SafeBrowsingDatabaseManager::StartSafeBrowsingCheck(
1056 new base::WeakPtrFactory<SafeBrowsingDatabaseManager>(this));
1062 base::Bind(&SafeBrowsingDatabaseManager::TimeoutCallback,