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

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

Issue 1985863002: Incorporate BlobChannel into Blimp image encode/decode pipeline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@blobchannel-helium
Patch Set: fix gn dependency warning & rebase Created 4 years, 6 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 | « blimp/engine/app/blimp_content_browser_client.cc ('k') | blimp/engine/mojo/blob_channel_service.h » ('j') | no next file with comments »
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 fe3ebb9dc4734f6a6950387739cc04afc5f7b899..0960916fea10655f4e3511b8e2c1684108c08ace 100644
--- a/blimp/engine/mojo/blob_channel.mojom
+++ b/blimp/engine/mojo/blob_channel.mojom
@@ -6,11 +6,13 @@ module blimp.engine.mojom;
interface BlobChannel {
// Stores the blob |id| in the BlobCache.
- Put(string id, array<uint8> data);
+ // TODO(kmarshall): Use shared memory for more efficient data transfer, see
+ // crbug.com/614564 .
+ PutBlob(string id, string data);
// Requests that the BlobChannel push the blob |id| over the wire.
// The request will be ignored if the BlobChannel knows that
// the client already has the data.
- Push(string id);
+ DeliverBlob(string id);
};
« no previous file with comments | « blimp/engine/app/blimp_content_browser_client.cc ('k') | blimp/engine/mojo/blob_channel_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698