Index: content/browser/memory/memory_monitor.h |
diff --git a/components/memory_coordinator/browser/memory_monitor.h b/content/browser/memory/memory_monitor.h |
similarity index 67% |
rename from components/memory_coordinator/browser/memory_monitor.h |
rename to content/browser/memory/memory_monitor.h |
index 8477cbc6abcef373d8d2eb16ee55e04cf5e79cb9..d25de91ce64c01215c9eedfbaf6e46c979ddf13b 100644 |
--- a/components/memory_coordinator/browser/memory_monitor.h |
+++ b/content/browser/memory/memory_monitor.h |
@@ -2,19 +2,19 @@ |
// 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_H_ |
-#define COMPONENTS_MEMORY_COORDINATOR_BROWSER_MEMORY_MONITOR_H_ |
+#ifndef CONTENT_BROWSER_MEMORY_BROWSER_MEMORY_MONITOR_H_ |
+#define CONTENT_BROWSER_MEMORY_BROWSER_MEMORY_MONITOR_H_ |
#include <memory> |
#include "base/macros.h" |
-#include "components/memory_coordinator/common/memory_coordinator_export.h" |
+#include "content/common/content_export.h" |
-namespace memory_coordinator { |
+namespace content { |
// 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 MEMORY_COORDINATOR_EXPORT MemoryMonitor { |
+class CONTENT_EXPORT MemoryMonitor { |
public: |
MemoryMonitor() {} |
virtual ~MemoryMonitor() {} |
@@ -31,8 +31,8 @@ class MEMORY_COORDINATOR_EXPORT MemoryMonitor { |
}; |
// Factory function for creating a monitor for the current platform. |
-MEMORY_COORDINATOR_EXPORT std::unique_ptr<MemoryMonitor> CreateMemoryMonitor(); |
+CONTENT_EXPORT std::unique_ptr<MemoryMonitor> CreateMemoryMonitor(); |
-} // namespace memory_coordinator |
+} // namespace content |
-#endif // COMPONENTS_MEMORY_COORDINATOR_BROWSER_MEMORY_MONITOR_H_ |
+#endif // CONTENT_BROWSER_MEMORY_BROWSER_MEMORY_MONITOR_H_ |