Chromium Code Reviews| 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); |
| +}; |