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

Unified Diff: blimp/net/blob_channel/mock_blob_channel_receiver.h

Issue 2632803002: Remove all blimp network code. (Closed)
Patch Set: merge from origin/master for good measure Created 3 years, 11 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/net/blob_channel/mock_blob_channel_receiver.h
diff --git a/blimp/net/blob_channel/mock_blob_channel_receiver.h b/blimp/net/blob_channel/mock_blob_channel_receiver.h
deleted file mode 100644
index 64d9e7557fce095546661c2f6e6ddc4ce74f660f..0000000000000000000000000000000000000000
--- a/blimp/net/blob_channel/mock_blob_channel_receiver.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// 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_RECEIVER_H_
-#define BLIMP_NET_BLOB_CHANNEL_MOCK_BLOB_CHANNEL_RECEIVER_H_
-
-#include <string>
-#include <vector>
-
-#include "blimp/net/blob_channel/blob_channel_receiver.h"
-#include "testing/gmock/include/gmock/gmock.h"
-
-namespace blimp {
-
-class MockBlobChannelReceiver : public BlobChannelReceiver {
- public:
- MockBlobChannelReceiver();
- ~MockBlobChannelReceiver();
-
- MOCK_METHOD1(Get, BlobDataPtr(const BlobId& id));
- MOCK_METHOD2(OnBlobReceived, void(const BlobId& id, BlobDataPtr data));
-
- private:
- DISALLOW_COPY_AND_ASSIGN(MockBlobChannelReceiver);
-};
-
-class MockBlobChannelReceiverDelegate : public BlobChannelReceiver::Delegate {
- public:
- MockBlobChannelReceiverDelegate();
- ~MockBlobChannelReceiverDelegate() override;
-
- MOCK_METHOD1(SetReceiver, void(BlobChannelReceiver* receiver));
-
- private:
- DISALLOW_COPY_AND_ASSIGN(MockBlobChannelReceiverDelegate);
-};
-
-} // namespace blimp
-
-#endif // BLIMP_NET_BLOB_CHANNEL_MOCK_BLOB_CHANNEL_RECEIVER_H_
« no previous file with comments | « blimp/net/blob_channel/helium_blob_sender_delegate.cc ('k') | blimp/net/blob_channel/mock_blob_channel_receiver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698