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

Side by Side Diff: blimp/common/blob_cache/mock_blob_cache.h

Issue 1891083002: Blimp: Add BlobChannelReceiver and bindings interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@blobchannel-sender
Patch Set: Sync only! 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef BLIMP_COMMON_BLOB_CACHE_MOCK_BLOB_CACHE_H_
6 #define BLIMP_COMMON_BLOB_CACHE_MOCK_BLOB_CACHE_H_
7
8 #include "blimp/common/blob_cache/blob_cache.h"
9 #include "testing/gmock/include/gmock/gmock.h"
10
11 namespace blimp {
12
13 class MockBlobCache : public BlobCache {
14 public:
15 MockBlobCache();
16 ~MockBlobCache() override;
17
18 MOCK_CONST_METHOD1(Contains, bool(const BlobId&));
19 MOCK_METHOD2(Put, void(const BlobId&, BlobDataPtr));
20 MOCK_CONST_METHOD1(Get, BlobDataPtr(const BlobId&));
21 };
Wez 2016/04/21 00:55:02 DISALLOW_COPY_AND_ASSIGN?
Kevin M 2016/04/21 21:24:07 Done.
22
23 } // namespace blimp
24
25 #endif // BLIMP_COMMON_BLOB_CACHE_MOCK_BLOB_CACHE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698