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

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

Issue 2321313002: Move components/memory_coordinator -> content/ (Closed)
Patch Set: rebase etc 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_linux.h
diff --git a/components/memory_coordinator/browser/memory_monitor_linux.h b/content/browser/memory/memory_monitor_linux.h
similarity index 57%
rename from components/memory_coordinator/browser/memory_monitor_linux.h
rename to content/browser/memory/memory_monitor_linux.h
index eda27791835cc02aa48c8914ef5fc2058b79bf29..1a2b389a73b2655bf9172f1840c790f9e99577d2 100644
--- a/components/memory_coordinator/browser/memory_monitor_linux.h
+++ b/content/browser/memory/memory_monitor_linux.h
@@ -2,23 +2,23 @@
// 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_LINUX_H_
-#define COMPONENTS_MEMORY_COORDINATOR_BROWSER_MEMORY_MONITOR_LINUX_H_
+#ifndef CONTENT_BROWSER_MEMORY_MEMORY_MONITOR_LINUX_H_
+#define CONTENT_BROWSER_MEMORY_MEMORY_MONITOR_LINUX_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"
+#include "content/common/content_export.h"
namespace base {
struct SystemMemoryInfoKB;
} // namespace base
-namespace memory_coordinator {
+namespace content {
// A memory monitor for the Linux platform.
-class MEMORY_COORDINATOR_EXPORT MemoryMonitorLinux : public MemoryMonitor {
+class CONTENT_EXPORT MemoryMonitorLinux : public MemoryMonitor {
public:
MemoryMonitorLinux(MemoryMonitorDelegate* delegate);
- ~MemoryMonitorLinux() override {}
+ ~MemoryMonitorLinux() override;
// MemoryMonitor:
int GetFreeMemoryUntilCriticalMB() override;
@@ -33,6 +33,6 @@ class MEMORY_COORDINATOR_EXPORT MemoryMonitorLinux : public MemoryMonitor {
MemoryMonitorDelegate* delegate_;
};
-} // namespace memory_coordinator
+} // namespace content
-#endif // COMPONENTS_MEMORY_COORDINATOR_BROWSER_MEMORY_MONITOR_LINUX_H_
+#endif // CONTENT_BROWSER_MEMORY_MEMORY_MONITOR_LINUX_H_

Powered by Google App Engine
This is Rietveld 408576698