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

Issue 1805653003: Add support for MojoChannel field trial (Closed)

Created:
4 years, 9 months ago by Ken Rockot(use gerrit already)
Modified:
4 years, 8 months ago
Reviewers:
jam, Will Harris
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, chromium-reviews, creis+watch_chromium.org, darin (slow to review), darin-cc_chromium.org, jam, nasko+codewatch_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add support for MojoChannel field trial This adds support for the upcoming MojoChannel field trial. It also simplifies the logic around enabling Mojo channel in general, getting rid of compile-time overrides and instead controlling the feature only at runtime via a single flag or (in the absence of said flag) the field trial. BUG=595082 R=jam@chromium.org Committed: https://crrev.com/b0abbd20ecfc1b84f7570ee7f5df100f043010e8 Cr-Commit-Position: refs/heads/master@{#381490}

Patch Set 1 #

Total comments: 2

Patch Set 2 : nit #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -28 lines) Patch
M content/browser/renderer_host/render_process_host_impl.cc View 3 chunks +1 line, -2 lines 0 comments Download
M content/public/common/mojo_channel_switches.h View 1 chunk +1 line, -2 lines 0 comments Download
M content/public/common/mojo_channel_switches.cc View 1 1 chunk +17 lines, -14 lines 1 comment Download
M ipc/mojo/ipc_channel_mojo.h View 1 chunk +0 lines, -3 lines 0 comments Download
M ipc/mojo/ipc_channel_mojo.cc View 1 chunk +0 lines, -7 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
Ken Rockot(use gerrit already)
The actual experiment is still awaiting launch approval but here's the client-side change.
4 years, 9 months ago (2016-03-15 22:17:01 UTC) #1
jam
lgtm https://codereview.chromium.org/1805653003/diff/1/content/public/common/mojo_channel_switches.cc File content/public/common/mojo_channel_switches.cc (right): https://codereview.chromium.org/1805653003/diff/1/content/public/common/mojo_channel_switches.cc#newcode32 content/public/common/mojo_channel_switches.cc:32: // the Mojo channel. nit: no need for ...
4 years, 9 months ago (2016-03-15 22:50:48 UTC) #2
Ken Rockot(use gerrit already)
https://codereview.chromium.org/1805653003/diff/1/content/public/common/mojo_channel_switches.cc File content/public/common/mojo_channel_switches.cc (right): https://codereview.chromium.org/1805653003/diff/1/content/public/common/mojo_channel_switches.cc#newcode32 content/public/common/mojo_channel_switches.cc:32: // the Mojo channel. On 2016/03/15 at 22:50:47, jam ...
4 years, 9 months ago (2016-03-15 22:54:07 UTC) #3
Ken Rockot(use gerrit already)
I'm going to land this since the switch is useful and the field trial is ...
4 years, 9 months ago (2016-03-16 15:32:31 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1805653003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1805653003/20001
4 years, 9 months ago (2016-03-16 15:32:46 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-03-16 17:50:47 UTC) #8
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/b0abbd20ecfc1b84f7570ee7f5df100f043010e8 Cr-Commit-Position: refs/heads/master@{#381490}
4 years, 9 months ago (2016-03-16 17:53:31 UTC) #10
Will Harris
4 years, 8 months ago (2016-04-15 16:59:54 UTC) #12
Message was sent while issue was closed.
https://codereview.chromium.org/1805653003/diff/20001/content/public/common/m...
File content/public/common/mojo_channel_switches.cc (right):

https://codereview.chromium.org/1805653003/diff/20001/content/public/common/m...
content/public/common/mojo_channel_switches.cc:36:
base::FieldTrialList::FindFullName(kMojoChannelExperimentName);
the query to FindFullName should always take place, otherwise some clients will
not be placed in any experiment group, and your data will be wrong.

Powered by Google App Engine
This is Rietveld 408576698