Index: chrome/browser/performance_monitor/performance_monitor.h |
diff --git a/chrome/browser/performance_monitor/performance_monitor.h b/chrome/browser/performance_monitor/performance_monitor.h |
index 277c45e72bcdf1aac80bfe6483743868c0196f35..e016e81e27bbf9ae3bc82f07268c73ec76084e89 100644 |
--- a/chrome/browser/performance_monitor/performance_monitor.h |
+++ b/chrome/browser/performance_monitor/performance_monitor.h |
@@ -173,10 +173,12 @@ class PerformanceMonitor : public content::NotificationObserver { |
void GatherMetricsMapOnUIThread(); |
void GatherMetricsMapOnIOThread(int current_update_sequence); |
+#if defined(ENABLE_EXTENSIONS) |
// Generate an appropriate ExtensionEvent for an extension-related occurrance |
// and insert it in the database. |
void AddExtensionEvent(EventType type, |
const extensions::Extension* extension); |
+#endif |
// Generate an appropriate RendererFailure for a renderer crash and insert it |
// in the database. |