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

Unified Diff: mojo/public/go/application/application_impl.go

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
« no previous file with comments | « mojo/public/cpp/application/lib/application_test_base.cc ('k') | mojo/public/go/application/connection.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/go/application/application_impl.go
diff --git a/mojo/public/go/application/application_impl.go b/mojo/public/go/application/application_impl.go
index 9fc09f7d01ab50420941c435bda21b476e9077a4..2ae4f979b43751690100121c6eedd643ea40383d 100644
--- a/mojo/public/go/application/application_impl.go
+++ b/mojo/public/go/application/application_impl.go
@@ -101,7 +101,7 @@ func (impl *ApplicationImpl) Initialize(shellPointer shell.Shell_Pointer, args *
}
// Mojo application implementation.
-func (impl *ApplicationImpl) AcceptConnection(requestorURL string, services *sp.ServiceProvider_Request, exposedServices *sp.ServiceProvider_Pointer, resolvedURL string) error {
+func (impl *ApplicationImpl) AcceptConnection(requestorURL string, resolvedURL string, services sp.ServiceProvider_Request) error {
connection := newConnection(requestorURL, services, resolvedURL)
impl.delegate.AcceptConnection(connection)
impl.addConnection(connection)
@@ -136,7 +136,7 @@ func (impl *ApplicationImpl) Args() []string {
// Context implementaion.
func (impl *ApplicationImpl) ConnectToApplication(remoteURL string) *OutgoingConnection {
servicesRequest, servicesPointer := sp.CreateMessagePipeForServiceProvider()
- if err := impl.shell.ConnectToApplication(remoteURL, &servicesRequest, nil); err != nil {
+ if err := impl.shell.ConnectToApplication(remoteURL, servicesRequest); err != nil {
log.Printf("can't connect to %v: %v", remoteURL, err)
// In case of error message pipes sent through Shell are closed and
// the connection will work as if the remote application closed
« no previous file with comments | « mojo/public/cpp/application/lib/application_test_base.cc ('k') | mojo/public/go/application/connection.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698