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

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

Issue 2056993003: Add Mojo IPC for seeding new Renderer with Browser's cached blob state. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@blobchannel-master
Patch Set: STL containers yay Created 4 years, 5 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/BUILD.gn ('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 45567d2fee9ef5e45c299dac1654a7f3a9b65780..7ea68a95b68b56e4c88603965e951a04268276f0 100644
--- a/blimp/engine/mojo/blob_channel.mojom
+++ b/blimp/engine/mojo/blob_channel.mojom
@@ -8,6 +8,14 @@ module blimp.engine.mojom;
// The renderer can use this service to push bulk data such as images to
// the client.
interface BlobChannel {
+ // Gets the list of cached BlobIDs and their replication status in the
+ // browser process' BlobCache. The replication status is represented
+ // as a boolean which, when true, indicates that the blob has been
+ // sent to the client.
+ // TODO(kmarshall): Add a delegate receiver to process cache invalidation
+ // events from the browser as they occur.
+ GetCachedBlobIds() => (map<string, bool> cache_state);
+
// Stores the blob |id| in the BlobCache.
// Because the IPC channel is a shared resource and payloads can be quite
// large, we use shared memory to reduce channel contention and associated
« no previous file with comments | « blimp/engine/BUILD.gn ('k') | blimp/engine/mojo/blob_channel_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698