| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 module discardable_memory.mojom; | |
| 6 | |
| 7 // This interface is used for allocating discardable shared memory from browser | |
| 8 // process. For mus+ash, this service will live in mus process. | |
| 9 interface DiscardableSharedMemoryManager { | |
| 10 // Allocate a locked discardable shared memory segment. | |
| 11 AllocateLockedDiscardableSharedMemory( | |
| 12 uint32 size, | |
| 13 int32 id) => (handle<shared_buffer> memory); | |
| 14 // Notify manager that a memory segment has been deleted. | |
| 15 DeletedDiscardableSharedMemory(int32 id); | |
| 16 }; | |
| OLD | NEW |