OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 module memory_coordinator.mojom; | 5 module content.mojom; |
6 | 6 |
7 import "components/memory_coordinator/public/interfaces/child_memory_coordinator
.mojom"; | 7 import "content/common/child_memory_coordinator.mojom"; |
8 | 8 |
9 // An interface to access the central memory coordinator from a child process. | 9 // An interface to access the central memory coordinator from a child process. |
10 // The browser process creates a handle for each child process. | 10 // The browser process creates a handle for each child process. |
11 interface MemoryCoordinatorHandle { | 11 interface MemoryCoordinatorHandle { |
12 // A child process calls this method when ChildMemoryCoordinator is created. | 12 // A child process calls this method when ChildMemoryCoordinator is created. |
13 AddChild(ChildMemoryCoordinator child); | 13 AddChild(ChildMemoryCoordinator child); |
14 }; | 14 }; |
OLD | NEW |