| Index: chrome/browser/safe_browsing/srt_fetcher_win.cc
|
| diff --git a/chrome/browser/safe_browsing/srt_fetcher_win.cc b/chrome/browser/safe_browsing/srt_fetcher_win.cc
|
| index a242a1ad2b23bfdcab28bf42c2433164a5710a70..4fe44855db8c296bfa1c54b2af0a8adf60c004a1 100644
|
| --- a/chrome/browser/safe_browsing/srt_fetcher_win.cc
|
| +++ b/chrome/browser/safe_browsing/srt_fetcher_win.cc
|
| @@ -44,6 +44,7 @@
|
| #include "components/data_use_measurement/core/data_use_user_data.h"
|
| #include "components/prefs/pref_service.h"
|
| #include "components/rappor/rappor_service.h"
|
| +#include "components/safe_browsing_db/safe_browsing_prefs.h"
|
| #include "components/variations/net/variations_http_headers.h"
|
| #include "components/version_info/version_info.h"
|
| #include "content/public/browser/browser_thread.h"
|
| @@ -553,8 +554,7 @@ void DisplaySRTPrompt(const base::FilePath& download_path) {
|
| bool SafeBrowsingExtendedEnabledForBrowser(const Browser* browser) {
|
| const Profile* profile = browser->profile();
|
| return profile && !profile->IsOffTheRecord() &&
|
| - profile->GetPrefs()->GetBoolean(
|
| - prefs::kSafeBrowsingExtendedReportingEnabled);
|
| + IsExtendedReportingEnabled(*profile->GetPrefs());
|
| }
|
|
|
| // Returns true if there is a profile that is not in incognito mode and the user
|
|
|