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

Unified Diff: services/clipboard/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/authentication/main.cc ('k') | services/dart/content_handler_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/clipboard/main.cc
diff --git a/services/clipboard/main.cc b/services/clipboard/main.cc
index b6b3b5b93884399872a2cb805c26ab61b2685746..4ddbc31d110de0611f7532a36979c9cc410de49b 100644
--- a/services/clipboard/main.cc
+++ b/services/clipboard/main.cc
@@ -15,8 +15,8 @@ class Delegate : public mojo::ApplicationDelegate {
// mojo::ApplicationDelegate implementation.
bool ConfigureIncomingConnection(
- mojo::ApplicationConnection* connection) override {
- connection->GetServiceProviderImpl().AddService<mojo::Clipboard>(
+ mojo::ServiceProviderImpl* service_provider_impl) override {
+ service_provider_impl->AddService<mojo::Clipboard>(
[](const mojo::ConnectionContext& connection_context,
mojo::InterfaceRequest<mojo::Clipboard> clipboard_request) {
// TODO(erg): Write native implementations of the clipboard. For now,
« no previous file with comments | « services/authentication/main.cc ('k') | services/dart/content_handler_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698