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

Unified Diff: mojo/dbus/dbus_external_service.h

Issue 287143003: Mojo: Internalize ServiceConnector<> (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add missing function Created 6 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 | « no previous file | mojo/examples/launcher/launcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/dbus/dbus_external_service.h
diff --git a/mojo/dbus/dbus_external_service.h b/mojo/dbus/dbus_external_service.h
index c3e20e15538a9459e72d9a173a3166ca9c510635..ea722223fc83b31bbebaa9e2485eddcf2b851398 100644
--- a/mojo/dbus/dbus_external_service.h
+++ b/mojo/dbus/dbus_external_service.h
@@ -74,7 +74,7 @@ class DBusExternalService : public DBusExternalServiceBase {
}
virtual void Activate(ScopedMessagePipeHandle shell_handle) OVERRIDE {
app_.reset(new Application(shell_handle.Pass()));
- app_->AddServiceConnector(new ServiceConnector<ServiceImpl>());
+ app_->AddService<ServiceImpl>();
}
private:
DBusExternalService* service_;
« no previous file with comments | « no previous file | mojo/examples/launcher/launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698