Index: chrome/browser/sync/glue/extensions_activity_monitor.h |
diff --git a/chrome/browser/sync/glue/extensions_activity_monitor.h b/chrome/browser/sync/glue/extensions_activity_monitor.h |
index e4546d2bf7532ccfcdde45d77175ebd30e6fe47f..5ad851611382a22134fc98c1b83ebc980040c349 100644 |
--- a/chrome/browser/sync/glue/extensions_activity_monitor.h |
+++ b/chrome/browser/sync/glue/extensions_activity_monitor.h |
@@ -5,7 +5,7 @@ |
#ifndef CHROME_BROWSER_SYNC_GLUE_EXTENSIONS_ACTIVITY_MONITOR_H_ |
#define CHROME_BROWSER_SYNC_GLUE_EXTENSIONS_ACTIVITY_MONITOR_H_ |
-#include "base/compiler_specific.h" |
+#include "base/macros.h" |
#include "base/memory/ref_counted.h" |
#include "content/public/browser/notification_observer.h" |
#include "content/public/browser/notification_registrar.h" |
@@ -32,8 +32,12 @@ class ExtensionsActivityMonitor : public content::NotificationObserver { |
private: |
scoped_refptr<syncer::ExtensionsActivity> extensions_activity_; |
+#if defined(ENABLE_EXTENSIONS) |
// Used only on UI loop. |
content::NotificationRegistrar registrar_; |
+#endif |
+ |
+ DISALLOW_COPY_AND_ASSIGN(ExtensionsActivityMonitor); |
}; |
} // namespace browser_sync |