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

Issue 1408783002: Support base::Feature entries in chrome://flags. (Closed)

Created:
5 years, 2 months ago by Alexei Svitkine (slow)
Modified:
5 years, 2 months ago
Reviewers:
Nico
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Support base::Feature entries in chrome://flags. Since base::Features already support toggling via --enable-features= and --disable-features= flags, integrate with those. Changes some if statements on FeatureEntry.type to be switch statements so that future changes to the enum without updating them result in compile errors. BUG=544158 Committed: https://crrev.com/03007d04e150b30cfe62ab26a7ed47f71c2a79c2 Cr-Commit-Position: refs/heads/master@{#355419}

Patch Set 1 : #

Patch Set 2 : Fix Windows compile issue #

Patch Set 3 : Another win compile fix. #

Total comments: 10

Patch Set 4 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+492 lines, -215 lines) Patch
M base/feature_list.h View 3 chunks +6 lines, -1 line 0 comments Download
M base/feature_list.cc View 2 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/about_flags.h View 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 17 chunks +272 lines, -97 lines 0 comments Download
M chrome/browser/about_flags_unittest.cc View 1 16 chunks +196 lines, -108 lines 0 comments Download
M chrome/browser/profiles/profile_window.cc View 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 15 (9 generated)
Alexei Svitkine (slow)
Hey Nico, Please take a look. Sorry, this change is a little bit on the ...
5 years, 2 months ago (2015-10-20 18:45:13 UTC) #8
Nico
lgtm, seems reasonable I don't know much about FeatureList though. https://codereview.chromium.org/1408783002/diff/160001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/1408783002/diff/160001/chrome/browser/about_flags.cc#newcode87 ...
5 years, 2 months ago (2015-10-21 20:45:35 UTC) #9
Alexei Svitkine (slow)
Thanks! https://codereview.chromium.org/1408783002/diff/160001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/1408783002/diff/160001/chrome/browser/about_flags.cc#newcode87 chrome/browser/about_flags.cc:87: // Macros to simplify specifying the type. On ...
5 years, 2 months ago (2015-10-21 21:37:00 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1408783002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1408783002/180001
5 years, 2 months ago (2015-10-21 21:37:49 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:180001)
5 years, 2 months ago (2015-10-21 22:50:15 UTC) #14
commit-bot: I haz the power
5 years, 2 months ago (2015-10-21 22:51:08 UTC) #15
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/03007d04e150b30cfe62ab26a7ed47f71c2a79c2
Cr-Commit-Position: refs/heads/master@{#355419}

Powered by Google App Engine
This is Rietveld 408576698