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

Unified Diff: third_party/mojo/src/mojo/public/go/application/application_impl.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/application_impl.go
diff --git a/third_party/mojo/src/mojo/public/go/application/application_impl.go b/third_party/mojo/src/mojo/public/go/application/application_impl.go
index ac6fc75e39cc18b741a34be123225d11d24aeb50..5effa7f06232566fe9bdb9019fc473e49198ae2b 100644
--- a/third_party/mojo/src/mojo/public/go/application/application_impl.go
+++ b/third_party/mojo/src/mojo/public/go/application/application_impl.go
@@ -55,7 +55,7 @@ type Context interface {
// ApplicationImpl is an utility class for communicating with the Shell, and
// providing Services to clients.
type ApplicationImpl struct {
- shell *shell.ShellProxy
+ shell *shell.Shell_Proxy
args []string
url string
// Pointer to the stub that runs this instance of ApplicationImpl.
@@ -73,7 +73,7 @@ type ApplicationImpl struct {
// until the application is terminated.
func Run(delegate Delegate, applicationRequest system.MojoHandle) {
messagePipe := system.GetCore().AcquireNativeHandle(applicationRequest).ToMessagePipeHandle()
- appRequest := application.ApplicationRequest{bindings.NewMessagePipeHandleOwner(messagePipe)}
+ appRequest := application.Application_Request{bindings.NewMessagePipeHandleOwner(messagePipe)}
impl := &ApplicationImpl{
delegate: delegate,
}
@@ -92,7 +92,7 @@ func Run(delegate Delegate, applicationRequest system.MojoHandle) {
}
// Mojo application implementation.
-func (impl *ApplicationImpl) Initialize(shellPointer shell.ShellPointer, args *[]string, url string) error {
+func (impl *ApplicationImpl) Initialize(shellPointer shell.Shell_Pointer, args *[]string, url string) error {
impl.shell = shell.NewShellProxy(shellPointer, bindings.GetAsyncWaiter())
if args != nil {
impl.args = *args
@@ -103,7 +103,7 @@ func (impl *ApplicationImpl) Initialize(shellPointer shell.ShellPointer, args *[
}
// Mojo application implementation.
-func (impl *ApplicationImpl) AcceptConnection(requestorURL string, services *sp.ServiceProviderRequest, exposedServices *sp.ServiceProviderPointer, resolvedURL string) error {
+func (impl *ApplicationImpl) AcceptConnection(requestorURL string, services *sp.ServiceProvider_Request, exposedServices *sp.ServiceProvider_Pointer, resolvedURL string) error {
connection := newConnection(requestorURL, services, exposedServices, resolvedURL)
impl.delegate.AcceptConnection(connection)
impl.addConnection(connection)
@@ -119,7 +119,7 @@ func (impl *ApplicationImpl) RequestQuit() error {
c.Close()
}
impl.mu.Unlock()
- impl.shell.Close_proxy()
+ impl.shell.Close_Proxy()
impl.runner.Close()
})
return nil
« no previous file with comments | « third_party/mojo/src/mojo/public/dart/rules.gni ('k') | third_party/mojo/src/mojo/public/go/application/connection.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698