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

Unified Diff: third_party/mojo/src/mojo/public/go/application/connection.go

Issue 1179733005: Update mojo sdk to rev bdbb0c7e396fc4044a8b194058d7a7e529715286 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update CommandBufferImpl (Binding::OnConnectionError is no more) Created 5 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: third_party/mojo/src/mojo/public/go/application/connection.go
diff --git a/third_party/mojo/src/mojo/public/go/application/connection.go b/third_party/mojo/src/mojo/public/go/application/connection.go
index aa9f30beaccea0f7197549bdefd565b495c2fe27..f3be55c9a691443630e02d33e3d7bbfe3ffe38db 100644
--- a/third_party/mojo/src/mojo/public/go/application/connection.go
+++ b/third_party/mojo/src/mojo/public/go/application/connection.go
@@ -56,7 +56,7 @@ type ServiceFactory interface {
type Connection struct {
connectionInfo
// Request for local services. Is valid until ProvideServices is called.
- servicesRequest *sp.ServiceProviderRequest
+ servicesRequest *sp.ServiceProvider_Request
// Indicates that ProvideServices function was already called.
servicesProvided bool
localServices *bindings.Stub
@@ -64,12 +64,12 @@ type Connection struct {
isClosed bool
}
-func newConnection(requestorURL string, services *sp.ServiceProviderRequest, exposedServices *sp.ServiceProviderPointer, resolvedURL string) *Connection {
+func newConnection(requestorURL string, services *sp.ServiceProvider_Request, exposedServices *sp.ServiceProvider_Pointer, resolvedURL string) *Connection {
info := connectionInfo{
requestorURL,
resolvedURL,
}
- var remoteServices *sp.ServiceProviderProxy
+ var remoteServices *sp.ServiceProvider_Proxy
if exposedServices != nil {
remoteServices = sp.NewServiceProviderProxy(*exposedServices, bindings.GetAsyncWaiter())
}
@@ -131,7 +131,7 @@ func (c *Connection) Close() {
c.localServices.Close()
}
if c.outgoingConnection.remoteServices != nil {
- c.outgoingConnection.remoteServices.Close_proxy()
+ c.outgoingConnection.remoteServices.Close_Proxy()
}
c.isClosed = true
}
@@ -141,7 +141,7 @@ func (c *Connection) Close() {
// this |OutgoingConnection|.
type OutgoingConnection struct {
connectionInfo
- remoteServices *sp.ServiceProviderProxy
+ remoteServices *sp.ServiceProvider_Proxy
}
// ConnectToService asks remote application to provide a service through the

Powered by Google App Engine
This is Rietveld 408576698