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

Unified Diff: blimp/net/tcp_client_transport.h

Issue 2439403003: Refactor BlimpConnection to TCPConnection (Closed)
Patch Set: Sync merge Created 4 years, 2 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_client_transport.h
diff --git a/blimp/net/tcp_client_transport.h b/blimp/net/tcp_client_transport.h
index aa8f049ef96e67f21465d855defa5b9c170b3f27..c781118c6f5d688b5ade607cb3aa165fe49a6994 100644
--- a/blimp/net/tcp_client_transport.h
+++ b/blimp/net/tcp_client_transport.h
@@ -37,7 +37,10 @@ class BLIMP_NET_EXPORT TCPClientTransport : public BlimpTransport {
// BlimpTransport implementation.
void Connect(const net::CompletionCallback& callback) override;
- std::unique_ptr<MessagePort> TakeMessagePort() override;
+ std::unique_ptr<BlimpConnection> MakeConnection() override;
+
+ std::unique_ptr<MessagePort> TakeMessagePort();
Garrett Casto 2016/10/25 18:33:50 Nit: You have a non-overriden function in the midd
Kevin M 2016/10/25 18:49:23 Why do we have TakeMessagePort *and* MakeConnectio
perumaal 2016/10/25 23:02:39 Kevin: Again, I wanted to minimize the amount of c
perumaal 2016/10/25 23:02:39 My bad. thanks
+
const char* GetName() const override;
protected:

Powered by Google App Engine
This is Rietveld 408576698