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

Unified Diff: blimp/common/blob_cache/mock_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/mock_blob_cache.h
diff --git a/blimp/common/blob_cache/mock_blob_cache.h b/blimp/common/blob_cache/mock_blob_cache.h
index b152ad1546cebdae72d1a9805d542b74846d070b..5f68ccfc3f9ba60cadeb1620c5aba44fea8f3cf4 100644
--- a/blimp/common/blob_cache/mock_blob_cache.h
+++ b/blimp/common/blob_cache/mock_blob_cache.h
@@ -5,6 +5,8 @@
#ifndef BLIMP_COMMON_BLOB_CACHE_MOCK_BLOB_CACHE_H_
#define BLIMP_COMMON_BLOB_CACHE_MOCK_BLOB_CACHE_H_
+#include <vector>
+
#include "blimp/common/blob_cache/blob_cache.h"
#include "testing/gmock/include/gmock/gmock.h"
@@ -18,6 +20,7 @@ class MockBlobCache : public BlobCache {
MOCK_CONST_METHOD1(Contains, bool(const BlobId&));
MOCK_METHOD2(Put, void(const BlobId&, BlobDataPtr));
MOCK_CONST_METHOD1(Get, BlobDataPtr(const BlobId&));
+ MOCK_CONST_METHOD0(GetCacheState, std::vector<BlobId>());
private:
DISALLOW_COPY_AND_ASSIGN(MockBlobCache);

Powered by Google App Engine
This is Rietveld 408576698