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

Unified Diff: blimp/common/blob_cache/in_memory_blob_cache.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: use a better upstream branch for the patch 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
Index: blimp/common/blob_cache/in_memory_blob_cache.h
diff --git a/blimp/common/blob_cache/in_memory_blob_cache.h b/blimp/common/blob_cache/in_memory_blob_cache.h
index b4177cdb0b3510059f021c974024cac4fefbf223..76a869374b9b41c2304df468154fea3e92ff9aaf 100644
--- a/blimp/common/blob_cache/in_memory_blob_cache.h
+++ b/blimp/common/blob_cache/in_memory_blob_cache.h
@@ -7,6 +7,7 @@
#include <map>
#include <string>
+#include <vector>
#include "base/macros.h"
#include "base/memory/ref_counted.h"
@@ -23,6 +24,7 @@ class BLIMP_COMMON_EXPORT InMemoryBlobCache : public BlobCache {
~InMemoryBlobCache() override;
// BlobCache implementation.
+ std::vector<std::string> GetCacheState() const override;
Wez 2016/06/21 00:33:33 std::string->BlobId
Kevin M 2016/06/21 21:23:51 Done.
bool Contains(const BlobId& id) const override;
void Put(const BlobId& id, BlobDataPtr data) override;
BlobDataPtr Get(const BlobId& id) const override;

Powered by Google App Engine
This is Rietveld 408576698