Home
last modified time | relevance | path

Searched refs:sb_service (Results 1 – 16 of 16) sorted by relevance

/external/chromium_org/chrome/browser/safe_browsing/
Dsafe_browsing_service_browsertest.cc445 base::TimeDelta GetCheckTimeout(SafeBrowsingService* sb_service) { in GetCheckTimeout() argument
446 return sb_service->database_manager()->check_timeout_; in GetCheckTimeout()
449 void SetCheckTimeout(SafeBrowsingService* sb_service, in SetCheckTimeout() argument
451 sb_service->database_manager()->check_timeout_ = delay; in SetCheckTimeout()
457 SafeBrowsingService* sb_service = in CreateCSDService() local
459 sb_service->csd_service_.reset(csd_service); in CreateCSDService()
460 sb_service->RefreshState(); in CreateCSDService()
732 SafeBrowsingService* sb_service = g_browser_process->safe_browsing_service(); in IN_PROC_BROWSER_TEST_F() local
733 base::TimeDelta default_urlcheck_timeout = GetCheckTimeout(sb_service); in IN_PROC_BROWSER_TEST_F()
735 SetCheckTimeout(sb_service, base::TimeDelta::FromMilliseconds(1)); in IN_PROC_BROWSER_TEST_F()
[all …]
Dclient_side_detection_host.cc334 scoped_refptr<SafeBrowsingService> sb_service = in ClientSideDetectionHost() local
336 if (sb_service.get()) { in ClientSideDetectionHost()
337 ui_manager_ = sb_service->ui_manager(); in ClientSideDetectionHost()
338 database_manager_ = sb_service->database_manager(); in ClientSideDetectionHost()
Ddownload_protection_service.h58 SafeBrowsingService* sb_service,
Dsafe_browsing_service.cc124 SafeBrowsingService* sb_service) in SafeBrowsingURLRequestContextGetter() argument
125 : sb_service_(sb_service), in SafeBrowsingURLRequestContextGetter()
Ddownload_protection_service.cc864 SafeBrowsingService* sb_service, in DownloadProtectionService() argument
873 if (sb_service) { in DownloadProtectionService()
874 ui_manager_ = sb_service->ui_manager(); in DownloadProtectionService()
875 database_manager_ = sb_service->database_manager(); in DownloadProtectionService()
Dclient_side_detection_host_unittest.cc211 SafeBrowsingService* sb_service = in SetUp() local
214 new StrictMock<MockSafeBrowsingDatabaseManager>(sb_service); in SetUp()
215 ui_manager_ = new StrictMock<MockSafeBrowsingUIManager>(sb_service); in SetUp()
/external/chromium_org/chrome/browser/ui/views/location_bar/
Dorigin_chip_view.cc150 scoped_refptr<SafeBrowsingService> sb_service = in OriginChipView() local
153 if (sb_service && sb_service->ui_manager()) in OriginChipView()
154 sb_service->ui_manager()->AddObserver(this); in OriginChipView()
180 scoped_refptr<SafeBrowsingService> sb_service = in ~OriginChipView() local
182 if (sb_service.get() && sb_service->ui_manager()) in ~OriginChipView()
183 sb_service->ui_manager()->RemoveObserver(this); in ~OriginChipView()
/external/chromium_org/chrome/browser/ui/cocoa/location_bar/
Dorigin_chip_decoration.mm83 scoped_refptr<SafeBrowsingService> sb_service =
85 if (sb_service.get() && sb_service->ui_manager())
86 sb_service->ui_manager()->AddObserver(this);
90 scoped_refptr<SafeBrowsingService> sb_service =
92 if (sb_service.get() && sb_service->ui_manager())
93 sb_service->ui_manager()->RemoveObserver(this);
/external/chromium_org/chrome/browser/download/
Ddownload_shelf_context_menu.cc202 SafeBrowsingService* sb_service = in ExecuteCommand() local
205 (sb_service ? sb_service->download_protection_service() : NULL); in ExecuteCommand()
Dchrome_download_manager_delegate.cc506 SafeBrowsingService* sb_service = g_browser_process->safe_browsing_service(); in GetDownloadProtectionService() local
507 if (sb_service && sb_service->download_protection_service() && in GetDownloadProtectionService()
509 return sb_service->download_protection_service(); in GetDownloadProtectionService()
Ddownload_browsertest.cc3272 SafeBrowsingService* sb_service = g_browser_process->safe_browsing_service(); in IN_PROC_BROWSER_TEST_F() local
3274 sb_service->download_protection_service(); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/test/base/
Dtesting_browser_process.cc430 SafeBrowsingService* sb_service) { in SetSafeBrowsingService() argument
433 sb_service_ = sb_service; in SetSafeBrowsingService()
Dtesting_browser_process.h136 void SetSafeBrowsingService(SafeBrowsingService* sb_service);
/external/chromium_org/chrome/browser/browsing_data/
Dbrowsing_data_remover.cc439 SafeBrowsingService* sb_service = in RemoveImpl() local
441 if (sb_service) { in RemoveImpl()
443 sb_service->url_request_context(); in RemoveImpl()
Dbrowsing_data_remover_unittest.cc269 scoped_refptr<SafeBrowsingService> sb_service = in RemoveSafeBrowsingCookieTester() local
271 browser_process_->SetSafeBrowsingService(sb_service.get()); in RemoveSafeBrowsingCookieTester()
272 sb_service->Initialize(); in RemoveSafeBrowsingCookieTester()
279 sb_service->url_request_context()->GetURLRequestContext()-> in RemoveSafeBrowsingCookieTester()
/external/chromium_org/chrome/browser/ui/views/download/
Ddownload_item_view.cc918 SafeBrowsingService* sb_service = g_browser_process->safe_browsing_service(); in SubmitDownloadToFeedbackService() local
919 if (!sb_service) in SubmitDownloadToFeedbackService()
922 sb_service->download_protection_service(); in SubmitDownloadToFeedbackService()