Index: chrome/browser/safe_browsing/incident_reporting/extension_data_collection.cc |
diff --git a/chrome/browser/safe_browsing/incident_reporting/extension_data_collection.cc b/chrome/browser/safe_browsing/incident_reporting/extension_data_collection.cc |
index 6287629cdc02c49456d107a1a39236e14470f0ca..d2723ab279d5b1abb443f9a0fe7c70d62ffd07b2 100644 |
--- a/chrome/browser/safe_browsing/incident_reporting/extension_data_collection.cc |
+++ b/chrome/browser/safe_browsing/incident_reporting/extension_data_collection.cc |
@@ -19,6 +19,7 @@ |
#include "extensions/browser/extension_registry_factory.h" |
#include "extensions/common/extension_set.h" |
#include "extensions/common/manifest_constants.h" |
+#include "extensions/features/features.h" |
namespace safe_browsing { |
@@ -100,7 +101,7 @@ void PopulateExtensionInfo( |
// Finds the last installed extension and adds relevant information to data's |
// last_installed_extension field. |
void CollectExtensionData(ClientIncidentReport_ExtensionData* data) { |
-#if defined(ENABLE_EXTENSIONS) |
+#if BUILDFLAG(ENABLE_EXTENSIONS) |
scoped_refptr<const extensions::Extension> last_installed_extension; |
Profile* profile_for_last_installed_extension = nullptr; |
base::Time last_install_time; |