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

Unified Diff: blimp/engine/mojo/blob_channel_service.h

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/mojo/blob_channel.mojom ('k') | blimp/engine/mojo/blob_channel_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/engine/mojo/blob_channel_service.h
diff --git a/blimp/engine/mojo/blob_channel_service.h b/blimp/engine/mojo/blob_channel_service.h
index f97abd7d76eb5901ed85c1c2078a49257192acec..83e06d9368f3da8d0e7d289732c81a28603a21fd 100644
--- a/blimp/engine/mojo/blob_channel_service.h
+++ b/blimp/engine/mojo/blob_channel_service.h
@@ -5,6 +5,8 @@
#ifndef BLIMP_ENGINE_MOJO_BLOB_CHANNEL_SERVICE_H_
#define BLIMP_ENGINE_MOJO_BLOB_CHANNEL_SERVICE_H_
+#include <string>
+
#include "blimp/engine/mojo/blob_channel.mojom.h"
#include "mojo/public/cpp/bindings/strong_binding.h"
@@ -31,10 +33,12 @@ class BlobChannelService : public mojom::BlobChannel {
mojom::BlobChannelRequest request);
// BlobChannel implementation.
- void PutBlob(const mojo::String& id,
+ void GetCachedBlobIds(
+ const GetCachedBlobIdsCallback& response_callback) override;
+ void PutBlob(const std::string& id,
mojo::ScopedSharedBufferHandle data,
uint32_t size) override;
- void DeliverBlob(const mojo::String& id) override;
+ void DeliverBlob(const std::string& id) override;
// Binds |this| and its object lifetime to a Mojo connection.
mojo::StrongBinding<mojom::BlobChannel> binding_;
« no previous file with comments | « blimp/engine/mojo/blob_channel.mojom ('k') | blimp/engine/mojo/blob_channel_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698