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 |