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

Unified Diff: mojo/services/network/tcp_bound_socket_impl.h

Issue 1227373002: Roll mojo SDK to 734c6e1652ff2f3b696e441722838f453f4f9b42 (Closed) Base URL: https://github.com/domokit/monet.git@master
Patch Set: Follow review Created 5 years, 5 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 | « mojo/services/network/network_service_impl.cc ('k') | mojo/services/network/tcp_bound_socket_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/network/tcp_bound_socket_impl.h
diff --git a/mojo/services/network/tcp_bound_socket_impl.h b/mojo/services/network/tcp_bound_socket_impl.h
index e5e1b6c251a783d4559d5a94eb3eff34bd686756..46854096dbb17910004d23d43498fb392dc0ed26 100644
--- a/mojo/services/network/tcp_bound_socket_impl.h
+++ b/mojo/services/network/tcp_bound_socket_impl.h
@@ -8,13 +8,13 @@
#include "base/memory/scoped_ptr.h"
#include "mojo/services/network/public/interfaces/tcp_bound_socket.mojom.h"
#include "net/socket/tcp_socket.h"
-#include "third_party/mojo/src/mojo/public/cpp/bindings/interface_impl.h"
+#include "third_party/mojo/src/mojo/public/cpp/bindings/strong_binding.h"
namespace mojo {
-class TCPBoundSocketImpl : public InterfaceImpl<TCPBoundSocket> {
+class TCPBoundSocketImpl : public TCPBoundSocket {
public:
- TCPBoundSocketImpl();
+ explicit TCPBoundSocketImpl(InterfaceRequest<TCPBoundSocket> request);
~TCPBoundSocketImpl() override;
// Does the actual binding. Returns a net error code. On net::OK, the bound
@@ -38,6 +38,7 @@ class TCPBoundSocketImpl : public InterfaceImpl<TCPBoundSocket> {
private:
void OnConnected(int result);
+ StrongBinding<TCPBoundSocket> binding_;
scoped_ptr<net::TCPSocket> socket_;
// Valid when waiting for a connect callback.
« no previous file with comments | « mojo/services/network/network_service_impl.cc ('k') | mojo/services/network/tcp_bound_socket_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698