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

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

Issue 1725353003: Eliminate mojo::Shell client lib class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@15connector
Patch Set: . Created 4 years, 10 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/web_socket_factory_impl.cc ('k') | mojo/services/network/web_socket_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/network/web_socket_impl.h
diff --git a/mojo/services/network/web_socket_impl.h b/mojo/services/network/web_socket_impl.h
index 30b7cc26fdef8aaa2ec0de9523699bd8101a0f94..06fd3ca614cb18dcb7a03618e607294e365c3122 100644
--- a/mojo/services/network/web_socket_impl.h
+++ b/mojo/services/network/web_socket_impl.h
@@ -10,7 +10,7 @@
#include "base/memory/scoped_ptr.h"
#include "mojo/public/cpp/bindings/strong_binding.h"
#include "mojo/services/network/public/interfaces/web_socket.mojom.h"
-#include "mojo/shell/public/cpp/shell.h"
+#include "mojo/shell/public/cpp/message_loop_ref.h"
namespace net {
class WebSocketChannel;
@@ -25,7 +25,7 @@ class WebSocketReadQueue;
class WebSocketImpl : public WebSocket {
public:
WebSocketImpl(NetworkContext* context,
- scoped_ptr<mojo::AppRefCount> app_refcount,
+ scoped_ptr<mojo::MessageLoopRef> app_refcount,
InterfaceRequest<WebSocket> request);
~WebSocketImpl() override;
@@ -51,7 +51,7 @@ class WebSocketImpl : public WebSocket {
ScopedDataPipeConsumerHandle send_stream_;
scoped_ptr<WebSocketReadQueue> read_queue_;
NetworkContext* context_;
- scoped_ptr<mojo::AppRefCount> app_refcount_;
+ scoped_ptr<mojo::MessageLoopRef> app_refcount_;
StrongBinding<WebSocket> binding_;
};
« no previous file with comments | « mojo/services/network/web_socket_factory_impl.cc ('k') | mojo/services/network/web_socket_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698