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

Unified Diff: mojo/services/network/http_server_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/http_server_apptest.cc ('k') | mojo/services/network/http_server_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/network/http_server_impl.h
diff --git a/mojo/services/network/http_server_impl.h b/mojo/services/network/http_server_impl.h
index a631146b9d3bc530e375b943f4a09338fc674e36..f79b7a8889499d27d242d28caa4dfb15a77c8bf2 100644
--- a/mojo/services/network/http_server_impl.h
+++ b/mojo/services/network/http_server_impl.h
@@ -12,7 +12,7 @@
#include "base/memory/scoped_ptr.h"
#include "mojo/services/network/public/interfaces/http_server.mojom.h"
#include "mojo/services/network/public/interfaces/net_address.mojom.h"
-#include "mojo/shell/public/cpp/shell.h"
+#include "mojo/shell/public/cpp/message_loop_ref.h"
#include "net/server/http_server.h"
namespace net {
@@ -28,7 +28,7 @@ class HttpServerImpl : public net::HttpServer::Delegate {
static void Create(
NetAddressPtr local_address,
HttpServerDelegatePtr delegate,
- scoped_ptr<mojo::AppRefCount> app_refcount,
+ scoped_ptr<mojo::MessageLoopRef> app_refcount,
const Callback<void(NetworkErrorPtr, NetAddressPtr)>& callback);
net::HttpServer* server() { return server_.get(); }
@@ -39,7 +39,7 @@ class HttpServerImpl : public net::HttpServer::Delegate {
// notified that |delegate|'s pipe is closed. Deleting the object directly
// before that is okay, too.
HttpServerImpl(HttpServerDelegatePtr delegate,
- scoped_ptr<mojo::AppRefCount> app_refcount);
+ scoped_ptr<mojo::MessageLoopRef> app_refcount);
~HttpServerImpl() override;
int Start(NetAddressPtr local_address);
@@ -55,7 +55,7 @@ class HttpServerImpl : public net::HttpServer::Delegate {
void OnClose(int connection_id) override;
HttpServerDelegatePtr delegate_;
- scoped_ptr<mojo::AppRefCount> app_refcount_;
+ scoped_ptr<mojo::MessageLoopRef> app_refcount_;
scoped_ptr<net::HttpServer> server_;
std::map<int, linked_ptr<HttpConnectionImpl>> connections_;
« no previous file with comments | « mojo/services/network/http_server_apptest.cc ('k') | mojo/services/network/http_server_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698