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

Unified Diff: services/files/files_app.cc

Issue 2015643002: Add (optional) options to Run[Main]Application(). (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: doh 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/files/files_app.cc
diff --git a/services/files/files_app.cc b/services/files/files_app.cc
index 368b5a0577fe25f747426652494445ec24dd0a5f..b5e4f3bbe940a74995b8b3f937d6098b3cbcef29 100644
--- a/services/files/files_app.cc
+++ b/services/files/files_app.cc
@@ -4,6 +4,7 @@
#include "services/files/files_app.h"
+#include "mojo/public/cpp/application/service_provider_impl.h"
#include "mojo/services/files/interfaces/files.mojom.h"
#include "services/files/files_impl.h"
@@ -13,8 +14,7 @@ namespace files {
FilesApp::FilesApp() {}
FilesApp::~FilesApp() {}
-bool FilesApp::ConfigureIncomingConnection(
- ServiceProviderImpl* service_provider_impl) {
+bool FilesApp::OnAcceptConnection(ServiceProviderImpl* service_provider_impl) {
service_provider_impl->AddService<Files>(
[](const ConnectionContext& connection_context,
InterfaceRequest<Files> files_request) {

Powered by Google App Engine
This is Rietveld 408576698