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

Unified Diff: blimp/net/blimp_transport.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_stats_unittest.cc ('k') | blimp/net/blob_channel/blob_channel_integration_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/net/blimp_transport.h
diff --git a/blimp/net/blimp_transport.h b/blimp/net/blimp_transport.h
deleted file mode 100644
index 098e880f67099ca0b60f7f883d50a133b726c78e..0000000000000000000000000000000000000000
--- a/blimp/net/blimp_transport.h
+++ /dev/null
@@ -1,43 +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_TRANSPORT_H_
-#define BLIMP_NET_BLIMP_TRANSPORT_H_
-
-#include <memory>
-#include <string>
-
-#include "net/base/completion_callback.h"
-
-namespace blimp {
-
-class BlimpConnection;
-
-// An interface which encapsulates the transport-specific code for
-// establishing network connections between the client and engine.
-// Subclasses of BlimpTransport are responsible for defining their own
-// methods for receiving connection arguments.
-class BlimpTransport {
- public:
- virtual ~BlimpTransport() {}
-
- // Initiate or listen for a connection.
- //
- // |callback| is passed net::OK if a connection was successfully
- // established.
- // All other values indicate a connection error.
- virtual void Connect(const net::CompletionCallback& callback) = 0;
-
- // Creates a new |BlimpConnection| for the specific |BlimpTransport|
- // implementation. Must not be called until |Connect|'s callback returns
- // net::OK.
- virtual std::unique_ptr<BlimpConnection> MakeConnection() = 0;
-
- // Gets the transport name, e.g. "TCP", "SSL", "mock", etc.
- virtual const char* GetName() const = 0;
-};
-
-} // namespace blimp
-
-#endif // BLIMP_NET_BLIMP_TRANSPORT_H_
« no previous file with comments | « blimp/net/blimp_stats_unittest.cc ('k') | blimp/net/blob_channel/blob_channel_integration_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698