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

Unified Diff: content/browser/memory/memory_monitor_win.h

Issue 2321313002: Move components/memory_coordinator -> content/ (Closed)
Patch Set: Created 4 years, 3 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: content/browser/memory/memory_monitor_win.h
diff --git a/components/memory_coordinator/browser/memory_monitor_win.h b/content/browser/memory/memory_monitor_win.h
similarity index 81%
rename from components/memory_coordinator/browser/memory_monitor_win.h
rename to content/browser/memory/memory_monitor_win.h
index 0f621160661b184c3e57eb781a037f01176cbc89..ebb161efe964302116dc0bb35f493979fa31fd4e 100644
--- a/components/memory_coordinator/browser/memory_monitor_win.h
+++ b/content/browser/memory/memory_monitor_win.h
@@ -2,17 +2,16 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef COMPONENTS_MEMORY_COORDINATOR_BROWSER_MEMORY_MONITOR_WIN_H_
-#define COMPONENTS_MEMORY_COORDINATOR_BROWSER_MEMORY_MONITOR_WIN_H_
+#ifndef CONTENT_BROWSER_MEMORY_BROWSER_MEMORY_MONITOR_WIN_H_
+#define CONTENT_BROWSER_MEMORY_BROWSER_MEMORY_MONITOR_WIN_H_
-#include "components/memory_coordinator/browser/memory_monitor.h"
-#include "components/memory_coordinator/common/memory_coordinator_export.h"
+#include "content/browser/memory/memory_monitor.h"
namespace base {
struct SystemMemoryInfoKB;
} // namespace base
-namespace memory_coordinator {
+namespace content {
class MemoryMonitorWinDelegate;
@@ -20,7 +19,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 MEMORY_COORDINATOR_EXPORT MemoryMonitorWin : public MemoryMonitor {
+class CONTENT_EXPORT MemoryMonitorWin : public MemoryMonitor {
public:
// Default constants governing the amount of free memory that the memory
// manager attempts to maintain.
@@ -64,7 +63,7 @@ class MEMORY_COORDINATOR_EXPORT MemoryMonitorWin : public MemoryMonitor {
// A delegate that wraps functions used by MemoryMonitorWin. Used as a testing
// seam.
-class MEMORY_COORDINATOR_EXPORT MemoryMonitorWinDelegate {
+class CONTENT_EXPORT MemoryMonitorWinDelegate {
public:
MemoryMonitorWinDelegate() {}
virtual ~MemoryMonitorWinDelegate() {}
@@ -76,6 +75,6 @@ class MEMORY_COORDINATOR_EXPORT MemoryMonitorWinDelegate {
DISALLOW_COPY_AND_ASSIGN(MemoryMonitorWinDelegate);
};
-} // namespace memory_coordinator
+} // namespace content
-#endif // COMPONENTS_MEMORY_COORDINATOR_BROWSER_MEMORY_MONITOR_WIN_H_
+#endif // CONTENT_BROWSER_MEMORY_BROWSER_MEMORY_MONITOR_WIN_H_

Powered by Google App Engine
This is Rietveld 408576698