| Index: chrome/browser/performance_monitor/performance_monitor.cc
|
| diff --git a/chrome/browser/performance_monitor/performance_monitor.cc b/chrome/browser/performance_monitor/performance_monitor.cc
|
| index 238e04636cf00664aa2514fcd5488e7b44514771..6c26e4a99e8a14e457318a839972417ad7c7417d 100644
|
| --- a/chrome/browser/performance_monitor/performance_monitor.cc
|
| +++ b/chrome/browser/performance_monitor/performance_monitor.cc
|
| @@ -17,8 +17,9 @@
|
| #include "content/public/browser/child_process_data.h"
|
| #include "content/public/browser/render_process_host.h"
|
| #include "content/public/common/content_constants.h"
|
| +#include "extensions/features/features.h"
|
|
|
| -#if defined(ENABLE_EXTENSIONS)
|
| +#if BUILDFLAG(ENABLE_EXTENSIONS)
|
| #include "extensions/browser/extension_host.h"
|
| #include "extensions/browser/extension_registry.h"
|
| #include "extensions/common/manifest_handlers/background_info.h"
|
| @@ -39,7 +40,7 @@ base::LazyInstance<PerformanceMonitor> g_monitor = LAZY_INSTANCE_INITIALIZER;
|
| void GatherMetricsForRenderProcess(content::RenderProcessHost* host,
|
| ProcessMetricsMetadata* data) {
|
| DCHECK_CURRENTLY_ON(BrowserThread::UI);
|
| -#if defined(ENABLE_EXTENSIONS)
|
| +#if BUILDFLAG(ENABLE_EXTENSIONS)
|
| content::BrowserContext* browser_context = host->GetBrowserContext();
|
| extensions::ProcessMap* extension_process_map =
|
| extensions::ProcessMap::Get(browser_context);
|
|
|