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

Issue 525383002: MessageReceiver must handle Message and not MessageWithHeader. (Closed)

Created:
6 years, 3 months ago by qsr
Modified:
6 years, 3 months ago
Reviewers:
ppi
CC:
chromium-reviews, 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:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

MessageReceiver must handle Message and not MessageWithHeader. MessageReceiver were given MessageWithHeader. This is incorrect as this force validation code at the Connector level, while Connector should not impose any format on the message it receives. R=ppi@chromium.org Committed: https://crrev.com/65eb66aa78631a7d633cf32e175f45ccdfda0b55 Cr-Commit-Position: refs/heads/master@{#292888}

Patch Set 1 #

Total comments: 12

Patch Set 2 : Follow review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+242 lines, -262 lines) Patch
M mojo/android/javatests/src/org/chromium/mojo/bindings/BindingsTestUtils.java View 1 3 chunks +8 lines, -9 lines 0 comments Download
M mojo/android/javatests/src/org/chromium/mojo/bindings/ConnectorTest.java View 3 chunks +6 lines, -6 lines 0 comments Download
D mojo/android/javatests/src/org/chromium/mojo/bindings/MessageWithHeaderTest.java View 1 chunk +0 lines, -109 lines 0 comments Download
A + mojo/android/javatests/src/org/chromium/mojo/bindings/ReadAndDispatchMessageTest.java View 1 3 chunks +14 lines, -14 lines 0 comments Download
M mojo/android/javatests/src/org/chromium/mojo/bindings/RouterTest.java View 1 3 chunks +12 lines, -14 lines 0 comments Download
M mojo/public/java/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M mojo/public/java/bindings/src/org/chromium/mojo/bindings/AutoCloseableRouter.java View 1 chunk +4 lines, -4 lines 0 comments Download
M mojo/public/java/bindings/src/org/chromium/mojo/bindings/Connector.java View 1 4 chunks +30 lines, -6 lines 0 comments Download
M mojo/public/java/bindings/src/org/chromium/mojo/bindings/Decoder.java View 12 chunks +23 lines, -24 lines 0 comments Download
M mojo/public/java/bindings/src/org/chromium/mojo/bindings/Encoder.java View 1 chunk +1 line, -1 line 0 comments Download
M mojo/public/java/bindings/src/org/chromium/mojo/bindings/Message.java View 1 1 chunk +11 lines, -15 lines 0 comments Download
M mojo/public/java/bindings/src/org/chromium/mojo/bindings/MessageReceiver.java View 1 chunk +1 line, -1 line 0 comments Download
M mojo/public/java/bindings/src/org/chromium/mojo/bindings/MessageReceiverWithResponder.java View 1 chunk +4 lines, -4 lines 0 comments Download
M mojo/public/java/bindings/src/org/chromium/mojo/bindings/MessageWithHeader.java View 1 3 chunks +31 lines, -36 lines 0 comments Download
M mojo/public/java/bindings/src/org/chromium/mojo/bindings/RouterImpl.java View 1 4 chunks +13 lines, -11 lines 0 comments Download
A mojo/public/java/bindings/src/org/chromium/mojo/bindings/SimpleMessage.java View 1 1 chunk +71 lines, -0 lines 0 comments Download
M mojo/public/tools/bindings/generators/java_templates/interface_definition.tmpl View 1 4 chunks +12 lines, -8 lines 0 comments Download

Messages

Total messages: 8 (1 generated)
qsr
6 years, 3 months ago (2014-09-01 13:48:00 UTC) #1
ppi
A few remarks regarding naming. These are about existing code, so, as discussed in person, ...
6 years, 3 months ago (2014-09-01 14:33:11 UTC) #2
qsr
https://codereview.chromium.org/525383002/diff/1/mojo/android/javatests/src/org/chromium/mojo/bindings/BindingsTestUtils.java File mojo/android/javatests/src/org/chromium/mojo/bindings/BindingsTestUtils.java (right): https://codereview.chromium.org/525383002/diff/1/mojo/android/javatests/src/org/chromium/mojo/bindings/BindingsTestUtils.java#newcode50 mojo/android/javatests/src/org/chromium/mojo/bindings/BindingsTestUtils.java:50: * MessageReceiver) On 2014/09/01 14:33:10, ppi wrote: > nit: ...
6 years, 3 months ago (2014-09-01 15:55:40 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/qsr@chromium.org/525383002/20001
6 years, 3 months ago (2014-09-01 15:57:10 UTC) #5
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_x64_rel_swarming on tryserver.chromium.win ...
6 years, 3 months ago (2014-09-01 16:51:26 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001) as f2c5dac7ba82889ce9567ea21e130ad1d7c87b99
6 years, 3 months ago (2014-09-01 17:32:10 UTC) #7
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:17:22 UTC) #8
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/65eb66aa78631a7d633cf32e175f45ccdfda0b55
Cr-Commit-Position: refs/heads/master@{#292888}

Powered by Google App Engine
This is Rietveld 408576698