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

Issue 2345033002: Log base::Features in Launch.FlagsAtStartup (Closed)

Created:
4 years, 3 months ago by lawrencewu
Modified:
4 years, 3 months ago
CC:
asvitkine+watch_chromium.org, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Log base::Features in Launch.FlagsAtStartup This adds support for displaying overriding enabled base::Feature features in the Launch.FlagsAtStartup histogram. BUG=642858 Committed: https://crrev.com/95059d1e7407f93bbaa9b8ce10ac0b4b7a5620f6 Cr-Commit-Position: refs/heads/master@{#419503}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Revert and extend ReportAboutFlagsHistogram and write a test #

Total comments: 6

Patch Set 3 : Clean up test and localize ReportAboutFlagsHistogram{Switches, Features} #

Total comments: 8

Patch Set 4 : Refactor about_flags, comments, and unittest #

Patch Set 5 : Fix up comment #

Total comments: 2

Patch Set 6 : Update comment and add missing feature to histograms.xml #

Unified diffs Side-by-side diffs Delta from patch set Stats (+254 lines, -39 lines) Patch
M chrome/browser/about_flags.h View 1 2 3 4 5 1 chunk +4 lines, -3 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 3 chunks +52 lines, -26 lines 0 comments Download
M chrome/browser/about_flags_unittest.cc View 1 2 3 3 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/login/session/user_session_manager.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M components/flags_ui/flags_state.h View 1 2 3 4 1 chunk +8 lines, -3 lines 0 comments Download
M components/flags_ui/flags_state.cc View 1 1 chunk +23 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 37 chunks +160 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (16 generated)
lawrencewu
I created a new branch for this CL since it was easier to work off ...
4 years, 3 months ago (2016-09-15 19:54:20 UTC) #3
Alexei Svitkine (slow)
https://codereview.chromium.org/2345033002/diff/1/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/2345033002/diff/1/chrome/browser/about_flags.cc#newcode2239 chrome/browser/about_flags.cc:2239: const std::set<std::string>& flags) { This function is also called ...
4 years, 3 months ago (2016-09-15 19:59:19 UTC) #4
lawrencewu
https://codereview.chromium.org/2345033002/diff/1/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/2345033002/diff/1/chrome/browser/about_flags.cc#newcode2239 chrome/browser/about_flags.cc:2239: const std::set<std::string>& flags) { On 2016/09/15 19:59:18, Alexei Svitkine ...
4 years, 3 months ago (2016-09-16 15:34:57 UTC) #5
Alexei Svitkine (slow)
https://codereview.chromium.org/2345033002/diff/20001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/2345033002/diff/20001/chrome/browser/about_flags.cc#newcode2275 chrome/browser/about_flags.cc:2275: void ReportAboutFlagsHistogramFeatures(const std::string& uma_histogram_name, If this is not called ...
4 years, 3 months ago (2016-09-16 15:52:39 UTC) #6
lawrencewu
https://codereview.chromium.org/2345033002/diff/20001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/2345033002/diff/20001/chrome/browser/about_flags.cc#newcode2275 chrome/browser/about_flags.cc:2275: void ReportAboutFlagsHistogramFeatures(const std::string& uma_histogram_name, On 2016/09/16 15:52:38, Alexei Svitkine ...
4 years, 3 months ago (2016-09-16 17:12:57 UTC) #7
Alexei Svitkine (slow)
Almost there - looks good. Just a few more comments. https://codereview.chromium.org/2345033002/diff/40001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/2345033002/diff/40001/chrome/browser/about_flags.cc#newcode2195 ...
4 years, 3 months ago (2016-09-16 20:50:33 UTC) #8
lawrencewu
https://codereview.chromium.org/2345033002/diff/40001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/2345033002/diff/40001/chrome/browser/about_flags.cc#newcode2195 chrome/browser/about_flags.cc:2195: uma_id = GetSwitchUMAId(feature); On 2016/09/16 20:50:33, Alexei Svitkine (very ...
4 years, 3 months ago (2016-09-16 21:20:04 UTC) #9
Alexei Svitkine (slow)
lgtm
4 years, 3 months ago (2016-09-16 21:21:51 UTC) #12
lawrencewu
On 2016/09/16 21:21:51, Alexei Svitkine (very slow) wrote: > lgtm Awesome, my first code change! ...
4 years, 3 months ago (2016-09-16 21:24:10 UTC) #13
Alexei Svitkine (slow)
:) I'm not an OWNER of all the files being changed, so you'll need to ...
4 years, 3 months ago (2016-09-16 21:29:47 UTC) #14
Alexander Alekseev
lgtm with nits. https://codereview.chromium.org/2345033002/diff/80001/chrome/browser/about_flags.h File chrome/browser/about_flags.h (right): https://codereview.chromium.org/2345033002/diff/80001/chrome/browser/about_flags.h#newcode91 chrome/browser/about_flags.h:91: // a histogram, with an enum ...
4 years, 3 months ago (2016-09-18 10:08:01 UTC) #19
jochen (gone - plz use gerrit)
lgtm
4 years, 3 months ago (2016-09-19 14:57:49 UTC) #20
lawrencewu
https://codereview.chromium.org/2345033002/diff/80001/chrome/browser/about_flags.h File chrome/browser/about_flags.h (right): https://codereview.chromium.org/2345033002/diff/80001/chrome/browser/about_flags.h#newcode91 chrome/browser/about_flags.h:91: // a histogram, with an enum value for each ...
4 years, 3 months ago (2016-09-19 18:01:03 UTC) #25
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/2345033002/100001
4 years, 3 months ago (2016-09-19 18:02:08 UTC) #28
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 3 months ago (2016-09-19 18:07:24 UTC) #30
commit-bot: I haz the power
4 years, 3 months ago (2016-09-19 18:08:54 UTC) #32
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/95059d1e7407f93bbaa9b8ce10ac0b4b7a5620f6
Cr-Commit-Position: refs/heads/master@{#419503}

Powered by Google App Engine
This is Rietveld 408576698