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

Unified Diff: components/discardable_memory/public/interfaces/discardable_memory.mojom

Issue 2485623002: discardable_memory: Using mojo IPC to replace Chrome IPC (Closed)
Patch Set: Update Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: components/discardable_memory/public/interfaces/discardable_memory.mojom
diff --git a/components/discardable_memory/public/interfaces/discardable_memory.mojom b/components/discardable_memory/public/interfaces/discardable_memory.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..ed3e873ec5e61b5cc5921575791502ca25b98cc6
--- /dev/null
+++ b/components/discardable_memory/public/interfaces/discardable_memory.mojom
@@ -0,0 +1,14 @@
+// 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.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+module discardable_memory.mojom;
+
+interface DiscardableSharedMemoryManager {
+ // 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.
+ AllocateLockedDiscardableSharedMemory(
+ uint32 size,
+ int32 id) => (handle<shared_buffer> memory);
+ // 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.
+ DeletedDiscardableSharedMemory(int32 id);
+};

Powered by Google App Engine
This is Rietveld 408576698