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

Unified Diff: content/browser/memory/test_memory_monitor.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/test_memory_monitor.h
diff --git a/components/memory_coordinator/browser/test_memory_monitor.h b/content/browser/memory/test_memory_monitor.h
similarity index 79%
rename from components/memory_coordinator/browser/test_memory_monitor.h
rename to content/browser/memory/test_memory_monitor.h
index a9e1f8148ea3578b2f57035f7ddb855b0a8fc82e..946aa566dfa551e42142550255b82d793fff7023 100644
--- a/components/memory_coordinator/browser/test_memory_monitor.h
+++ b/content/browser/memory/test_memory_monitor.h
@@ -2,11 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "components/memory_coordinator/browser/memory_monitor.h"
+#ifndef CONTENT_BROWSER_MEMORY_TEST_MEMORY_MONITOR_H_
+#define CONTENT_BROWSER_MEMORY_TEST_MEMORY_MONITOR_H_
+
+#include "content/browser/memory/memory_monitor.h"
#include "base/process/process_metrics.h"
-namespace memory_coordinator {
+namespace content {
// A delegate that allows mocking the various inputs to MemoryMonitor.
class TestMemoryMonitorDelegate : public MemoryMonitorDelegate {
@@ -35,4 +38,6 @@ class TestMemoryMonitorDelegate : public MemoryMonitorDelegate {
DISALLOW_COPY_AND_ASSIGN(TestMemoryMonitorDelegate);
};
-} // namespace memory_coordinator
+} // namespace content
+
+#endif // CONTENT_BROWSER_MEMORY_TEST_MEMORY_MONITOR_H_

Powered by Google App Engine
This is Rietveld 408576698