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

Unified Diff: blimp/net/tcp_engine_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: 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
Index: blimp/net/tcp_engine_transport.h
diff --git a/blimp/net/tcp_engine_transport.h b/blimp/net/tcp_engine_transport.h
index 56850aa232445105f5c72066f0e7a07f627c2646..93f426b88e9837825d39c52b3459e9f1f9f2da1c 100644
--- a/blimp/net/tcp_engine_transport.h
+++ b/blimp/net/tcp_engine_transport.h
@@ -22,7 +22,7 @@ class StreamSocket;
namespace blimp {
-class BlimpConnection;
+class MessagePort;
// BlimpTransport which listens for a TCP connection at |address|.
class BLIMP_NET_EXPORT TCPEngineTransport : public BlimpTransport {
@@ -34,7 +34,7 @@ class BLIMP_NET_EXPORT TCPEngineTransport : 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;
int GetLocalAddress(net::IPEndPoint* address) const;

Powered by Google App Engine
This is Rietveld 408576698