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

Issue 2146903002: Clean-up the code for default variations in chrome://flags. (Closed)

Created:
4 years, 5 months ago by jkrcal
Modified:
4 years, 5 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

Clean-up the code for default variations in chrome://flags. The CL 2129543002 introduced an option to override variation parameters using a feature in chrome://flags. The list of options for the given feature always includes "Default", "Enabled", and "Disabled". Even though the semantics of "Enabled" was meant as 'enabled with the default parameter values', the API forced to specify the variation for "Enabled" as well. This is unnecessarily cumbersome and confusing. This CL makes the "Enabled" option completely automatic - no need to specify its variation any more. BUG=609059 Committed: https://crrev.com/05f7ce3363a189c35495863316bb8c1aed91b8c8 Cr-Commit-Position: refs/heads/master@{#405190}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Alexei's comment. #

Patch Set 3 : iOS test crash fix? #

Patch Set 4 : iOS test crash fix? #2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -35 lines) Patch
M chrome/browser/about_flags.cc View 2 chunks +0 lines, -4 lines 0 comments Download
M components/flags_ui/feature_entry.h View 1 chunk +6 lines, -4 lines 0 comments Download
M components/flags_ui/feature_entry.cc View 1 2 chunks +6 lines, -6 lines 0 comments Download
M components/flags_ui/feature_entry_macros.h View 1 chunk +1 line, -1 line 0 comments Download
M components/flags_ui/flags_state.cc View 2 chunks +11 lines, -7 lines 0 comments Download
M components/flags_ui/flags_state_unittest.cc View 1 2 3 5 chunks +23 lines, -13 lines 0 comments Download

Messages

Total messages: 16 (10 generated)
jkrcal
Alexei, PTAL. (This is my last CL to you in the current sequence, I promise ...
4 years, 5 months ago (2016-07-13 14:00:49 UTC) #4
Alexei Svitkine (slow)
lgtm https://codereview.chromium.org/2146903002/diff/1/components/flags_ui/feature_entry.cc File components/flags_ui/feature_entry.cc (right): https://codereview.chromium.org/2146903002/diff/1/components/flags_ui/feature_entry.cc#newcode46 components/flags_ui/feature_entry.cc:46: // First two options do not correspond to ...
4 years, 5 months ago (2016-07-13 14:07:13 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2146903002/60001
4 years, 5 months ago (2016-07-13 16:36:59 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 5 months ago (2016-07-13 16:42:26 UTC) #13
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-13 16:42:43 UTC) #14
commit-bot: I haz the power
4 years, 5 months ago (2016-07-13 16:44:18 UTC) #16
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/05f7ce3363a189c35495863316bb8c1aed91b8c8
Cr-Commit-Position: refs/heads/master@{#405190}

Powered by Google App Engine
This is Rietveld 408576698