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

Issue 1766273002: Convert --enable-md-history to a feature flag. (Closed)

Created:
4 years, 9 months ago by ddoman
Modified:
4 years, 9 months ago
CC:
chromium-reviews, 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

Convert --enable-md-history to a feature flag. The Material Design history flag (#enable-md-history) uses the old-style UI with only an enable/disable button. It should have a drop-down with "Default", "Enable", "Disable" like all new feature flags. BUG=586340 Committed: https://crrev.com/61ec142f0ff743e3f98a1e4ad7ea9d3baa42d75b Cr-Commit-Position: refs/heads/master@{#381662}

Patch Set 1 #

Patch Set 2 : Added a fix for a browser test failure. #

Patch Set 3 : update tests to use the new feature flags instead of the existing #

Total comments: 3

Patch Set 4 : Move a feature override for kMaterialDesignHistoryFeature from SetUpCommandLine() to the inner scop… #

Total comments: 1

Patch Set 5 : Removed MdHistoryEnbabled(). Moved kMaterialDesignHistoryFeature from switches to features #

Patch Set 6 : resolve merge conflicts #

Patch Set 7 : updated the name of kMaterialDesignHistoryFeature to Fix a unit-test failure. #

Total comments: 2

Patch Set 8 : Removed an unnecessary header file #include #

Patch Set 9 : Sync to the latest update and resolve a merge conflict #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -18 lines) Patch
M chrome/browser/about_flags.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/browser_about_handler.cc View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/uber/uber_ui.cc View 1 2 3 4 2 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/uber/uber_ui_browsertest.cc View 1 2 3 4 2 chunks +8 lines, -2 lines 0 comments Download
M chrome/common/chrome_features.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_features.cc View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -8 lines 0 comments Download
M chrome/test/data/webui/md_history/md_history_browsertest.js View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 34 (14 generated)
ddoman
4 years, 9 months ago (2016-03-07 23:19:00 UTC) #2
tsergeant
First review pass https://codereview.chromium.org/1766273002/diff/40001/chrome/common/chrome_switches.cc File chrome/common/chrome_switches.cc (right): https://codereview.chromium.org/1766273002/diff/40001/chrome/common/chrome_switches.cc#newcode695 chrome/common/chrome_switches.cc:695: // Enables or disables the Material ...
4 years, 9 months ago (2016-03-10 02:44:30 UTC) #3
ddoman
Hey Tim, I made additional patches to fix unit-test failures and to isolate the impact ...
4 years, 9 months ago (2016-03-10 04:46:05 UTC) #4
ddoman
On 2016/03/10 04:46:05, ddoman wrote: > Hey Tim, > > I made additional patches to ...
4 years, 9 months ago (2016-03-10 04:47:18 UTC) #5
tsergeant
I mailed out some more comments earlier this afternoon https://codereview.chromium.org/1766273002/diff/60001/chrome/browser/ui/webui/uber/uber_ui_browsertest.cc File chrome/browser/ui/webui/uber/uber_ui_browsertest.cc (right): https://codereview.chromium.org/1766273002/diff/60001/chrome/browser/ui/webui/uber/uber_ui_browsertest.cc#newcode96 chrome/browser/ui/webui/uber/uber_ui_browsertest.cc:96: ...
4 years, 9 months ago (2016-03-10 05:23:35 UTC) #6
tsergeant
lgtm with one nit https://codereview.chromium.org/1766273002/diff/120001/chrome/common/chrome_switches.h File chrome/common/chrome_switches.h (right): https://codereview.chromium.org/1766273002/diff/120001/chrome/common/chrome_switches.h#newcode11 chrome/common/chrome_switches.h:11: #include "base/feature_list.h" Nit: Remove this ...
4 years, 9 months ago (2016-03-11 04:48:38 UTC) #7
ddoman
Hi Lei, I am wondering if you can take a look at this CL and ...
4 years, 9 months ago (2016-03-11 06:03:00 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1766273002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1766273002/140001
4 years, 9 months ago (2016-03-14 05:19:55 UTC) #11
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_dbg_simulator_gn on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_gn/builds/4039) ios_dbg_simulator_ninja on ...
4 years, 9 months ago (2016-03-14 05:21:28 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1766273002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1766273002/160001
4 years, 9 months ago (2016-03-14 06:48:41 UTC) #15
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-14 08:33:04 UTC) #17
Lei Zhang
+dbeam since I'm Out Of Office. BTW, why has https://crbug.com/585340 which this CL references, been ...
4 years, 9 months ago (2016-03-16 23:11:47 UTC) #19
ddoman
On 2016/03/16 23:11:47, Lei Zhang (OOO) wrote: > +dbeam since I'm Out Of Office. > ...
4 years, 9 months ago (2016-03-17 00:25:46 UTC) #21
Dan Beam
lgtm
4 years, 9 months ago (2016-03-17 01:40:54 UTC) #22
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1766273002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1766273002/160001
4 years, 9 months ago (2016-03-17 01:49:02 UTC) #24
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-17 03:07:22 UTC) #26
Lei Zhang
On 2016/03/17 01:40:54, Dan Beam wrote: > lgtm rs lgtm
4 years, 9 months ago (2016-03-17 04:37:59 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1766273002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1766273002/160001
4 years, 9 months ago (2016-03-17 04:59:16 UTC) #30
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 9 months ago (2016-03-17 05:03:52 UTC) #32
commit-bot: I haz the power
4 years, 9 months ago (2016-03-17 05:05:21 UTC) #34
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/61ec142f0ff743e3f98a1e4ad7ea9d3baa42d75b
Cr-Commit-Position: refs/heads/master@{#381662}

Powered by Google App Engine
This is Rietveld 408576698