Home | History | Annotate | Download | only in safe_browsing

Lines Matching refs:SafeBrowsingService

84 SafeBrowsingServiceFactory* SafeBrowsingService::factory_ = NULL;
90 virtual SafeBrowsingService* CreateSafeBrowsingService() {
91 return new SafeBrowsingService();
105 struct SafeBrowsingService::WhiteListedEntry {
112 SafeBrowsingService::UnsafeResource::UnsafeResource()
120 SafeBrowsingService::UnsafeResource::~UnsafeResource() {}
122 SafeBrowsingService::SafeBrowsingCheck::SafeBrowsingCheck()
131 SafeBrowsingService::SafeBrowsingCheck::~SafeBrowsingCheck() {}
133 void SafeBrowsingService::Client::OnSafeBrowsingResult(
154 SafeBrowsingService* SafeBrowsingService::CreateSafeBrowsingService() {
160 SafeBrowsingService::SafeBrowsingService()
173 void SafeBrowsingService::Initialize() {
180 void SafeBrowsingService::ShutDown() {
183 NewRunnableMethod(this, &SafeBrowsingService::OnIOShutdown));
186 bool SafeBrowsingService::CanCheckUrl(const GURL& url) const {
194 bool SafeBrowsingService::CanReportStats() const {
202 bool SafeBrowsingService::DownloadBinHashNeeded() const {
206 bool SafeBrowsingService::CheckDownloadUrl(const std::vector<GURL>& url_chain,
220 &SafeBrowsingService::CheckDownloadUrlOnSBThread,
226 bool SafeBrowsingService::CheckDownloadHash(const std::string& full_hash,
242 &SafeBrowsingService::CheckDownloadHashOnSBThread,
248 bool SafeBrowsingService::MatchCsdWhitelistUrl(const GURL& url) {
260 bool SafeBrowsingService::CheckBrowseUrl(const GURL& url,
306 NewRunnableMethod(this, &SafeBrowsingService::OnCheckDone, check));
311 void SafeBrowsingService::CancelCheck(Client* client) {
334 void SafeBrowsingService::DisplayBlockingPage(
355 this, &SafeBrowsingService::NotifyClientBlockingComplete,
375 this, &SafeBrowsingService::DoDisplayBlockingPage, resource));
378 void SafeBrowsingService::HandleGetHashResults(
405 void SafeBrowsingService::HandleChunk(const std::string& list,
410 this, &SafeBrowsingService::HandleChunkForDatabase, list, chunks));
413 void SafeBrowsingService::HandleChunkDelete(
418 this, &SafeBrowsingService::DeleteChunks, chunk_deletes));
421 void SafeBrowsingService::UpdateStarted() {
427 this, &SafeBrowsingService::GetAllChunksFromDatabase));
430 void SafeBrowsingService::UpdateFinished(bool update_succeeded) {
437 &SafeBrowsingService::DatabaseUpdateFinished,
442 bool SafeBrowsingService::IsUpdateInProgress() const {
447 void SafeBrowsingService::OnBlockingPageDone(
468 void SafeBrowsingService
477 void SafeBrowsingService::OnEnable(bool enabled) {
485 void SafeBrowsingService::RegisterPrefs(PrefService* prefs) {
490 void SafeBrowsingService::CloseDatabase() {
517 NewRunnableMethod(this, &SafeBrowsingService::OnCloseDatabase));
521 void SafeBrowsingService::ResetDatabase() {
525 this, &SafeBrowsingService::OnResetDatabase));
528 void SafeBrowsingService::LogPauseDelay(base::TimeDelta time) {
532 SafeBrowsingService::~SafeBrowsingService() {
538 void SafeBrowsingService::OnIOInitialize(
587 void SafeBrowsingService::OnIOShutdown() {
649 bool SafeBrowsingService::DatabaseAvailable() const {
654 bool SafeBrowsingService::MakeDatabaseAvailable() {
660 NewRunnableMethod(this, &SafeBrowsingService::GetDatabase));
664 SafeBrowsingDatabase* SafeBrowsingService::GetDatabase() {
690 NewRunnableMethod(this, &SafeBrowsingService::DatabaseLoadComplete));
696 void SafeBrowsingService::OnCheckDone(SafeBrowsingCheck* check) {
740 void SafeBrowsingService::GetAllChunksFromDatabase() {
757 this, &SafeBrowsingService::OnGetAllChunksFromDatabase, lists,
761 void SafeBrowsingService::OnGetAllChunksFromDatabase(
768 void SafeBrowsingService::OnChunkInserted() {
774 void SafeBrowsingService::DatabaseLoadComplete() {
804 void SafeBrowsingService::HandleChunkForDatabase(
813 NewRunnableMethod(this, &SafeBrowsingService::OnChunkInserted));
816 void SafeBrowsingService::DeleteChunks(
825 SafeBrowsingService::UrlCheckResult SafeBrowsingService::GetResultFromListname(
847 void SafeBrowsingService::NotifyClientBlockingComplete(Client* client,
852 void SafeBrowsingService::DatabaseUpdateFinished(bool update_succeeded) {
859 void SafeBrowsingService::Start() {
902 this, &SafeBrowsingService::OnIOInitialize, client_key, wrapped_key,
906 void SafeBrowsingService::OnCloseDatabase() {
923 void SafeBrowsingService::OnResetDatabase() {
928 void SafeBrowsingService::CacheHashResults(
935 void SafeBrowsingService::OnHandleGetHashResults(
961 bool SafeBrowsingService::HandleOneCheck(
989 void SafeBrowsingService::DoDisplayBlockingPage(
1004 this, &SafeBrowsingService::OnBlockingPageDone, resources, false));
1008 if (resource.threat_type != SafeBrowsingService::SAFE && CanReportStats()) {
1037 void SafeBrowsingService::ReportSafeBrowsingHit(
1042 SafeBrowsingService::UrlCheckResult threat_type,
1052 &SafeBrowsingService::ReportSafeBrowsingHitOnIOThread,
1061 void SafeBrowsingService::ReportSafeBrowsingHitOnIOThread(
1066 SafeBrowsingService::UrlCheckResult threat_type,
1082 void SafeBrowsingService::SendSerializedMalwareDetails(
1091 void SafeBrowsingService::CheckDownloadHashOnSBThread(
1102 &SafeBrowsingService::CheckDownloadHashDone,
1111 NewRunnableMethod(this, &SafeBrowsingService::OnCheckDone, check));
1114 void SafeBrowsingService::CheckDownloadUrlOnSBThread(SafeBrowsingCheck* check) {
1126 &SafeBrowsingService::CheckDownloadUrlDone,
1136 NewRunnableMethod(this, &SafeBrowsingService::OnCheckDone, check));
1139 void SafeBrowsingService::TimeoutCallback(SafeBrowsingCheck* check) {
1155 void SafeBrowsingService::CheckDownloadUrlDone(SafeBrowsingCheck* check) {
1160 void SafeBrowsingService::CheckDownloadHashDone(SafeBrowsingCheck* check) {
1165 void SafeBrowsingService::SafeBrowsingCheckDone(SafeBrowsingCheck* check) {
1182 void SafeBrowsingService::StartDownloadCheck(SafeBrowsingCheck* check,
1191 NewRunnableMethod(this, &SafeBrowsingService::TimeoutCallback, check);