| Index: chrome/browser/safe_browsing/safe_browsing_service.cc
|
| diff --git a/chrome/browser/safe_browsing/safe_browsing_service.cc b/chrome/browser/safe_browsing/safe_browsing_service.cc
|
| index ce6cb4def26772497f10c0638b56e37d837d451d..782341d29c52c779a09e52fb5cc166a00e26396e 100644
|
| --- a/chrome/browser/safe_browsing/safe_browsing_service.cc
|
| +++ b/chrome/browser/safe_browsing/safe_browsing_service.cc
|
| @@ -25,7 +25,6 @@
|
| #include "build/build_config.h"
|
| #include "chrome/browser/browser_process.h"
|
| #include "chrome/browser/chrome_notification_types.h"
|
| -#include "chrome/browser/metrics/chrome_metrics_service_accessor.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/profiles/profile_manager.h"
|
| #include "chrome/browser/safe_browsing/ping_manager.h"
|
| @@ -362,13 +361,11 @@ void SafeBrowsingService::ShutDown() {
|
| url_request_context_getter_ = nullptr;
|
| }
|
|
|
| -// Binhash verification is only enabled for UMA users for now.
|
| bool SafeBrowsingService::DownloadBinHashNeeded() const {
|
| DCHECK_CURRENTLY_ON(BrowserThread::UI);
|
|
|
| #if defined(FULL_SAFE_BROWSING)
|
| - return (database_manager_->IsDownloadProtectionEnabled() &&
|
| - ChromeMetricsServiceAccessor::IsMetricsAndCrashReportingEnabled()) ||
|
| + return database_manager_->IsDownloadProtectionEnabled() ||
|
| (download_protection_service() &&
|
| download_protection_service()->enabled());
|
| #else
|
|
|