| Index: chrome/browser/safe_browsing/client_side_detection_host.cc
|
| diff --git a/chrome/browser/safe_browsing/client_side_detection_host.cc b/chrome/browser/safe_browsing/client_side_detection_host.cc
|
| index 344081ed7bb0cfc7870c7eaa85d7fa44e681500a..caed578f2bd002a78aafd6243bf1d5c0a9c62b17 100644
|
| --- a/chrome/browser/safe_browsing/client_side_detection_host.cc
|
| +++ b/chrome/browser/safe_browsing/client_side_detection_host.cc
|
| @@ -24,6 +24,7 @@
|
| #include "chrome/common/safe_browsing/safebrowsing_messages.h"
|
| #include "components/prefs/pref_service.h"
|
| #include "components/safe_browsing_db/database_manager.h"
|
| +#include "components/safe_browsing_db/safe_browsing_prefs.h"
|
| #include "content/public/browser/browser_thread.h"
|
| #include "content/public/browser/navigation_controller.h"
|
| #include "content/public/browser/navigation_details.h"
|
| @@ -633,9 +634,7 @@ void ClientSideDetectionHost::FeatureExtractionDone(
|
| // Send ping even if the browser feature extraction failed.
|
| csd_service_->SendClientReportPhishingRequest(
|
| request.release(), // The service takes ownership of the request object.
|
| - profile->GetPrefs()->GetBoolean(
|
| - prefs::kSafeBrowsingExtendedReportingEnabled),
|
| - callback);
|
| + IsExtendedReportingEnabled(*profile->GetPrefs()), callback);
|
| }
|
|
|
| void ClientSideDetectionHost::MalwareFeatureExtractionDone(
|
|
|