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

Unified Diff: mojo/go/tests/application_impl_test.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/dart/packages/mojo/lib/src/application.dart ('k') | mojo/gpu/gl_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/go/tests/application_impl_test.go
diff --git a/mojo/go/tests/application_impl_test.go b/mojo/go/tests/application_impl_test.go
index 5c8321fce625b4e12352e93dbf40b5d90467f2cf..791a11a709d328feabcc8432dc20c0bdf7452338 100644
--- a/mojo/go/tests/application_impl_test.go
+++ b/mojo/go/tests/application_impl_test.go
@@ -111,11 +111,11 @@ type shellImpl struct {
localURL string
}
-func (s *shellImpl) ConnectToApplication(URL string, services *sp.ServiceProvider_Request, exposedServices *sp.ServiceProvider_Pointer) error {
+func (s *shellImpl) ConnectToApplication(URL string, services sp.ServiceProvider_Request) error {
if URL != pairedURL(s.localURL) {
return fmt.Errorf("invalid URL: want %v, got %v", pairedURL(s.localURL), URL)
}
- s.remoteApp.AcceptConnection(s.localURL, services, exposedServices, pairedURL(s.localURL))
+ s.remoteApp.AcceptConnection(s.localURL, pairedURL(s.localURL), services)
return nil
}
« no previous file with comments | « mojo/dart/packages/mojo/lib/src/application.dart ('k') | mojo/gpu/gl_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698