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

Unified Diff: services/device_info/device_info.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/debugger/debugger.cc ('k') | services/files/main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/device_info/device_info.cc
diff --git a/services/device_info/device_info.cc b/services/device_info/device_info.cc
index 84e66cd236f1e5fd18344c974edf2fb947443bab..01d46b284187f5327c5991545ccd8fb073a21cda 100644
--- a/services/device_info/device_info.cc
+++ b/services/device_info/device_info.cc
@@ -29,8 +29,8 @@ class DeviceInfo : public ApplicationDelegate, public mojo::DeviceInfo {
// |ApplicationDelegate| override.
bool ConfigureIncomingConnection(
- mojo::ApplicationConnection* connection) override {
- connection->GetServiceProviderImpl().AddService<mojo::DeviceInfo>(
+ ServiceProviderImpl* service_provider_impl) override {
+ service_provider_impl->AddService<mojo::DeviceInfo>(
[this](const ConnectionContext& connection_context,
InterfaceRequest<mojo::DeviceInfo> device_info_request) {
binding_.AddBinding(this, device_info_request.Pass());
« no previous file with comments | « services/debugger/debugger.cc ('k') | services/files/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698