Index: chrome/browser/plugins/plugin_infobar_delegates.h |
diff --git a/chrome/browser/plugins/plugin_infobar_delegates.h b/chrome/browser/plugins/plugin_infobar_delegates.h |
index 59a0ef404a8efd3dbd35d51f3d16884ed0714460..1ed4bc4dd579fd6719fefabfc0be92da21143f76 100644 |
--- a/chrome/browser/plugins/plugin_infobar_delegates.h |
+++ b/chrome/browser/plugins/plugin_infobar_delegates.h |
@@ -8,10 +8,11 @@ |
#include "base/callback.h" |
#include "base/macros.h" |
#include "build/build_config.h" |
+#include "chrome/common/features.h" |
#include "components/infobars/core/confirm_infobar_delegate.h" |
#include "url/gurl.h" |
-#if defined(ENABLE_PLUGIN_INSTALLATION) |
+#if BUILDFLAG(ENABLE_PLUGIN_INSTALLATION) |
#include "chrome/browser/plugins/plugin_installer_observer.h" |
#endif |
@@ -23,7 +24,7 @@ namespace content { |
class WebContents; |
} |
-#if defined(ENABLE_PLUGIN_INSTALLATION) |
+#if BUILDFLAG(ENABLE_PLUGIN_INSTALLATION) |
// Infobar that's shown when a plugin is out of date. |
class OutdatedPluginInfoBarDelegate : public ConfirmInfoBarDelegate, |
public WeakPluginInstallerObserver { |
@@ -79,6 +80,6 @@ class OutdatedPluginInfoBarDelegate : public ConfirmInfoBarDelegate, |
DISALLOW_COPY_AND_ASSIGN(OutdatedPluginInfoBarDelegate); |
}; |
-#endif // defined(ENABLE_PLUGIN_INSTALLATION) |
+#endif // BUILDFLAG(ENABLE_PLUGIN_INSTALLATION) |
#endif // CHROME_BROWSER_PLUGINS_PLUGIN_INFOBAR_DELEGATES_H_ |