Index: content/browser/memory/memory_monitor_chromeos.h |
diff --git a/content/browser/memory/memory_monitor_linux.h b/content/browser/memory/memory_monitor_chromeos.h |
similarity index 56% |
copy from content/browser/memory/memory_monitor_linux.h |
copy to content/browser/memory/memory_monitor_chromeos.h |
index 1a2b389a73b2655bf9172f1840c790f9e99577d2..f007a7d2a0bf3b99e5e6429e02a386a25d0c18ef 100644 |
--- a/content/browser/memory/memory_monitor_linux.h |
+++ b/content/browser/memory/memory_monitor_chromeos.h |
@@ -2,29 +2,25 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef CONTENT_BROWSER_MEMORY_MEMORY_MONITOR_LINUX_H_ |
-#define CONTENT_BROWSER_MEMORY_MEMORY_MONITOR_LINUX_H_ |
+#ifndef CONTENT_BROWSER_MEMORY_MEMORY_MONITOR_CHROMEOS_H_ |
+#define CONTENT_BROWSER_MEMORY_MEMORY_MONITOR_CHROMEOS_H_ |
#include "content/browser/memory/memory_monitor.h" |
#include "content/common/content_export.h" |
-namespace base { |
-struct SystemMemoryInfoKB; |
-} // namespace base |
- |
namespace content { |
-// A memory monitor for the Linux platform. |
-class CONTENT_EXPORT MemoryMonitorLinux : public MemoryMonitor { |
+// A memory monitor for the ChromeOS platform. |
+class CONTENT_EXPORT MemoryMonitorChromeOS : public MemoryMonitor { |
public: |
- MemoryMonitorLinux(MemoryMonitorDelegate* delegate); |
- ~MemoryMonitorLinux() override; |
+ MemoryMonitorChromeOS(MemoryMonitorDelegate* delegate); |
+ ~MemoryMonitorChromeOS() override; |
// MemoryMonitor: |
int GetFreeMemoryUntilCriticalMB() override; |
// Factory function to create an instance of this class. |
- static std::unique_ptr<MemoryMonitorLinux> Create( |
+ static std::unique_ptr<MemoryMonitorChromeOS> Create( |
MemoryMonitorDelegate* delegate); |
private: |
@@ -35,4 +31,4 @@ class CONTENT_EXPORT MemoryMonitorLinux : public MemoryMonitor { |
} // namespace content |
-#endif // CONTENT_BROWSER_MEMORY_MEMORY_MONITOR_LINUX_H_ |
+#endif // CONTENT_BROWSER_MEMORY_MEMORY_MONITOR_CHROMEOS_H_ |