Index: chrome/browser/renderer_host/chrome_navigation_ui_data.h |
diff --git a/chrome/browser/renderer_host/chrome_navigation_ui_data.h b/chrome/browser/renderer_host/chrome_navigation_ui_data.h |
index 4f441e03d44b5bad4dd9de7362ced0fec9a6a27c..2a9d8cb6853a38847be56501d22726a36a7e298a 100644 |
--- a/chrome/browser/renderer_host/chrome_navigation_ui_data.h |
+++ b/chrome/browser/renderer_host/chrome_navigation_ui_data.h |
@@ -10,6 +10,7 @@ |
#include "base/macros.h" |
#include "content/public/browser/navigation_ui_data.h" |
#include "extensions/browser/extension_navigation_ui_data.h" |
+#include "extensions/features/features.h" |
namespace content { |
class NavigationHandle; |
@@ -31,7 +32,7 @@ class ChromeNavigationUIData : public content::NavigationUIData { |
// reflected in the clone. |extension_data_| is deep copied. |
std::unique_ptr<content::NavigationUIData> Clone() const override; |
-#if defined(ENABLE_EXTENSIONS) |
+#if BUILDFLAG(ENABLE_EXTENSIONS) |
void SetExtensionNavigationUIData( |
std::unique_ptr<extensions::ExtensionNavigationUIData> extension_data); |
@@ -41,7 +42,7 @@ class ChromeNavigationUIData : public content::NavigationUIData { |
#endif |
private: |
-#if defined(ENABLE_EXTENSIONS) |
+#if BUILDFLAG(ENABLE_EXTENSIONS) |
// Manages the lifetime of optional ExtensionNavigationUIData information. |
std::unique_ptr<extensions::ExtensionNavigationUIData> extension_data_; |
#endif |