Index: chrome/browser/metrics/chrome_stability_metrics_provider_unittest.cc |
diff --git a/chrome/browser/metrics/chrome_stability_metrics_provider_unittest.cc b/chrome/browser/metrics/chrome_stability_metrics_provider_unittest.cc |
index a23da907f093fd6e16f71d49c88660e255a98736..81032d9e68a5abe1f944e0fe8e79fad218a03b72 100644 |
--- a/chrome/browser/metrics/chrome_stability_metrics_provider_unittest.cc |
+++ b/chrome/browser/metrics/chrome_stability_metrics_provider_unittest.cc |
@@ -22,9 +22,10 @@ |
#include "content/public/common/process_type.h" |
#include "content/public/test/mock_render_process_host.h" |
#include "content/public/test/test_browser_thread_bundle.h" |
+#include "extensions/features/features.h" |
#include "testing/gtest/include/gtest/gtest.h" |
-#if defined(ENABLE_EXTENSIONS) |
+#if BUILDFLAG(ENABLE_EXTENSIONS) |
#include "extensions/browser/process_map.h" |
#endif |
@@ -131,7 +132,7 @@ TEST_F(ChromeStabilityMetricsProviderTest, NotificationObserver) { |
EXPECT_EQ(1, system_profile.stability().renderer_failed_launch_count()); |
EXPECT_EQ(0, system_profile.stability().extension_renderer_crash_count()); |
-#if defined(ENABLE_EXTENSIONS) |
+#if BUILDFLAG(ENABLE_EXTENSIONS) |
provider.ClearSavedStabilityMetrics(); |
// Owned by rph_factory. |