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

Issue 54743003: Mojo: bindings connector (Closed)

Created:
7 years, 1 month ago by darin (slow to review)
Modified:
7 years, 1 month ago
Reviewers:
viettrungluu
CC:
chromium-reviews, Aaron Boodman, viettrungluu+watch_chromium.org, ben+mojo_chromium.org, abarth-chromium
Visibility:
Public.

Description

Adds a class named Connector that connects a MessagePipe to a MessageReceiver. MessageReceiver is the interface used by the generated proxies and stubs to transmit messages. Connector is responsible for reading and writing those messages on a MessagePipe. A Connector "is a" MessageReceiver so that it can accept outbound messages, and "has a" MessageReceiver so it can dispatch incoming messages. R=viettrungluu@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=233372

Patch Set 1 #

Patch Set 2 : Adds terst. #

Patch Set 3 : Cleanup #

Patch Set 4 : Add some comments #

Patch Set 5 : Fix compile errors. #

Patch Set 6 : Fix compile. #

Patch Set 7 : Sans-dependency on MessageLoop #

Patch Set 8 : Update comment about ownership. #

Patch Set 9 : Extract SimpleBindingsSupport #

Total comments: 7

Patch Set 10 : Updates per code review. #

Patch Set 11 : Rebase #

Total comments: 4

Patch Set 12 : Update per review feedback #

Patch Set 13 : Remove errant line from mojo.gyp #

Unified diffs Side-by-side diffs Delta from patch set Stats (+718 lines, -9 lines) Patch
M mojo/mojo.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +10 lines, -0 lines 0 comments Download
A mojo/public/bindings/lib/bindings_support.h View 1 1 chunk +32 lines, -0 lines 0 comments Download
A mojo/public/bindings/lib/bindings_support.cc View 1 2 3 4 5 6 7 8 9 1 chunk +27 lines, -0 lines 0 comments Download
A mojo/public/bindings/lib/connector.h View 1 2 3 4 5 6 7 8 9 1 chunk +75 lines, -0 lines 0 comments Download
A mojo/public/bindings/lib/connector.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +162 lines, -0 lines 0 comments Download
M mojo/public/bindings/lib/message.h View 1 2 3 4 5 6 7 8 9 1 chunk +10 lines, -2 lines 0 comments Download
M mojo/public/bindings/lib/message.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +8 lines, -0 lines 0 comments Download
A mojo/public/bindings/lib/message_queue.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +44 lines, -0 lines 0 comments Download
A mojo/public/bindings/lib/message_queue.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +48 lines, -0 lines 0 comments Download
A mojo/public/tests/bindings_connector_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +175 lines, -0 lines 0 comments Download
A mojo/public/tests/simple_bindings_support.h View 1 2 3 4 5 6 7 8 1 chunk +47 lines, -0 lines 0 comments Download
A mojo/public/tests/simple_bindings_support.cc View 1 2 3 4 5 6 7 8 1 chunk +78 lines, -0 lines 0 comments Download
M mojo/public/tests/test_support.h View 1 1 chunk +0 lines, -2 lines 0 comments Download
M mojo/public/tests/test_support.cc View 1 1 chunk +2 lines, -5 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
darin (slow to review)
7 years, 1 month ago (2013-11-04 23:30:33 UTC) #1
darin (slow to review)
I'll revise the CL description shortly.
7 years, 1 month ago (2013-11-04 23:30:48 UTC) #2
viettrungluu
Just so I understand correctly, this doesn't include a "real" implementation of BindingsSupport (that actually ...
7 years, 1 month ago (2013-11-05 22:45:29 UTC) #3
darin (slow to review)
On Tue, Nov 5, 2013 at 2:45 PM, <viettrungluu@chromium.org> wrote: > Just so I understand ...
7 years, 1 month ago (2013-11-06 05:05:46 UTC) #4
viettrungluu
LGTM w/nits. https://codereview.chromium.org/54743003/diff/650001/mojo/public/bindings/lib/message_queue.h File mojo/public/bindings/lib/message_queue.h (right): https://codereview.chromium.org/54743003/diff/650001/mojo/public/bindings/lib/message_queue.h#newcode13 mojo/public/bindings/lib/message_queue.h:13: class Message; nit: blank line above? https://codereview.chromium.org/54743003/diff/650001/mojo/public/bindings/lib/message_queue.h#newcode21 ...
7 years, 1 month ago (2013-11-06 18:29:33 UTC) #5
darin (slow to review)
On Wed, Nov 6, 2013 at 10:29 AM, <viettrungluu@chromium.org> wrote: > LGTM w/nits. > > ...
7 years, 1 month ago (2013-11-06 18:47:33 UTC) #6
darin (slow to review)
7 years, 1 month ago (2013-11-06 21:23:33 UTC) #7
Message was sent while issue was closed.
Committed patchset #13 manually as r233372 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698