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

Unified Diff: blimp/engine/mojo/blob_channel.mojom

Issue 2033013003: Use shared memory for moving data over BlobChannel Mojo interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@blobchannel-master
Patch Set: Created 4 years, 7 months 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
« no previous file with comments | « no previous file | blimp/engine/mojo/blob_channel_service.h » ('j') | blimp/engine/mojo/blob_channel_service.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/engine/mojo/blob_channel.mojom
diff --git a/blimp/engine/mojo/blob_channel.mojom b/blimp/engine/mojo/blob_channel.mojom
index 0960916fea10655f4e3511b8e2c1684108c08ace..9f1fafee872df05d6cbf3bc8dff1f6807829814b 100644
--- a/blimp/engine/mojo/blob_channel.mojom
+++ b/blimp/engine/mojo/blob_channel.mojom
@@ -6,9 +6,8 @@ module blimp.engine.mojom;
interface BlobChannel {
// Stores the blob |id| in the BlobCache.
- // TODO(kmarshall): Use shared memory for more efficient data transfer, see
- // crbug.com/614564 .
- PutBlob(string id, string data);
+ // The service invokes the no-arg callback after the operation has completed.
+ PutBlob(string id, handle<shared_buffer> data, uint32 size) => ();
maniscalco 2016/06/03 16:43:53 I want to understand the motivation for using shar
Kevin M 2016/06/03 17:14:57 The primary reason is that Mojo shares the same IP
maniscalco 2016/06/06 15:43:56 Thanks for the details. I agree about not impleme
Kevin M 2016/06/09 00:08:32 Done.
// Requests that the BlobChannel push the blob |id| over the wire.
// The request will be ignored if the BlobChannel knows that
« no previous file with comments | « no previous file | blimp/engine/mojo/blob_channel_service.h » ('j') | blimp/engine/mojo/blob_channel_service.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698