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

Issue 1471693007: Make FeatureList override state be plumbed to renderer processes. (Closed)

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

Description

Make FeatureList override state be plumbed to renderer processes. Previously, the browser copied over verbatim the --enable-features and --disable-features command-line. However, this wouldn't have captured overrides as a result of field trials. This change updates the logic to include those in the list. The new logic will continue to work for plumbing command-lines as well, since those are also registered using the override mechanism. Note: There's still some follow-up work that needs to be done to plumb the FieldTrial association state (so that a FieldTrial that's not active will get activated in the renderer if the associated Feature is queried). But this can be supported in a follow-up CL that builds on top of this one. BUG=561077 Committed: https://crrev.com/86340191dcd4ad3ab7e6e4c7500ff9a5a8e9c3b0 Cr-Commit-Position: refs/heads/master@{#362294}

Patch Set 1 : #

Patch Set 2 : Match function order in header file. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -16 lines) Patch
M base/feature_list.h View 1 chunk +7 lines, -0 lines 0 comments Download
M base/feature_list.cc View 1 2 chunks +37 lines, -14 lines 0 comments Download
M base/feature_list_unittest.cc View 3 chunks +29 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 5 chunks +21 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 24 (11 generated)
Alexei Svitkine (slow)
5 years ago (2015-11-25 18:37:50 UTC) #7
Ilya Sherman
Hmm, suppose that a field trial override is registered, but it's only queried from the ...
5 years ago (2015-11-25 22:45:16 UTC) #8
Alexei Svitkine (slow)
On 2015/11/25 22:45:16, Ilya Sherman wrote: > Hmm, suppose that a field trial override is ...
5 years ago (2015-11-26 16:12:55 UTC) #9
Ilya Sherman
On 2015/11/26 16:12:55, Alexei Svitkine (slow) wrote: > On 2015/11/25 22:45:16, Ilya Sherman wrote: > ...
5 years ago (2015-11-26 20:41:53 UTC) #10
Alexei Svitkine (slow)
Done. +jam for content/ OWNERS
5 years ago (2015-11-26 20:44:45 UTC) #13
jam
why isn't this done for all child processes, i.e. in browser_child_process_host_impl.cc as well?
5 years ago (2015-11-30 21:18:54 UTC) #14
Alexei Svitkine (slow)
On 2015/11/30 21:18:54, jam wrote: > why isn't this done for all child processes, i.e. ...
5 years ago (2015-11-30 21:22:15 UTC) #15
Alexei Svitkine (slow)
File http://crbug.com/563705 to do it for all child processes. My preference is to do that ...
5 years ago (2015-11-30 21:25:10 UTC) #16
jam
On 2015/11/30 21:25:10, Alexei Svitkine (slow) wrote: > File http://crbug.com/563705 to do it for all ...
5 years ago (2015-11-30 21:33:02 UTC) #17
Alexei Svitkine (slow)
Thanks!
5 years ago (2015-11-30 21:35:40 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1471693007/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1471693007/100001
5 years ago (2015-11-30 21:39:54 UTC) #20
commit-bot: I haz the power
Committed patchset #2 (id:100001)
5 years ago (2015-12-01 00:45:39 UTC) #22
commit-bot: I haz the power
5 years ago (2015-12-01 00:47:15 UTC) #24
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/86340191dcd4ad3ab7e6e4c7500ff9a5a8e9c3b0
Cr-Commit-Position: refs/heads/master@{#362294}

Powered by Google App Engine
This is Rietveld 408576698