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

Issue 1409933007: Register a default instance of FeatureList for content browser. (Closed)

Created:
5 years, 1 month ago by Alexei Svitkine (slow)
Modified:
5 years, 1 month ago
Reviewers:
jam
CC:
chromium-reviews, darin-cc_chromium.org, chasej, erikchen
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Register a default instance of FeatureList for content browser. Normally, this is done in chrome_browser_main.cc in Chrome, but given that we can't expect the embedder to necessarily initialize the FeatureList, provide a default one if the embedder didn't. This fixes an error when running Content Shell encountered by CLs starting to use FeatureList, which didn't initialize the FeatureList prior to this CL. BUG=548289 Committed: https://crrev.com/9d96abfb3e5a5f0ed012e9104cf77cd382d2dd47 Cr-Commit-Position: refs/heads/master@{#357437}

Patch Set 1 #

Patch Set 2 : Move logic to FeatureList. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -0 lines) Patch
M base/feature_list.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M base/feature_list.cc View 1 1 chunk +7 lines, -0 lines 0 comments Download
M content/browser/browser_main_loop.cc View 1 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
Alexei Svitkine (slow)
5 years, 1 month ago (2015-10-28 20:12:28 UTC) #4
jam
in general, this isn't a pattern that we use for content/chrome. we prefer to have ...
5 years, 1 month ago (2015-10-29 16:18:02 UTC) #5
Alexei Svitkine (slow)
On 2015/10/29 16:18:02, jam wrote: > in general, this isn't a pattern that we use ...
5 years, 1 month ago (2015-10-29 16:26:39 UTC) #6
Alexei Svitkine (slow)
Would appreciate if we could find a solution to this today. This is blocking a ...
5 years, 1 month ago (2015-10-30 16:46:31 UTC) #7
Alexei Svitkine (slow)
I now moved the logic to inside FeatureList, so it can be considered an implementation ...
5 years, 1 month ago (2015-11-02 16:44:51 UTC) #8
jam
On 2015/11/02 16:44:51, Alexei Svitkine (slow) wrote: > I now moved the logic to inside ...
5 years, 1 month ago (2015-11-02 21:36:35 UTC) #9
Alexei Svitkine (slow)
Thanks! I prefer patchset 2 since it encapsulates the logic in FeatureList code - thanks ...
5 years, 1 month ago (2015-11-02 21:39:19 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1409933007/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1409933007/20001
5 years, 1 month ago (2015-11-02 21:40:53 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 1 month ago (2015-11-02 21:52:17 UTC) #13
commit-bot: I haz the power
5 years, 1 month ago (2015-11-02 21:53:08 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/9d96abfb3e5a5f0ed012e9104cf77cd382d2dd47
Cr-Commit-Position: refs/heads/master@{#357437}

Powered by Google App Engine
This is Rietveld 408576698