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

Issue 1355613002: Add FeatureList instance to renderers and propgate enable/disable flags. (Closed)

Created:
5 years, 3 months ago by Alexei Svitkine (slow)
Modified:
5 years, 2 months ago
Reviewers:
rkaplow, brettw, jam
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, nasko+codewatch_chromium.org, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add FeatureList instance to renderers and propagate toggles. Changes: - Moves --enable-features/--disable-features flags to content from chrome. - Copies their content when starting renderers. - In renderer_main.cc, creates and registers a FeatureList initialized with those flags. BUG=526169 Committed: https://crrev.com/f10715e245f9ead26f15943b08ea871aa34083af Cr-Commit-Position: refs/heads/master@{#351148}

Patch Set 1 : #

Patch Set 2 : Rebase. #

Patch Set 3 : Remove kDisableFeatures from chrome_switches.h. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -8 lines) Patch
M chrome/common/chrome_switches.h View 1 2 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 chunks +0 lines, -6 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 chunks +2 lines, -0 lines 0 comments Download
M content/public/common/content_switches.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M content/public/common/content_switches.cc View 1 2 chunks +6 lines, -0 lines 0 comments Download
M content/renderer/renderer_main.cc View 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (9 generated)
Alexei Svitkine (slow)
5 years, 3 months ago (2015-09-18 14:59:25 UTC) #3
rkaplow
lgtm
5 years, 3 months ago (2015-09-21 14:22:17 UTC) #4
Alexei Svitkine (slow)
brettw: friendly ping
5 years, 3 months ago (2015-09-21 20:33:26 UTC) #5
brettw
Sorry, spent free time today on the "6 chars crash chrome" bug. Will look Tuesday.
5 years, 3 months ago (2015-09-21 23:13:50 UTC) #6
brettw
Chatted offline and I suggested trying to keep the switch in Chrome by modifying ContentRendererClient ...
5 years, 3 months ago (2015-09-22 20:39:37 UTC) #7
Alexei Svitkine (slow)
+jam I took a look at how we can do this without moving the flag ...
5 years, 3 months ago (2015-09-22 22:13:49 UTC) #9
jam
On 2015/09/22 22:13:49, Alexei Svitkine (slow) wrote: > +jam > > I took a look ...
5 years, 3 months ago (2015-09-23 18:21:39 UTC) #10
Alexei Svitkine (slow)
On 2015/09/23 18:21:39, jam wrote: > On 2015/09/22 22:13:49, Alexei Svitkine (slow) wrote: > > ...
5 years, 3 months ago (2015-09-23 19:32:01 UTC) #11
Alexei Svitkine (slow)
Followed up-offline with jam@. He's ok with the current approach given FeatureList API will be ...
5 years, 2 months ago (2015-09-28 18:07:45 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1355613002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1355613002/20001
5 years, 2 months ago (2015-09-28 18:10:42 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/88414)
5 years, 2 months ago (2015-09-28 19:13:34 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1355613002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1355613002/60001
5 years, 2 months ago (2015-09-28 19:43:45 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/68358) linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, ...
5 years, 2 months ago (2015-09-28 20:09:04 UTC) #21
brettw
rubberstamp lgtm based on jam's review (in case you needed owners for chrome or something)
5 years, 2 months ago (2015-09-28 20:15:10 UTC) #22
Alexei Svitkine (slow)
Hmm, getting some: "Failing build because ninja reported work to do. This means that after ...
5 years, 2 months ago (2015-09-28 20:20:51 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1355613002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1355613002/60001
5 years, 2 months ago (2015-09-28 20:21:46 UTC) #25
commit-bot: I haz the power
Committed patchset #3 (id:60001)
5 years, 2 months ago (2015-09-28 21:07:33 UTC) #26
commit-bot: I haz the power
5 years, 2 months ago (2015-09-28 21:08:30 UTC) #27
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/f10715e245f9ead26f15943b08ea871aa34083af
Cr-Commit-Position: refs/heads/master@{#351148}

Powered by Google App Engine
This is Rietveld 408576698