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

Unified Diff: services/http_server/http_server_impl.cc

Issue 2012873003: More ApplicationDelegate/ApplicationRunner[Chromium] conversion. (Closed) Base URL: https://github.com/domokit/mojo.git@work791_run_app_options
Patch Set: Created 4 years, 7 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
Index: services/http_server/http_server_impl.cc
diff --git a/services/http_server/http_server_impl.cc b/services/http_server/http_server_impl.cc
index 9aa11856831dac7c4e463657c6e201749fc15e3c..366ed7f26aad3532e1a8222e2f0c009b628eb9ea 100644
--- a/services/http_server/http_server_impl.cc
+++ b/services/http_server/http_server_impl.cc
@@ -8,7 +8,6 @@
#include "base/bind.h"
#include "base/logging.h"
-#include "mojo/public/cpp/application/application_impl.h"
#include "mojo/public/cpp/application/connect.h"
#include "mojo/public/cpp/system/data_pipe.h"
#include "mojo/services/http_server/cpp/http_server_util.h"
@@ -17,14 +16,14 @@
namespace http_server {
-HttpServerImpl::HttpServerImpl(mojo::ApplicationImpl* app,
+HttpServerImpl::HttpServerImpl(mojo::Shell* shell,
HttpServerFactoryImpl* factory,
mojo::NetAddressPtr requested_local_address)
: factory_(factory),
requested_local_address_(requested_local_address.Pass()),
assigned_port_(0),
weak_ptr_factory_(this) {
- mojo::ConnectToService(app->shell(), "mojo:network_service",
+ mojo::ConnectToService(shell, "mojo:network_service",
GetProxy(&network_service_));
Start();
}
« no previous file with comments | « services/http_server/http_server_impl.h ('k') | services/url_response_disk_cache/url_response_disk_cache_app.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698