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

Unified Diff: blimp/net/blimp_message_multiplexer.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
« no previous file with comments | « blimp/net/blimp_message_demultiplexer_unittest.cc ('k') | blimp/net/blimp_message_multiplexer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/net/blimp_message_multiplexer.h
diff --git a/blimp/net/blimp_message_multiplexer.h b/blimp/net/blimp_message_multiplexer.h
deleted file mode 100644
index 064e0956afff8283f2051ec6f082cb155afd9227..0000000000000000000000000000000000000000
--- a/blimp/net/blimp_message_multiplexer.h
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright 2015 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_BLIMP_MESSAGE_MULTIPLEXER_H_
-#define BLIMP_NET_BLIMP_MESSAGE_MULTIPLEXER_H_
-
-#include <memory>
-
-#include "base/macros.h"
-#include "base/memory/weak_ptr.h"
-#include "blimp/common/proto/blimp_message.pb.h"
-#include "blimp/net/blimp_net_export.h"
-
-namespace blimp {
-
-class BlimpMessageProcessor;
-
-// Creates MessageProcessors that receive outgoing messages and put them
-// onto a multiplexed message stream.
-// BlimpMessageMultiplexer is created on the UI thread, and then used and
-// destroyed on the IO thread.
-class BLIMP_NET_EXPORT BlimpMessageMultiplexer {
- public:
- // |output_processor|: A pointer to the MessageProcessor that will receive the
- // multiplexed message stream.
- explicit BlimpMessageMultiplexer(BlimpMessageProcessor* output_processor);
-
- ~BlimpMessageMultiplexer();
-
- // Creates a BlimpMessageProcessor object for sending messages of type
- // |feature_case|. Any number of senders can be created at a time for a given
- // type.
- std::unique_ptr<BlimpMessageProcessor> CreateSender(
- BlimpMessage::FeatureCase feature_case);
-
- private:
- base::WeakPtrFactory<BlimpMessageProcessor> output_weak_factory_;
-
- DISALLOW_COPY_AND_ASSIGN(BlimpMessageMultiplexer);
-};
-
-} // namespace blimp
-
-#endif // BLIMP_NET_BLIMP_MESSAGE_MULTIPLEXER_H_
« no previous file with comments | « blimp/net/blimp_message_demultiplexer_unittest.cc ('k') | blimp/net/blimp_message_multiplexer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698