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

Unified Diff: mojo/services/network/web_socket_factory_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/url_loader_impl_apptest.cc ('k') | mojo/services/network/web_socket_factory_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_factory_impl.h
diff --git a/mojo/services/network/web_socket_factory_impl.h b/mojo/services/network/web_socket_factory_impl.h
index 2763e7f442d698bd86e52c744eb384df3d50663c..ca254ca5a74dbc9c92ad5d3b6e49e5d228202c60 100644
--- a/mojo/services/network/web_socket_factory_impl.h
+++ b/mojo/services/network/web_socket_factory_impl.h
@@ -9,7 +9,7 @@
#include "base/macros.h"
#include "mojo/public/cpp/bindings/strong_binding.h"
#include "mojo/services/network/public/interfaces/web_socket_factory.mojom.h"
-#include "mojo/shell/public/cpp/shell.h"
+#include "mojo/shell/public/cpp/message_loop_ref.h"
namespace mojo {
class NetworkContext;
@@ -17,7 +17,7 @@ class NetworkContext;
class WebSocketFactoryImpl : public WebSocketFactory {
public:
WebSocketFactoryImpl(NetworkContext* context,
- scoped_ptr<AppRefCount> app_refcount,
+ scoped_ptr<MessageLoopRef> app_refcount,
InterfaceRequest<WebSocketFactory> request);
~WebSocketFactoryImpl() override;
@@ -26,7 +26,7 @@ class WebSocketFactoryImpl : public WebSocketFactory {
private:
NetworkContext* context_;
- scoped_ptr<AppRefCount> app_refcount_;
+ scoped_ptr<MessageLoopRef> app_refcount_;
StrongBinding<WebSocketFactory> binding_;
DISALLOW_COPY_AND_ASSIGN(WebSocketFactoryImpl);
« no previous file with comments | « mojo/services/network/url_loader_impl_apptest.cc ('k') | mojo/services/network/web_socket_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698