| Index: blimp/net/blob_channel/mock_blob_channel_bindings.h
|
| diff --git a/blimp/net/blob_channel/mock_blob_channel_bindings.h b/blimp/net/blob_channel/mock_blob_channel_bindings.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..443748044de9cc7adb2568f6b4295a9e65898754
|
| --- /dev/null
|
| +++ b/blimp/net/blob_channel/mock_blob_channel_bindings.h
|
| @@ -0,0 +1,26 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef BLIMP_NET_BLOB_CHANNEL_MOCK_BLOB_CHANNEL_BINDINGS_H_
|
| +#define BLIMP_NET_BLOB_CHANNEL_MOCK_BLOB_CHANNEL_BINDINGS_H_
|
| +
|
| +#include <string>
|
| +#include <vector>
|
| +
|
| +#include "blimp/net/blob_channel/blob_channel_bindings.h"
|
| +#include "testing/gmock/include/gmock/gmock.h"
|
| +
|
| +namespace blimp {
|
| +
|
| +class MockBlobSenderBindings : public BlobSenderBindings {
|
| + public:
|
| + MockBlobSenderBindings();
|
| + ~MockBlobSenderBindings();
|
| +
|
| + MOCK_METHOD2(Send, void(const std::string&, const std::vector<uint8_t>&));
|
| +};
|
| +
|
| +} // namespace blimp
|
| +
|
| +#endif // BLIMP_NET_BLOB_CHANNEL_MOCK_BLOB_CHANNEL_BINDINGS_H_
|
|
|