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

Issue 1159433002: Switch nomenclature in about_flags.cc to not use "Experiments". (Closed)

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

Description

Switch nomenclature in about_flags.cc to not use "Experiments". Renames about_flags::Experiment to about_flags::Entry and updates associated function names and comments. Also fixes AboutFlagsTest.NoSeparators, which previously only ever checked the first entry. CLOSED, superseded by: https://codereview.chromium.org/1407753002/ BUG=490840

Patch Set 1 : #

Patch Set 2 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+294 lines, -306 lines) Patch
M chrome/browser/about_flags.h View 3 chunks +17 lines, -17 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 47 chunks +174 lines, -180 lines 0 comments Download
M chrome/browser/about_flags_unittest.cc View 21 chunks +91 lines, -92 lines 0 comments Download
M chrome/browser/profiles/profile_window.cc View 1 3 chunks +4 lines, -7 lines 0 comments Download
M chrome/browser/ui/webui/flags_ui.cc View 2 chunks +8 lines, -10 lines 0 comments Download

Messages

Total messages: 17 (4 generated)
Alexei Svitkine (slow)
5 years, 7 months ago (2015-05-22 18:16:31 UTC) #5
Nico
https://code.google.com/p/chromium/codesearch#chromium/src/chrome/browser/resources/flags.html&q=file:flags.*html&sq=package:chromium&type=cs also has "experiments". Also the .js and .css files in the same directory, and ...
5 years, 7 months ago (2015-05-22 18:20:46 UTC) #6
Alexei Svitkine (slow)
Would you mind if I do those in a follow-up CL? On Fri, May 22, ...
5 years, 7 months ago (2015-05-22 18:22:57 UTC) #7
Nico
Yes, cause then we end up with two halves of one feature using different names ...
5 years, 7 months ago (2015-05-22 18:24:26 UTC) #8
Alexei Svitkine (slow)
Ok, will do. (My personal preference is smaller CLs, but happy to oblige to do ...
5 years, 7 months ago (2015-05-22 18:29:13 UTC) #9
Alexei Svitkine (slow)
So, looking at the JS/html code closely, it uses the term "experiments" in the actual ...
5 years, 7 months ago (2015-05-25 17:35:25 UTC) #10
Nico
Can you think of a word that would work in both places? "Features" maybe?
5 years, 7 months ago (2015-05-25 19:43:01 UTC) #11
Alexei Svitkine (slow)
Thanks, let me hold off on this change for a bit. I agree the word ...
5 years, 7 months ago (2015-05-26 18:10:36 UTC) #12
Alexei Svitkine (slow)
So, circling back to this. At this point, we have base/feature_list.h and corresponding base::Feature. The ...
5 years, 2 months ago (2015-10-09 21:48:03 UTC) #13
Nico
They both sound fine to me, so up to you.
5 years, 2 months ago (2015-10-09 21:49:36 UTC) #14
Alexei Svitkine (slow)
+droger to CC to give context about the changes to about_flags.cc I'm planning to make.
5 years, 2 months ago (2015-10-09 21:49:46 UTC) #15
Alexei Svitkine (slow)
On 2015/10/09 21:49:46, Alexei Svitkine wrote: > +droger to CC to give context about the ...
5 years, 2 months ago (2015-10-09 21:51:19 UTC) #16
Alexei Svitkine (slow)
5 years, 2 months ago (2015-10-14 19:41:59 UTC) #17
On 2015/10/09 21:51:19, Alexei Svitkine wrote:
> On 2015/10/09 21:49:46, Alexei Svitkine wrote:
> > +droger to CC to give context about the changes to about_flags.cc I'm
planning
> > to make.
> 
> (Mainly see my message in https://codereview.chromium.org/1159433002/#msg13)
> 
> > They both sound fine to me, so up to you.
> 
> Okay, I'll try to go with ExperimentalFeature and see if the verbosity is
> manageable. Will ping the CL again when ready for another look. Thanks!

I went with FeatureEntry in the about_flags code because that made variable
names a bit easier (i.e. with ExperimentalFeature, I'd either had to spell it
all
out for var names, or use "feature" which would be ambiguous with Feature
API integration.)

Sent a new CL with the latest changes:
https://codereview.chromium.org/1407753002/

Powered by Google App Engine
This is Rietveld 408576698