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

Issue 2749853003: Making the Mojo Channel Messages legacy mode dynamic. (Closed)

Created:
3 years, 9 months ago by Jay Civelli
Modified:
3 years, 9 months ago
CC:
Aaron Boodman, abarth-chromium, chromium-reviews, darin (slow to review), darin-cc_chromium.org, jam, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Making the Mojo Channel Messages legacy mode dynamic. The mojo::edk::Channel::Message class uses a compile flag to determine whether to use the legacy or normal mode (legacy mode is used to keep backward compatibility between Arc++ and ChromeOS). Making that flag dynamically set on the embedder so that the default is now normal mode on Android. This is going to be used for adding Parcelable support on mojo Android (where we'll need the normal Message's header to include the parcelables). BUG=699311 Review-Url: https://codereview.chromium.org/2749853003 Cr-Commit-Position: refs/heads/master@{#457549} Committed: https://chromium.googlesource.com/chromium/src/+/f2be81a465a7b2ef07b3667f83de1009206acace

Patch Set 1 : Making the Mojo Channel Messages legacy mode dynamic. #

Total comments: 4

Patch Set 2 : Addressed rockot@'s comments. #

Patch Set 3 : Fixed tests. #

Patch Set 4 : Fixed NaCl browser test failures. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -9 lines) Patch
M mojo/edk/embedder/embedder.h View 1 chunk +7 lines, -0 lines 0 comments Download
M mojo/edk/embedder/embedder.cc View 1 2 3 3 chunks +8 lines, -1 line 0 comments Download
M mojo/edk/system/channel.h View 1 chunk +1 line, -1 line 0 comments Download
M mojo/edk/system/channel.cc View 1 4 chunks +14 lines, -7 lines 0 comments Download

Messages

Total messages: 32 (23 generated)
Jay Civelli
3 years, 9 months ago (2017-03-15 01:00:34 UTC) #7
Ken Rockot(use gerrit already)
https://codereview.chromium.org/2749853003/diff/60001/mojo/edk/system/channel.cc File mojo/edk/system/channel.cc (right): https://codereview.chromium.org/2749853003/diff/60001/mojo/edk/system/channel.cc#newcode399 mojo/edk/system/channel.cc:399: g_use_legacy_protocol = use_legacy_protocol; nit: Let's add a DCHECK(!internal::g_core) to ...
3 years, 9 months ago (2017-03-15 17:59:31 UTC) #11
Jay Civelli
https://codereview.chromium.org/2749853003/diff/60001/mojo/edk/system/channel.cc File mojo/edk/system/channel.cc (right): https://codereview.chromium.org/2749853003/diff/60001/mojo/edk/system/channel.cc#newcode399 mojo/edk/system/channel.cc:399: g_use_legacy_protocol = use_legacy_protocol; On 2017/03/15 17:59:31, Ken Rockot wrote: ...
3 years, 9 months ago (2017-03-15 18:14:10 UTC) #13
Ken Rockot(use gerrit already)
lgtm
3 years, 9 months ago (2017-03-15 18:17:18 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2749853003/120001
3 years, 9 months ago (2017-03-16 17:46:41 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/410419)
3 years, 9 months ago (2017-03-16 19:34:47 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2749853003/120001
3 years, 9 months ago (2017-03-16 20:02:39 UTC) #28
commit-bot: I haz the power
Committed patchset #4 (id:120001) as https://chromium.googlesource.com/chromium/src/+/f2be81a465a7b2ef07b3667f83de1009206acace
3 years, 9 months ago (2017-03-16 21:05:00 UTC) #31
Jay Civelli
3 years, 9 months ago (2017-03-21 00:07:13 UTC) #32
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:120001) has been created in
https://codereview.chromium.org/2765673002/ by jcivelli@chromium.org.

The reason for reverting is: Breaks the Chrome PFQ bot. Will need to sync with a
change to the Arc++ code before landing this..

Powered by Google App Engine
This is Rietveld 408576698