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

Side by Side Diff: components/discardable_memory/public/interfaces/discardable_shared_memory_manager.mojom

Issue 2485623002: discardable_memory: Using mojo IPC to replace Chrome IPC (Closed)
Patch Set: Fix bot issues Created 4 years 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 unified diff | Download patch
OLDNEW
(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 };
OLDNEW
« no previous file with comments | « components/discardable_memory/public/interfaces/OWNERS ('k') | components/discardable_memory/service/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698