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

Unified Diff: services/files/main.cc

Issue 1975993002: Change InterfaceFactory<I>::Create() to take a ConnectionContext instead of an ApplicationConnectio… (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/files/files_impl.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 56101d9efb5150418bab6d9c5cd277e5056eb854..b8a2ce00c72173f67824d0779d4cdcf4e454620b 100644
--- a/services/files/main.cc
+++ b/services/files/main.cc
@@ -27,9 +27,9 @@ class FilesApp : public ApplicationDelegate, public InterfaceFactory<Files> {
}
// |InterfaceFactory<Files>| implementation:
- void Create(ApplicationConnection* connection,
+ void Create(const ConnectionContext& connection_context,
InterfaceRequest<Files> request) override {
- new FilesImpl(connection, request.Pass());
+ new FilesImpl(connection_context, request.Pass());
}
DISALLOW_COPY_AND_ASSIGN(FilesApp);
« no previous file with comments | « services/files/files_impl.cc ('k') | services/gfx/compositor/compositor_app.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698