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

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

Issue 2034383003: Removed exposed_services from mojom definitions. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 6 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
Index: mojo/public/cpp/application/connect.h
diff --git a/mojo/public/cpp/application/connect.h b/mojo/public/cpp/application/connect.h
index 3b3fd9c8a88a961378b417272d56cadbecb4bbc3..3d1678899b794542477c3de96ecc1a9ff8f59222 100644
--- a/mojo/public/cpp/application/connect.h
+++ b/mojo/public/cpp/application/connect.h
@@ -40,8 +40,7 @@ inline void ConnectToService(
InterfaceRequest<Interface> interface_request,
const std::string& interface_name = Interface::Name_) {
ServiceProviderPtr service_provider;
- shell->ConnectToApplication(application_url, GetProxy(&service_provider),
- nullptr);
+ shell->ConnectToApplication(application_url, GetProxy(&service_provider));
ConnectToService(service_provider.get(), interface_request.Pass(),
interface_name);
}
@@ -54,8 +53,8 @@ inline void ConnectToService(ApplicationConnector* application_connector,
const std::string& application_url,
InterfaceRequest<Interface> request) {
ServiceProviderPtr service_provider;
- application_connector->ConnectToApplication(
- application_url, GetProxy(&service_provider), nullptr);
+ application_connector->ConnectToApplication(application_url,
+ GetProxy(&service_provider));
ConnectToService(service_provider.get(), request.Pass());
}
« no previous file with comments | « mojo/public/cpp/application/application_impl_base.h ('k') | mojo/public/cpp/application/connection_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698