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

Unified Diff: blimp/client/core/compositor/blob_channel_feature.h

Issue 2624903006: Remove all blimp client code. (Closed)
Patch Set: Update buildbot configuration 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/client/core/compositor/blob_channel_feature.h
diff --git a/blimp/client/core/compositor/blob_channel_feature.h b/blimp/client/core/compositor/blob_channel_feature.h
deleted file mode 100644
index c85a6087850e3335418214ae6d8cf8c9e4fee097..0000000000000000000000000000000000000000
--- a/blimp/client/core/compositor/blob_channel_feature.h
+++ /dev/null
@@ -1,51 +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_CLIENT_CORE_COMPOSITOR_BLOB_CHANNEL_FEATURE_H_
-#define BLIMP_CLIENT_CORE_COMPOSITOR_BLOB_CHANNEL_FEATURE_H_
-
-#include <memory>
-
-#include "base/macros.h"
-#include "blimp/client/core/compositor/blob_image_serialization_processor.h"
-#include "blimp/net/blimp_message_processor.h"
-
-namespace blimp {
-
-class BlobChannelReceiver;
-
-namespace client {
-
-// BlobChannelFeature processes incoming BlobChannel message from the engine and
-// holds the cache of Blob payloads.
-class BlobChannelFeature : public BlimpMessageProcessor {
- public:
- explicit BlobChannelFeature(
- BlobImageSerializationProcessor::ErrorDelegate* delegate);
- ~BlobChannelFeature() override;
-
- protected:
- // The receiver that does the actual blob processing, protected for test.
- std::unique_ptr<BlobChannelReceiver> blob_receiver_;
-
- private:
- // BlimpMessageProcessor implementation.
- void ProcessMessage(std::unique_ptr<BlimpMessage> message,
- const net::CompletionCallback& callback) override;
-
- // Receives blob BlimpMessages and relays blob data to BlobChannelReceiver.
- // Owned by BlobChannelReceiver, therefore stored as a raw pointer here.
- BlimpMessageProcessor* incoming_msg_processor_ = nullptr;
-
- // Retrieves and decodes image data from |blob_receiver_|. Must outlive
- // |blob_receiver_|.
- BlobImageSerializationProcessor blob_image_processor_;
-
- DISALLOW_COPY_AND_ASSIGN(BlobChannelFeature);
-};
-
-} // namespace client
-} // namespace blimp
-
-#endif // BLIMP_CLIENT_CORE_COMPOSITOR_BLOB_CHANNEL_FEATURE_H_
« no previous file with comments | « blimp/client/core/compositor/blimp_image_decoder.cc ('k') | blimp/client/core/compositor/blob_channel_feature.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698