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

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

Issue 1859753002: Blimp: create Mojo component for renderer/browser communication. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: yzshen and nyquist feedback Created 4 years, 8 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_renderer_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
new file mode 100644
index 0000000000000000000000000000000000000000..fe3ebb9dc4734f6a6950387739cc04afc5f7b899
--- /dev/null
+++ b/blimp/engine/mojo/blob_channel.mojom
@@ -0,0 +1,16 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+module blimp.engine.mojom;
+
+interface BlobChannel {
+ // Stores the blob |id| in the BlobCache.
+ Put(string id, array<uint8> 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);
+};
+
« no previous file with comments | « blimp/engine/app/blimp_content_renderer_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