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

Unified Diff: blimp/net/tcp_client_transport.h

Issue 2236093002: Decouple Blimp transport output from BlimpConnections using MessagePort. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@statistics-singleton
Patch Set: wez feedback Created 4 years, 4 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/ssl_client_transport_unittest.cc ('k') | blimp/net/tcp_client_transport.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/net/tcp_client_transport.h
diff --git a/blimp/net/tcp_client_transport.h b/blimp/net/tcp_client_transport.h
index d1444c51fbd5ddd4fa8aee06f1371fb223da7b90..aa8f049ef96e67f21465d855defa5b9c170b3f27 100644
--- a/blimp/net/tcp_client_transport.h
+++ b/blimp/net/tcp_client_transport.h
@@ -23,7 +23,7 @@ class StreamSocket;
namespace blimp {
-class BlimpConnection;
+class MessagePort;
// BlimpTransport which creates a TCP connection to one of the specified
// |addresses| on each call to Connect().
@@ -37,7 +37,7 @@ class BLIMP_NET_EXPORT TCPClientTransport : public BlimpTransport {
// BlimpTransport implementation.
void Connect(const net::CompletionCallback& callback) override;
- std::unique_ptr<BlimpConnection> TakeConnection() override;
+ std::unique_ptr<MessagePort> TakeMessagePort() override;
const char* GetName() const override;
protected:
« no previous file with comments | « blimp/net/ssl_client_transport_unittest.cc ('k') | blimp/net/tcp_client_transport.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698