Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(691)

Unified Diff: chrome/browser/sync/glue/extensions_activity_monitor.h

Issue 645043003: Cleanup: Prevent usage of various extension headers when extensions support is not compiled in. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698