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

Unified Diff: remoting/protocol/fake_message_pipe_wrapper.h

Issue 2928133005: Revert of [Chromoting] Add DataChannelManager to manage optional incoming data channels (Closed)
Patch Set: Created 3 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
« no previous file with comments | « remoting/protocol/fake_message_pipe.cc ('k') | remoting/protocol/fake_message_pipe_wrapper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/fake_message_pipe_wrapper.h
diff --git a/remoting/protocol/fake_message_pipe_wrapper.h b/remoting/protocol/fake_message_pipe_wrapper.h
deleted file mode 100644
index 0ea4589a06d1404df798015507987d7fd9432163..0000000000000000000000000000000000000000
--- a/remoting/protocol/fake_message_pipe_wrapper.h
+++ /dev/null
@@ -1,46 +0,0 @@
-// Copyright 2017 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 REMOTING_PROTOCOL_FAKE_MESSAGE_PIPE_WRAPPER_H_
-#define REMOTING_PROTOCOL_FAKE_MESSAGE_PIPE_WRAPPER_H_
-
-#include <memory>
-
-#include "remoting/protocol/message_pipe.h"
-
-namespace google {
-namespace protobuf {
-class MessageLite;
-} // namespace protobuf
-} // namespace google
-
-namespace remoting {
-namespace protocol {
-
-class FakeMessagePipe;
-
-// This class should not be used explicitly: use FakeMessagePipe::Wrap().
-class FakeMessagePipeWrapper final : public MessagePipe {
- public:
- // |pipe| must outlive this instance.
- explicit FakeMessagePipeWrapper(FakeMessagePipe* pipe);
- ~FakeMessagePipeWrapper() override;
-
- // MessagePipe implementation.
- void Start(EventHandler* event_handler) override;
- void Send(google::protobuf::MessageLite* message,
- const base::Closure& done) override;
-
- void Receive(std::unique_ptr<CompoundBuffer> message);
- void OpenPipe();
- void ClosePipe();
-
- private:
- FakeMessagePipe* const pipe_;
-};
-
-} // namespace protocol
-} // namespace remoting
-
-#endif // REMOTING_PROTOCOL_FAKE_MESSAGE_PIPE_WRAPPER_H_
« no previous file with comments | « remoting/protocol/fake_message_pipe.cc ('k') | remoting/protocol/fake_message_pipe_wrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698