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

Unified Diff: components/memory_coordinator/public/interfaces/child_memory_coordinator.mojom

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: components/memory_coordinator/public/interfaces/child_memory_coordinator.mojom
diff --git a/components/memory_coordinator/public/interfaces/child_memory_coordinator.mojom b/components/memory_coordinator/public/interfaces/child_memory_coordinator.mojom
deleted file mode 100644
index e7d74b36bbe1b1681407b8949e1e1fb2c42df890..0000000000000000000000000000000000000000
--- a/components/memory_coordinator/public/interfaces/child_memory_coordinator.mojom
+++ /dev/null
@@ -1,23 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-module memory_coordinator.mojom;
-
-// See base/memory/memory_coordinator_client.h for the definitions of these
-// states.
-enum MemoryState {
- UNKNOWN = -1,
- NORMAL = 0,
- THROTTLED = 1,
- SUSPENDED = 2,
-};
-
-// ChildMemoryCoordinator lives in a child process and receives memory events
-// dispatched by the central memory coordinator which lives in the browser
-// process.
-interface ChildMemoryCoordinator {
- // Called when the central memory coodinator changes the state for child
- // processes.
- OnStateChange(MemoryState state);
-};

Powered by Google App Engine
This is Rietveld 408576698