diff options
Diffstat (limited to 'chrome/browser/browser_process_impl.cc')
-rw-r--r-- | chrome/browser/browser_process_impl.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_process_impl.cc index 89ea85a..dffef5d 100644 --- a/chrome/browser/browser_process_impl.cc +++ b/chrome/browser/browser_process_impl.cc @@ -935,8 +935,8 @@ void BrowserProcessImpl::CreateSafeBrowsingDetectionService() { bool BrowserProcessImpl::IsSafeBrowsingDetectionServiceEnabled() { // The safe browsing client-side detection is enabled only if the switch is // enabled and when safe browsing related stats is allowed to be collected. - return CommandLine::ForCurrentProcess()->HasSwitch( - switches::kEnableClientSidePhishingDetection) && + return !CommandLine::ForCurrentProcess()->HasSwitch( + switches::kDisableClientSidePhishingDetection) && resource_dispatcher_host()->safe_browsing_service() && resource_dispatcher_host()->safe_browsing_service()->CanReportStats(); } |