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

Issue 665993002: ChannelMojo: Add ChannelMojo::CanBeUsed() to enable it incrementally (Closed)

Created:
6 years, 2 months ago by Hajime Morrita
Modified:
6 years, 2 months ago
Reviewers:
viettrungluu, nasko
CC:
chromium-reviews, creis+watch_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, nasko+codewatch_chromium.org, jam, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

ChannelMojo: Add ChannelMojo::CanBeUsed() to enable it incrementally ChannelMojo::CanBeUsed() let the code enable the feature for specific platform regardless of the command line switch. TEST=none R=viettrungluu@chromium.org BUG=377980 Committed: https://crrev.com/49ca46d9a1b8e03b28b1925ce7e9bdb96149f46f Cr-Commit-Position: refs/heads/master@{#300394}

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -2 lines) Patch
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M ipc/mojo/ipc_channel_mojo.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M ipc/mojo/ipc_channel_mojo.cc View 1 2 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (2 generated)
Hajime Morrita
6 years, 2 months ago (2014-10-20 19:46:28 UTC) #1
viettrungluu
I find the interface of ChannelMojo::ShouldBeUsed() rather odd: it checks a command-line switch whose name ...
6 years, 2 months ago (2014-10-20 20:19:59 UTC) #2
Hajime Morrita
Thanks for the review Trung! PTAL? Nasko: Could you rubberstamp content/ change? On 2014/10/20 20:19:59, ...
6 years, 2 months ago (2014-10-20 21:05:59 UTC) #4
viettrungluu
https://codereview.chromium.org/665993002/diff/20001/content/browser/renderer_host/render_process_host_impl.cc File content/browser/renderer_host/render_process_host_impl.cc (right): https://codereview.chromium.org/665993002/diff/20001/content/browser/renderer_host/render_process_host_impl.cc#newcode651 content/browser/renderer_host/render_process_host_impl.cc:651: return command_line.HasSwitch(switches::kEnableRendererMojoChannel) || Should this be "&&" instead of ...
6 years, 2 months ago (2014-10-20 21:50:12 UTC) #5
Hajime Morrita
PTAL? https://codereview.chromium.org/665993002/diff/20001/content/browser/renderer_host/render_process_host_impl.cc File content/browser/renderer_host/render_process_host_impl.cc (right): https://codereview.chromium.org/665993002/diff/20001/content/browser/renderer_host/render_process_host_impl.cc#newcode651 content/browser/renderer_host/render_process_host_impl.cc:651: return command_line.HasSwitch(switches::kEnableRendererMojoChannel) || On 2014/10/20 21:50:11, viettrungluu wrote: ...
6 years, 2 months ago (2014-10-20 23:06:50 UTC) #6
nasko
content/ LGTM
6 years, 2 months ago (2014-10-20 23:56:44 UTC) #7
viettrungluu
lgtm
6 years, 2 months ago (2014-10-21 00:08:58 UTC) #8
Hajime Morrita
Thank you folks!
6 years, 2 months ago (2014-10-21 00:32:41 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/665993002/40001
6 years, 2 months ago (2014-10-21 00:34:34 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
6 years, 2 months ago (2014-10-21 01:16:54 UTC) #12
commit-bot: I haz the power
6 years, 2 months ago (2014-10-21 01:18:12 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/49ca46d9a1b8e03b28b1925ce7e9bdb96149f46f
Cr-Commit-Position: refs/heads/master@{#300394}

Powered by Google App Engine
This is Rietveld 408576698