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

Unified Diff: blimp/net/tcp_connection.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/tcp_client_transport.cc ('k') | blimp/net/tcp_connection.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/net/tcp_connection.h
diff --git a/blimp/net/tcp_connection.h b/blimp/net/tcp_connection.h
deleted file mode 100644
index 2b378ffe4b7e7e1af4cd3ea2ffde35ad2242c22a..0000000000000000000000000000000000000000
--- a/blimp/net/tcp_connection.h
+++ /dev/null
@@ -1,44 +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_TCP_CONNECTION_H_
-#define BLIMP_NET_TCP_CONNECTION_H_
-
-#include <memory>
-
-#include "base/callback.h"
-#include "base/macros.h"
-#include "blimp/net/blimp_connection.h"
-#include "blimp/net/blimp_net_export.h"
-#include "blimp/net/blimp_transport.h"
-#include "net/base/ip_endpoint.h"
-#include "net/base/net_errors.h"
-
-namespace blimp {
-
-class BlimpMessageProcessor;
-class BlimpMessagePump;
-class BlimpMessageSender;
-class MessagePort;
-
-// A |BlimpConnection| implementation that passes |BlimpMessage|s using a
-// |StreamSocketConnection|.
-class BLIMP_NET_EXPORT TCPConnection : public BlimpConnection {
- public:
- ~TCPConnection() override;
- explicit TCPConnection(std::unique_ptr<MessagePort> message_port);
-
- // BlimpConnection overrides.
- void SetIncomingMessageProcessor(BlimpMessageProcessor* processor) override;
- BlimpMessageProcessor* GetOutgoingMessageProcessor() override;
-
- private:
- std::unique_ptr<MessagePort> message_port_;
- std::unique_ptr<BlimpMessagePump> message_pump_;
- std::unique_ptr<BlimpMessageSender> outgoing_msg_processor_;
-};
-
-} // namespace blimp
-
-#endif // BLIMP_NET_TCP_CONNECTION_H_
« no previous file with comments | « blimp/net/tcp_client_transport.cc ('k') | blimp/net/tcp_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698