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

Issue 974153003: Go bindings: Generate a CreateMessagePipeFor{{interface}} helper (Closed)

Created:
5 years, 9 months ago by jamesr
Modified:
5 years, 9 months ago
Reviewers:
rogulenko
CC:
mojo-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
git@github.com:domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Go bindings: Generate a CreateMessagePipeFor{{interface}} helper This allows writing code to generate a typed InterfaceRequest/Pointer pair for a mojom interface like 'examples.Echo' to be written as: r, p := examples.CreateMessagePipeForEcho() proxy := examples.NewEchoProxy(p, bindings.GetAsyncWaiter()) SomethingOrOther(r) instead of calling bindings.CreateMessagePipeForMojoInterface() and casting the returned values to examples.EchoRequest and examples.EchoPointer. R=rogulenko@google.com Committed: https://chromium.googlesource.com/external/mojo/+/1a009635755517dc74dcd44fc9c512c5022d688e

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -0 lines) Patch
M mojo/public/tools/bindings/generators/go_templates/interface.tmpl View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
jamesr
5 years, 9 months ago (2015-03-04 02:05:47 UTC) #1
rogulenko
lgtm
5 years, 9 months ago (2015-03-04 02:39:05 UTC) #2
jamesr
5 years, 9 months ago (2015-03-04 04:53:55 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
1a009635755517dc74dcd44fc9c512c5022d688e (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698