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

Unified Diff: mojo/public/cpp/application/connect.h

Issue 304273004: Add name to services (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Get chrome to build 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 | « mojo/public/cpp/application/application.h ('k') | mojo/public/cpp/application/lib/application.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/application/connect.h
diff --git a/mojo/public/cpp/application/connect.h b/mojo/public/cpp/application/connect.h
index c747131fc3d4c8da76618420ea6c0daac16c6bf3..24ef4b53ae3ba14663c9f3b20c85ab17e3d4aff1 100644
--- a/mojo/public/cpp/application/connect.h
+++ b/mojo/public/cpp/application/connect.h
@@ -15,7 +15,8 @@ inline void ConnectToService(ServiceProvider* service_provider,
InterfacePtr<Interface>* ptr) {
MessagePipe pipe;
ptr->Bind(pipe.handle0.Pass());
- service_provider->ConnectToService(url, pipe.handle1.Pass());
+ service_provider->ConnectToService(
+ url, Interface::Name_, pipe.handle1.Pass());
}
} // namespace mojo
« no previous file with comments | « mojo/public/cpp/application/application.h ('k') | mojo/public/cpp/application/lib/application.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698