| Index: chrome/browser/safe_browsing/ui_manager.cc
|
| diff --git a/chrome/browser/safe_browsing/ui_manager.cc b/chrome/browser/safe_browsing/ui_manager.cc
|
| index a68ee631d3762bd653bcc9199972c1ead70e125b..8f53be1ae0c4b34edeb09a44140e50affe74686d 100644
|
| --- a/chrome/browser/safe_browsing/ui_manager.cc
|
| +++ b/chrome/browser/safe_browsing/ui_manager.cc
|
| @@ -24,6 +24,7 @@
|
| #include "chrome/common/pref_names.h"
|
| #include "components/prefs/pref_service.h"
|
| #include "components/safe_browsing_db/metadata.pb.h"
|
| +#include "components/safe_browsing_db/safe_browsing_prefs.h"
|
| #include "content/public/browser/browser_thread.h"
|
| #include "content/public/browser/navigation_entry.h"
|
| #include "content/public/browser/notification_service.h"
|
| @@ -240,9 +241,7 @@ void SafeBrowsingUIManager::DisplayBlockingPage(
|
| Profile* profile =
|
| Profile::FromBrowserContext(web_contents->GetBrowserContext());
|
| hit_report.is_extended_reporting =
|
| - profile &&
|
| - profile->GetPrefs()->GetBoolean(
|
| - prefs::kSafeBrowsingExtendedReportingEnabled);
|
| + profile && IsExtendedReportingEnabled(*profile->GetPrefs());
|
| hit_report.is_metrics_reporting_active =
|
| ChromeMetricsServiceAccessor::IsMetricsAndCrashReportingEnabled();
|
|
|
|
|