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

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

Issue 2094583002: Add MemoryCoordinator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Create handle per child Created 4 years, 5 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/memory_coordinator.mojom
diff --git a/components/memory_coordinator/public/interfaces/memory_coordinator.mojom b/components/memory_coordinator/public/interfaces/memory_coordinator.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..f56250ac5f06f01e26b1aad87ae3998b61c9d8f3
--- /dev/null
+++ b/components/memory_coordinator/public/interfaces/memory_coordinator.mojom
@@ -0,0 +1,14 @@
+// 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;
+
+import "components/memory_coordinator/public/interfaces/child_memory_coordinator.mojom";
+
+// An interface to access the central memory coordinator from a child process.
+// The browser process creates a handle for each child process.
+interface MemoryCoordinatorHandle {
bashi 2016/07/11 04:45:51 Maybe "handle" isn't a good naming for this interf
+ // A child process calls this method when ChildMemoryCoordinator is created.
+ AddChild(ChildMemoryCoordinator child);
+};

Powered by Google App Engine
This is Rietveld 408576698