OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
reveman
2016/11/11 20:17:26
should the name of this file be "discardable_share
Peng
2016/11/11 22:50:35
Done.
| |
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 interface DiscardableSharedMemoryManager { | |
8 // Allocate a locked discardable share memory. | |
reveman
2016/11/11 20:17:26
s/discardable share memory/discardable shared memo
Peng
2016/11/11 22:50:35
Done.
| |
9 AllocateLockedDiscardableSharedMemory( | |
10 uint32 size, | |
11 int32 id) => (handle<shared_buffer> memory); | |
12 // Notify a discardable shared memory is deleted. | |
reveman
2016/11/11 20:17:26
"Notify manager that a memory segment has been del
Peng
2016/11/11 22:50:35
Done.
| |
13 DeletedDiscardableSharedMemory(int32 id); | |
14 }; | |
OLD | NEW |