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

Issue 886153003: Reorganize ChannelMojo related flags. (Closed)

Created:
5 years, 10 months ago by Hajime Morrita
Modified:
5 years, 9 months ago
Reviewers:
jam, sky, nasko
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, nasko+codewatch_chromium.org, 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
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reorganize ChannelMojo related flags. As ChannelMojo is turned on by default, this CL do some clenaup around the related switches: * It removes the about:flags entry. This no longer has to be user visible * It moves switches to mojo_channel_switches.h/cc as it does compute subtle decision. I make this public/ so that we can use it from ipc_fuzzer. * It adds --disable-channel-mojo for forcibly disable ChannelMojo usage. We still leave --enable-renderer-channel-mojo because there is still a small change that we turn ChannelMojo off again. Once ChannelMojo is settled, we can safely remove it. BUG=377980 R=nasko@chromium.org, sky@chromium.org Committed: https://crrev.com/97360186f9804cc16e1134a88fdcac8aad8d18c5 Cr-Commit-Position: refs/heads/master@{#314169}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -24 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 chunk +0 lines, -7 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M content/content_common.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M content/public/common/content_switches.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/public/common/content_switches.cc View 1 chunk +0 lines, -4 lines 0 comments Download
A content/public/common/mojo_channel_switches.h View 1 chunk +23 lines, -0 lines 2 comments Download
A content/public/common/mojo_channel_switches.cc View 1 chunk +37 lines, -0 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 2 chunks +1 line, -6 lines 0 comments Download

Messages

Total messages: 15 (2 generated)
Hajime Morrita
5 years, 10 months ago (2015-01-30 23:08:15 UTC) #1
Hajime Morrita
Sky: PTAL at chrome/ ? Nasko: PAL at content/ ? Thanks!
5 years, 10 months ago (2015-01-30 23:17:28 UTC) #2
sky
LGTM
5 years, 10 months ago (2015-01-30 23:46:43 UTC) #3
nasko
LGTM https://codereview.chromium.org/886153003/diff/1/content/public/common/mojo_channel_switches.h File content/public/common/mojo_channel_switches.h (right): https://codereview.chromium.org/886153003/diff/1/content/public/common/mojo_channel_switches.h#newcode12 content/public/common/mojo_channel_switches.h:12: extern const char kEnableRendererMojoChannel[]; Don't you need CONTENT_EXPORT ...
5 years, 10 months ago (2015-02-02 18:14:57 UTC) #4
Hajime Morrita
On 2015/02/02 18:14:57, nasko wrote: > LGTM > > https://codereview.chromium.org/886153003/diff/1/content/public/common/mojo_channel_switches.h > File content/public/common/mojo_channel_switches.h (right): > ...
5 years, 10 months ago (2015-02-02 18:29:51 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/886153003/1
5 years, 10 months ago (2015-02-02 18:31:04 UTC) #7
nasko
On 2015/02/02 18:29:51, morrita wrote: > On 2015/02/02 18:14:57, nasko wrote: > > LGTM > ...
5 years, 10 months ago (2015-02-02 18:33:33 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 10 months ago (2015-02-02 18:35:14 UTC) #9
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/97360186f9804cc16e1134a88fdcac8aad8d18c5 Cr-Commit-Position: refs/heads/master@{#314169}
5 years, 10 months ago (2015-02-02 18:35:56 UTC) #10
Hajime Morrita
On 2015/02/02 18:33:33, nasko wrote: > On 2015/02/02 18:29:51, morrita wrote: > > On 2015/02/02 ...
5 years, 10 months ago (2015-02-02 18:39:20 UTC) #11
jam
https://codereview.chromium.org/886153003/diff/1/content/public/common/mojo_channel_switches.h File content/public/common/mojo_channel_switches.h (right): https://codereview.chromium.org/886153003/diff/1/content/public/common/mojo_channel_switches.h#newcode19 content/public/common/mojo_channel_switches.h:19: bool CONTENT_EXPORT ShouldUseMojoChannel(); this shouldn't be in content/public since ...
5 years, 9 months ago (2015-03-03 21:18:26 UTC) #13
Hajime Morrita
On 2015/03/03 21:18:26, jam wrote: > https://codereview.chromium.org/886153003/diff/1/content/public/common/mojo_channel_switches.h > File content/public/common/mojo_channel_switches.h (right): > > https://codereview.chromium.org/886153003/diff/1/content/public/common/mojo_channel_switches.h#newcode19 > ...
5 years, 9 months ago (2015-03-03 21:25:20 UTC) #14
jam
5 years, 9 months ago (2015-03-04 17:59:42 UTC) #15
Message was sent while issue was closed.
On 2015/03/03 21:25:20, morrita wrote:
> On 2015/03/03 21:18:26, jam wrote:
> >
>
https://codereview.chromium.org/886153003/diff/1/content/public/common/mojo_c...
> > File content/public/common/mojo_channel_switches.h (right):
> > 
> >
>
https://codereview.chromium.org/886153003/diff/1/content/public/common/mojo_c...
> > content/public/common/mojo_channel_switches.h:19: bool CONTENT_EXPORT
> > ShouldUseMojoChannel();
> > this shouldn't be in content/public since nothing in chrome uses it
> ipc_fuzzer uses it but it can be taken as a hack as it is outside chrome?

ah i missed that, ok nvm

Powered by Google App Engine
This is Rietveld 408576698