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

Issue 1519043002: Putting histogram names of tracked prefs in tracked_preference_histogram_name file. (Closed)

Created:
5 years ago by Deepak
Modified:
5 years ago
Reviewers:
Bernhard Bauer, gab
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Putting string names of UMA_HISTOGRAM_ENUMERATION at one place to manage them effectively and efficiently. BUG=568998 Committed: https://crrev.com/13481c8ba871e04264ebfd0c449df6f0518be6fd Cr-Commit-Position: refs/heads/master@{#365465}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 6

Patch Set 4 : #

Patch Set 5 : #

Total comments: 2

Patch Set 6 : Putting tracked namespace under user_prefs namespace. #

Total comments: 12

Patch Set 7 : Address review comments. #

Total comments: 2

Patch Set 8 : Addressing review comments. #

Patch Set 9 : Fixing New line error for mac. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+294 lines, -194 lines) Patch
M chrome/browser/prefs/tracked/pref_hash_browsertest.cc View 1 2 3 4 5 14 chunks +206 lines, -170 lines 0 comments Download
M components/user_prefs.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M components/user_prefs/tracked/BUILD.gn View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M components/user_prefs/tracked/tracked_preference_helper.cc View 1 2 3 4 5 6 4 chunks +29 lines, -24 lines 0 comments Download
A components/user_prefs/tracked/tracked_preference_histogram_names.h View 1 2 3 4 5 6 7 8 1 chunk +25 lines, -0 lines 0 comments Download
A components/user_prefs/tracked/tracked_preference_histogram_names.cc View 1 2 3 4 5 6 7 1 chunk +30 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (10 generated)
Deepak
PTAL
5 years ago (2015-12-11 13:34:17 UTC) #3
Bernhard Bauer
+Gab, tracked prefs OWNER. https://codereview.chromium.org/1519043002/diff/30001/components/user_prefs/tracked/pref_names.h File components/user_prefs/tracked/pref_names.h (right): https://codereview.chromium.org/1519043002/diff/30001/components/user_prefs/tracked/pref_names.h#newcode14 components/user_prefs/tracked/pref_names.h:14: namespace user_tracked_prefs { Why not ...
5 years ago (2015-12-11 14:11:44 UTC) #5
Deepak
@Dear Bernhard Thanks for Review. Changes done as suggested. PTAL https://codereview.chromium.org/1519043002/diff/30001/components/user_prefs/tracked/pref_names.h File components/user_prefs/tracked/pref_names.h (right): https://codereview.chromium.org/1519043002/diff/30001/components/user_prefs/tracked/pref_names.h#newcode14 ...
5 years ago (2015-12-14 03:53:46 UTC) #6
Bernhard Bauer
https://codereview.chromium.org/1519043002/diff/70001/components/user_prefs/tracked/tracked_preference_histogram_names.h File components/user_prefs/tracked/tracked_preference_histogram_names.h (right): https://codereview.chromium.org/1519043002/diff/70001/components/user_prefs/tracked/tracked_preference_histogram_names.h#newcode8 components/user_prefs/tracked/tracked_preference_histogram_names.h:8: namespace tracked_pref_histogram_names { I think the best namespace for ...
5 years ago (2015-12-14 09:52:17 UTC) #7
Deepak
@Bernhard PTAL https://codereview.chromium.org/1519043002/diff/70001/components/user_prefs/tracked/tracked_preference_histogram_names.h File components/user_prefs/tracked/tracked_preference_histogram_names.h (right): https://codereview.chromium.org/1519043002/diff/70001/components/user_prefs/tracked/tracked_preference_histogram_names.h#newcode8 components/user_prefs/tracked/tracked_preference_histogram_names.h:8: namespace tracked_pref_histogram_names { On 2015/12/14 09:52:16, Bernhard ...
5 years ago (2015-12-14 10:16:18 UTC) #8
Bernhard Bauer
https://codereview.chromium.org/1519043002/diff/90001/components/user_prefs/tracked/tracked_preference_histogram_names.cc File components/user_prefs/tracked/tracked_preference_histogram_names.cc (right): https://codereview.chromium.org/1519043002/diff/90001/components/user_prefs/tracked/tracked_preference_histogram_names.cc#newcode29 components/user_prefs/tracked/tracked_preference_histogram_names.cc:29: } Same here. https://codereview.chromium.org/1519043002/diff/90001/components/user_prefs/tracked/tracked_preference_histogram_names.h File components/user_prefs/tracked/tracked_preference_histogram_names.h (right): https://codereview.chromium.org/1519043002/diff/90001/components/user_prefs/tracked/tracked_preference_histogram_names.h#newcode5 components/user_prefs/tracked/tracked_preference_histogram_names.h:5: ...
5 years ago (2015-12-14 17:32:37 UTC) #9
gab
Is there a global effort to extract histogram names to their own files? First time ...
5 years ago (2015-12-14 19:29:27 UTC) #10
Deepak
@Bernhard and @gab Thanks for review. Review comments addressed. PTAL https://codereview.chromium.org/1519043002/diff/90001/components/user_prefs/tracked/tracked_preference_helper.cc File components/user_prefs/tracked/tracked_preference_helper.cc (left): https://codereview.chromium.org/1519043002/diff/90001/components/user_prefs/tracked/tracked_preference_helper.cc#oldcode35 ...
5 years ago (2015-12-15 04:39:36 UTC) #12
Bernhard Bauer
On 2015/12/14 19:29:27, gab wrote: > Is there a global effort to extract histogram names ...
5 years ago (2015-12-15 11:19:24 UTC) #13
Bernhard Bauer
https://codereview.chromium.org/1519043002/diff/110001/components/user_prefs/tracked/tracked_preference_histogram_names.h File components/user_prefs/tracked/tracked_preference_histogram_names.h (right): https://codereview.chromium.org/1519043002/diff/110001/components/user_prefs/tracked/tracked_preference_histogram_names.h#newcode22 components/user_prefs/tracked/tracked_preference_histogram_names.h:22: } // namespace tracked. No period at the end. ...
5 years ago (2015-12-15 11:19:55 UTC) #14
Deepak
@Bernhard PTAL https://codereview.chromium.org/1519043002/diff/110001/components/user_prefs/tracked/tracked_preference_histogram_names.h File components/user_prefs/tracked/tracked_preference_histogram_names.h (right): https://codereview.chromium.org/1519043002/diff/110001/components/user_prefs/tracked/tracked_preference_histogram_names.h#newcode22 components/user_prefs/tracked/tracked_preference_histogram_names.h:22: } // namespace tracked. On 2015/12/15 11:19:55, ...
5 years ago (2015-12-15 11:28:28 UTC) #15
gab
On 2015/12/15 11:19:24, Bernhard Bauer wrote: > On 2015/12/14 19:29:27, gab wrote: > > Is ...
5 years ago (2015-12-15 16:56:17 UTC) #16
Bernhard Bauer
lgtm
5 years ago (2015-12-15 16:58:29 UTC) #17
Deepak
On 2015/12/15 16:58:29, Bernhard Bauer wrote: > lgtm Thanks Bernhard & Gab.
5 years ago (2015-12-16 03:55:49 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1519043002/130001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1519043002/130001
5 years ago (2015-12-16 03:57:42 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/108472)
5 years ago (2015-12-16 04:12:09 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1519043002/150001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1519043002/150001
5 years ago (2015-12-16 04:56:10 UTC) #25
commit-bot: I haz the power
Committed patchset #9 (id:150001)
5 years ago (2015-12-16 05:21:50 UTC) #27
commit-bot: I haz the power
5 years ago (2015-12-16 05:22:30 UTC) #29
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/13481c8ba871e04264ebfd0c449df6f0518be6fd
Cr-Commit-Position: refs/heads/master@{#365465}

Powered by Google App Engine
This is Rietveld 408576698