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

Unified Diff: blimp/net/fake_pipe_manager.cc

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/fake_pipe_manager.h ('k') | blimp/net/input_message_converter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/net/fake_pipe_manager.cc
diff --git a/blimp/net/fake_pipe_manager.cc b/blimp/net/fake_pipe_manager.cc
deleted file mode 100644
index 72f94912a8d2b709cc86c148491a195cc0f15c0d..0000000000000000000000000000000000000000
--- a/blimp/net/fake_pipe_manager.cc
+++ /dev/null
@@ -1,38 +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.
-
-#include "blimp/net/fake_pipe_manager.h"
-
-#include "base/memory/ptr_util.h"
-#include "blimp/net/blimp_message_processor.h"
-
-namespace blimp {
-
-FakePipeManager::FakePipeManager() = default;
-
-FakePipeManager::~FakePipeManager() = default;
-
-std::unique_ptr<BlimpMessageProcessor> FakePipeManager::RegisterFeature(
- BlimpMessage::FeatureCase feature_case,
- BlimpMessageProcessor* incoming_processor) {
- incoming_processors_.insert(
- std::pair<BlimpMessage::FeatureCase, BlimpMessageProcessor*>(
- feature_case, incoming_processor));
-
- std::unique_ptr<FakeBlimpMessageProcessor> outgoing_processor =
- base::MakeUnique<FakeBlimpMessageProcessor>();
-
- outgoing_processors_.insert(
- std::pair<BlimpMessage::FeatureCase, FakeBlimpMessageProcessor*>(
- feature_case, outgoing_processor.get()));
-
- return std::move(outgoing_processor);
-}
-
-FakeBlimpMessageProcessor* FakePipeManager::GetOutgoingMessageProcessor(
- BlimpMessage::FeatureCase feature_case) {
- return outgoing_processors_.at(feature_case);
-}
-
-} // namespace blimp
« no previous file with comments | « blimp/net/fake_pipe_manager.h ('k') | blimp/net/input_message_converter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698