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

Unified Diff: services/http_server/http_server_factory_impl.h

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
« no previous file with comments | « services/http_server/http_server_app.cc ('k') | services/http_server/http_server_factory_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/http_server/http_server_factory_impl.h
diff --git a/services/http_server/http_server_factory_impl.h b/services/http_server/http_server_factory_impl.h
index e26de8104fa7a420cc2cba55a56cb8d4297e791e..9bdc9bbca0eaeadad52992c6ff655a4c81e6a85f 100644
--- a/services/http_server/http_server_factory_impl.h
+++ b/services/http_server/http_server_factory_impl.h
@@ -16,7 +16,7 @@
#include "mojo/services/network/interfaces/net_address.mojom.h"
namespace mojo {
-class ApplicationImpl;
+class Shell;
} // namespace mojo
namespace http_server {
@@ -25,7 +25,9 @@ class HttpServerImpl;
class HttpServerFactoryImpl : public HttpServerFactory {
public:
- HttpServerFactoryImpl(mojo::ApplicationImpl* app);
+ // TODO(vtl): Possibly this should take an
+ // |InterfaceHandle<ApplicationConnector>| instead of a |Shell*|.
+ explicit HttpServerFactoryImpl(mojo::Shell* shell);
~HttpServerFactoryImpl() override;
void AddBinding(mojo::InterfaceRequest<HttpServerFactory> request);
@@ -54,7 +56,7 @@ class HttpServerFactoryImpl : public HttpServerFactory {
// other clients.
std::set<HttpServerImpl*> port_any_servers_;
- mojo::ApplicationImpl* app_;
+ mojo::Shell* const shell_;
};
} // namespace http_server
« no previous file with comments | « services/http_server/http_server_app.cc ('k') | services/http_server/http_server_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698