Home
last modified time | relevance | path

Searched refs:sb_service_ (Results 1 – 13 of 13) sorted by relevance

/external/chromium/chrome/browser/download/
Ddownload_safe_browsing_client.cc34 sb_service_ = rdh->safe_browsing_service(); in DownloadSBClient()
79 if (sb_service_.get() && !sb_service_->CheckDownloadUrl(url_chain, this)) { in CheckDownloadUrlOnIOThread()
103 if (sb_service_.get() && !sb_service_->CheckDownloadHash(hash, this)) { in CheckDownloadHashOnIOThread()
130 if (sb_service_.get() && sb_service_->download_protection_enabled()) { in SafeBrowsingCheckUrlDone()
149 if (sb_service_.get() && sb_service_->download_protection_enabled()) { in SafeBrowsingCheckHashDone()
166 sb_service_->ReportSafeBrowsingHit(url_chain_.back(), // malicious_url in ReportMalware()
Ddownload_safe_browsing_client.h98 scoped_refptr<SafeBrowsingService> sb_service_; variable
/external/chromium/chrome/browser/safe_browsing/
Dclient_side_detection_host.cc55 sb_service_(sb_service), in ShouldClassifyUrlRequest()
60 DCHECK(sb_service_); in ShouldClassifyUrlRequest()
159 if (!sb_service_ || sb_service_->MatchCsdWhitelistUrl(url)) { in CheckCsdWhitelist()
223 scoped_refptr<SafeBrowsingService> sb_service_; member in safe_browsing::ClientSideDetectionHost::ShouldClassifyUrlRequest
264 sb_service_ = resource->safe_browsing_service(); in ClientSideDetectionHost()
316 sb_service_, in DidNavigateMainFramePostCommit()
355 if (sb_service_) { in MaybeShowPhishingWarning()
364 NewRunnableMethod(sb_service_.get(), in MaybeShowPhishingWarning()
387 sb_service_ = service; in set_safe_browsing_service()
Dclient_side_detection_host_unittest.cc132 sb_service_ = new StrictMock<MockSafeBrowsingService>(); in SetUp()
135 csd_host_->set_safe_browsing_service(sb_service_.get()); in SetUp()
180 EXPECT_CALL(*sb_service_, MatchCsdWhitelistUrl(url)) in ExpectPreClassificationChecks()
203 EXPECT_TRUE(Mock::VerifyAndClear(sb_service_.get())); in WaitAndCheckPreClassificationChecks()
210 scoped_refptr<StrictMock<MockSafeBrowsingService> > sb_service_; member in safe_browsing::ClientSideDetectionHostTest
244 EXPECT_CALL(*sb_service_, in TEST_F()
255 EXPECT_TRUE(Mock::VerifyAndClear(sb_service_.get())); in TEST_F()
275 EXPECT_CALL(*sb_service_, in TEST_F()
281 EXPECT_TRUE(Mock::VerifyAndClear(sb_service_.get())); in TEST_F()
305 EXPECT_CALL(*sb_service_, in TEST_F()
[all …]
Dmalware_details_unittest.cc168 sb_service_(new MockSafeBrowsingService()) { in MalwareDetailsTest()
200 return sb_service_->GetSerialized(); in WaitForSerializedReport()
283 scoped_refptr<MockSafeBrowsingService> sb_service_; member in MalwareDetailsTest
295 sb_service_, contents(), resource, NULL); in TEST_F()
327 sb_service_.get(), contents(), resource, NULL); in TEST_F()
365 sb_service_.get(), contents(), resource, NULL); in TEST_F()
419 sb_service_.get(), contents(), resource, NULL); in TEST_F()
450 sb_service_.get(), contents(), resource, NULL); in TEST_F()
496 sb_service_.get(), contents(), resource in TEST_F()
563 sb_service_.get(), contents(), resource, in TEST_F()
Dprotocol_manager.cc96 : sb_service_(sb_service), in SafeBrowsingProtocolManager()
165 sb_service_->HandleGetHashResults(check, full_hashes, false); in GetFullHash()
276 sb_service_->HandleGetHashResults(check, full_hashes, can_cache); in OnURLFetchComplete()
406 sb_service_->ResetDatabase(); in HandleServiceResponse()
413 sb_service_->HandleChunkDelete(chunk_deletes.release()); in HandleServiceResponse()
450 sb_service_->HandleChunk(chunk_url.list_name, chunks.release()); in HandleServiceResponse()
465 sb_service_, &SafeBrowsingService::OnNewMacKeys, client_key_, in HandleServiceResponse()
550 sb_service_->UpdateStarted(); in IssueUpdateRequest()
719 sb_service_->UpdateFinished(success); in UpdateFinished()
Dsafe_browsing_blocking_page.cc129 sb_service_(sb_service), in SafeBrowsingBlockingPage()
150 sb_service_, tab(), unsafe_resources[0]); in SafeBrowsingBlockingPage()
496 NotifySafeBrowsingService(sb_service_, unsafe_resources_, true); in Proceed()
507 blocking_page = factory_->CreateSafeBrowsingPage(sb_service_, tab(), in Proceed()
534 NotifySafeBrowsingService(sb_service_, unsafe_resources_, false); in DontProceed()
541 NotifySafeBrowsingService(sb_service_, iter->second, false); in DontProceed()
Dclient_side_detection_host.h69 scoped_refptr<SafeBrowsingService> sb_service_; variable
Dmalware_details.cc77 sb_service_(sb_service), in MalwareDetails()
274 sb_service_->SendSerializedMalwareDetails(serialized); in OnCacheCollectionReady()
Dsafe_browsing_blocking_page.h138 SafeBrowsingService* sb_service_; variable
Dmalware_details.h111 scoped_refptr<SafeBrowsingService> sb_service_; variable
Dsafe_browsing_service_browsertest.cc187 sb_service_(sb_service), in TestProtocolManager()
203 sb_service_, &SafeBrowsingService::HandleGetHashResults, in GetFullHash()
220 SafeBrowsingService* sb_service_; member in TestProtocolManager
Dprotocol_manager.h314 SafeBrowsingService* sb_service_;