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

Unified Diff: mojo/services/network/http_server_impl.cc

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_impl.h ('k') | mojo/services/network/network_service_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/network/http_server_impl.cc
diff --git a/mojo/services/network/http_server_impl.cc b/mojo/services/network/http_server_impl.cc
index cc1422164e3f94ba51b760f5cfbd5ab09356fcf5..b7e080a6bae9964376e973987c8e9490ebe55c32 100644
--- a/mojo/services/network/http_server_impl.cc
+++ b/mojo/services/network/http_server_impl.cc
@@ -27,7 +27,7 @@ const int kBackLog = 10;
void HttpServerImpl::Create(
NetAddressPtr local_address,
HttpServerDelegatePtr delegate,
- scoped_ptr<mojo::AppRefCount> app_refcount,
+ scoped_ptr<mojo::MessageLoopRef> app_refcount,
const Callback<void(NetworkErrorPtr, NetAddressPtr)>& callback) {
HttpServerImpl* http_server =
new HttpServerImpl(std::move(delegate), std::move(app_refcount));
@@ -42,7 +42,7 @@ void HttpServerImpl::Create(
}
HttpServerImpl::HttpServerImpl(HttpServerDelegatePtr delegate,
- scoped_ptr<mojo::AppRefCount> app_refcount)
+ scoped_ptr<mojo::MessageLoopRef> app_refcount)
: delegate_(std::move(delegate)), app_refcount_(std::move(app_refcount)) {
DCHECK(delegate_);
delegate_.set_connection_error_handler([this]() { delete this; });
« no previous file with comments | « mojo/services/network/http_server_impl.h ('k') | mojo/services/network/network_service_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698