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

Unified Diff: components/memory_coordinator/browser/memory_monitor_win.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_win.h
diff --git a/components/memory_coordinator/browser/memory_monitor_win.h b/components/memory_coordinator/browser/memory_monitor_win.h
index f8877621405b21fb96fc5efed1bf86b8c68bf929..0f621160661b184c3e57eb781a037f01176cbc89 100644
--- a/components/memory_coordinator/browser/memory_monitor_win.h
+++ b/components/memory_coordinator/browser/memory_monitor_win.h
@@ -6,6 +6,7 @@
#define COMPONENTS_MEMORY_COORDINATOR_BROWSER_MEMORY_MONITOR_WIN_H_
#include "components/memory_coordinator/browser/memory_monitor.h"
+#include "components/memory_coordinator/common/memory_coordinator_export.h"
namespace base {
struct SystemMemoryInfoKB;
@@ -19,7 +20,7 @@ class MemoryMonitorWinDelegate;
// class uses a very simple heuristic to anticipate paging (critical memory
// pressure). When the amount of memory available dips below a provided
// threshold, it is assumed that paging is inevitable.
-class MemoryMonitorWin : public MemoryMonitor {
+class MEMORY_COORDINATOR_EXPORT MemoryMonitorWin : public MemoryMonitor {
public:
// Default constants governing the amount of free memory that the memory
// manager attempts to maintain.
@@ -63,7 +64,7 @@ class MemoryMonitorWin : public MemoryMonitor {
// A delegate that wraps functions used by MemoryMonitorWin. Used as a testing
// seam.
-class MemoryMonitorWinDelegate {
+class MEMORY_COORDINATOR_EXPORT MemoryMonitorWinDelegate {
public:
MemoryMonitorWinDelegate() {}
virtual ~MemoryMonitorWinDelegate() {}
« no previous file with comments | « components/memory_coordinator/browser/memory_monitor.h ('k') | components/memory_coordinator/child/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698