| Index: chrome/browser/metrics/chrome_stability_metrics_provider.cc
|
| diff --git a/chrome/browser/metrics/chrome_stability_metrics_provider.cc b/chrome/browser/metrics/chrome_stability_metrics_provider.cc
|
| index 4429dbe6fc13113cfdb20e287991906955842d1a..59171c9fe6332dbf2b4d9e537c7441428795257d 100644
|
| --- a/chrome/browser/metrics/chrome_stability_metrics_provider.cc
|
| +++ b/chrome/browser/metrics/chrome_stability_metrics_provider.cc
|
| @@ -14,8 +14,9 @@
|
| #include "content/public/browser/child_process_data.h"
|
| #include "content/public/browser/notification_service.h"
|
| #include "content/public/browser/render_process_host.h"
|
| +#include "extensions/features/features.h"
|
|
|
| -#if defined(ENABLE_EXTENSIONS)
|
| +#if BUILDFLAG(ENABLE_EXTENSIONS)
|
| #include "extensions/browser/process_map.h"
|
| #endif
|
|
|
| @@ -81,7 +82,7 @@ void ChromeStabilityMetricsProvider::Observe(
|
| content::Details<content::RenderProcessHost::RendererClosedDetails>(
|
| details).ptr();
|
| bool was_extension_process = false;
|
| -#if defined(ENABLE_EXTENSIONS)
|
| +#if BUILDFLAG(ENABLE_EXTENSIONS)
|
| content::RenderProcessHost* host =
|
| content::Source<content::RenderProcessHost>(source).ptr();
|
| if (extensions::ProcessMap::Get(host->GetBrowserContext())
|
| @@ -100,7 +101,7 @@ void ChromeStabilityMetricsProvider::Observe(
|
|
|
| case content::NOTIFICATION_RENDERER_PROCESS_CREATED: {
|
| bool was_extension_process = false;
|
| -#if defined(ENABLE_EXTENSIONS)
|
| +#if BUILDFLAG(ENABLE_EXTENSIONS)
|
| content::RenderProcessHost* host =
|
| content::Source<content::RenderProcessHost>(source).ptr();
|
| if (extensions::ProcessMap::Get(host->GetBrowserContext())
|
|
|