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

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 build bots. 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 interface DiscardableSharedMemoryManager {
dcheng 2016/11/25 00:07:08 Where does this interface live? Which process is i
Peng 2016/11/25 16:41:53 Right now, it will live in browser process. But in
8 // Allocate a locked discardable shared memory segment.
9 AllocateLockedDiscardableSharedMemory(
10 uint32 size,
11 int32 id) => (handle<shared_buffer> memory);
dcheng 2016/11/25 00:07:08 I know this is just porting an existing API, but I
dcheng 2016/11/25 00:08:05 (To be clear, it's not necessary to do that here.
Peng 2016/11/25 16:41:53 Right now, I don't know implementation detail of d
12 // Notify manager that a memory segment has been deleted.
13 DeletedDiscardableSharedMemory(int32 id);
14 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698