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

Unified Diff: components/memory_coordinator/browser/memory_monitor.h

Issue 2265893002: memory_coordinator: Use component(target) instead of static_library(target) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 4 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: components/memory_coordinator/browser/memory_monitor.h
diff --git a/components/memory_coordinator/browser/memory_monitor.h b/components/memory_coordinator/browser/memory_monitor.h
index 0d61506b00b62cc8d0f335ba2a71449e7ae00815..8477cbc6abcef373d8d2eb16ee55e04cf5e79cb9 100644
--- a/components/memory_coordinator/browser/memory_monitor.h
+++ b/components/memory_coordinator/browser/memory_monitor.h
@@ -8,12 +8,13 @@
#include <memory>
#include "base/macros.h"
+#include "components/memory_coordinator/common/memory_coordinator_export.h"
namespace memory_coordinator {
// A simple class that monitors the amount of free memory available on a system.
// This is an interface to facilitate dependency injection for testing.
-class MemoryMonitor {
+class MEMORY_COORDINATOR_EXPORT MemoryMonitor {
public:
MemoryMonitor() {}
virtual ~MemoryMonitor() {}
@@ -30,7 +31,7 @@ class MemoryMonitor {
};
// Factory function for creating a monitor for the current platform.
-std::unique_ptr<MemoryMonitor> CreateMemoryMonitor();
+MEMORY_COORDINATOR_EXPORT std::unique_ptr<MemoryMonitor> CreateMemoryMonitor();
} // namespace memory_coordinator
« no previous file with comments | « components/memory_coordinator/browser/memory_coordinator.h ('k') | components/memory_coordinator/browser/memory_monitor_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698