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

Issue 1484483002: Plumb base::Feature field trial association to renderers. (Closed)

Created:
5 years ago by Alexei Svitkine (slow)
Modified:
5 years ago
Reviewers:
Ilya Sherman
CC:
chromium-reviews, vmpstr+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@ownz
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Plumb base::Feature field trial association to renderers. This CL makes the FeatureList command-line initialization code support an optional FieldTrial name for each feature that will be associated with the feature override when specified. Also changes the code that generates this command-line to also include this name. With this change, renderers will be launched with this association specified on the command-line, so that querying a Feature in the renderer only that's associated with a field trial will result in that trial being activated (and sync'd with the browser process by the existing mechanism). Depends on: https://codereview.chromium.org/1471693007 BUG=561077 Committed: https://crrev.com/b2e44d8215dd9d4ed6316c6696b576cf77cb363c Cr-Commit-Position: refs/heads/master@{#362343}

Patch Set 1 : #

Total comments: 4

Patch Set 2 : Address nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -20 lines) Patch
M base/feature_list.h View 5 chunks +18 lines, -5 lines 0 comments Download
M base/feature_list.cc View 1 6 chunks +51 lines, -14 lines 0 comments Download
M base/feature_list_unittest.cc View 1 chunk +14 lines, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 18 (12 generated)
Alexei Svitkine (slow)
5 years ago (2015-11-30 18:39:28 UTC) #9
Ilya Sherman
LGTM, thanks. https://codereview.chromium.org/1484483002/diff/100001/base/feature_list.cc File base/feature_list.cc (right): https://codereview.chromium.org/1484483002/diff/100001/base/feature_list.cc#newcode27 base/feature_list.cc:27: // are used in command-line API functions ...
5 years ago (2015-11-30 18:54:40 UTC) #10
Alexei Svitkine (slow)
https://codereview.chromium.org/1484483002/diff/100001/base/feature_list.cc File base/feature_list.cc (right): https://codereview.chromium.org/1484483002/diff/100001/base/feature_list.cc#newcode27 base/feature_list.cc:27: // are used in command-line API functions that require ...
5 years ago (2015-11-30 19:44:35 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1484483002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1484483002/120001
5 years ago (2015-12-01 03:29:08 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:120001)
5 years ago (2015-12-01 04:10:35 UTC) #16
commit-bot: I haz the power
5 years ago (2015-12-01 04:11:13 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/b2e44d8215dd9d4ed6316c6696b576cf77cb363c
Cr-Commit-Position: refs/heads/master@{#362343}

Powered by Google App Engine
This is Rietveld 408576698