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

Unified Diff: services/files/main.cc

Issue 1979723002: ApplicationConnection devolution, part 3. (Closed) Base URL: https://github.com/domokit/mojo.git@master
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/device_info/device_info.cc ('k') | services/gfx/compositor/compositor_app.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/files/main.cc
diff --git a/services/files/main.cc b/services/files/main.cc
index 6d368de5af4af166b048649689b8091ab45cddc1..c84b7ec223a538e020d91aebbe042106e24a9757 100644
--- a/services/files/main.cc
+++ b/services/files/main.cc
@@ -20,8 +20,9 @@ class FilesApp : public ApplicationDelegate {
private:
// |ApplicationDelegate| override:
- bool ConfigureIncomingConnection(ApplicationConnection* connection) override {
- connection->GetServiceProviderImpl().AddService<Files>(
+ bool ConfigureIncomingConnection(
+ ServiceProviderImpl* service_provider_impl) override {
+ service_provider_impl->AddService<Files>(
[](const ConnectionContext& connection_context,
InterfaceRequest<Files> files_request) {
new FilesImpl(connection_context, files_request.Pass());
« no previous file with comments | « services/device_info/device_info.cc ('k') | services/gfx/compositor/compositor_app.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698