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

Issue 311133006: Add more Rappor metrics (Closed)

Created:
6 years, 6 months ago by Steven Holte
Modified:
6 years, 6 months ago
CC:
asvitkine+watch_chromium.org, chromium-reviews, Ilya Sherman, jar+watch_chromium.org, odean, ulfar, vpihur
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Add more Rappor metrics Adds Rappor metrics for Default Search Engine, Default Startup Tabs, and New Tab Pages. BUG=381325 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276357

Patch Set 1 #

Total comments: 10

Patch Set 2 : #

Total comments: 6

Patch Set 3 : #

Total comments: 8

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : Remove NTP metric #

Total comments: 6

Patch Set 9 : #

Patch Set 10 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -8 lines) Patch
A + chrome/browser/metrics/rappor/OWNERS View 1 2 3 4 5 6 7 8 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/browser/metrics/rappor/sampling.h View 1 2 3 4 5 6 7 8 1 chunk +26 lines, -0 lines 0 comments Download
A chrome/browser/metrics/rappor/sampling.cc View 1 2 3 4 5 6 7 8 1 chunk +35 lines, -0 lines 0 comments Download
A chrome/browser/metrics/rappor/sampling_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +19 lines, -0 lines 0 comments Download
M chrome/browser/prefs/pref_metrics_service.cc View 1 2 3 4 5 6 7 8 5 chunks +8 lines, -9 lines 0 comments Download
M chrome/browser/search_engines/template_url_service.cc View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 29 (0 generated)
Steven Holte
6 years, 6 months ago (2014-06-04 23:59:38 UTC) #1
Alexei Svitkine (slow)
You should create a crbug to track this change. https://codereview.chromium.org/311133006/diff/1/chrome/browser/prefs/pref_metrics_service.cc File chrome/browser/prefs/pref_metrics_service.cc (right): https://codereview.chromium.org/311133006/diff/1/chrome/browser/prefs/pref_metrics_service.cc#newcode115 chrome/browser/prefs/pref_metrics_service.cc:115: ...
6 years, 6 months ago (2014-06-05 14:23:35 UTC) #2
Steven Holte
https://codereview.chromium.org/311133006/diff/1/chrome/browser/prefs/pref_metrics_service.cc File chrome/browser/prefs/pref_metrics_service.cc (right): https://codereview.chromium.org/311133006/diff/1/chrome/browser/prefs/pref_metrics_service.cc#newcode115 chrome/browser/prefs/pref_metrics_service.cc:115: rappor::SampleETLDp1(g_browser_process->rappor_service(), My assumption is that this is when chrome://settings/ ...
6 years, 6 months ago (2014-06-05 20:17:08 UTC) #3
Alexei Svitkine (slow)
LGTM https://codereview.chromium.org/311133006/diff/1/chrome/browser/prefs/pref_metrics_service.cc File chrome/browser/prefs/pref_metrics_service.cc (right): https://codereview.chromium.org/311133006/diff/1/chrome/browser/prefs/pref_metrics_service.cc#newcode115 chrome/browser/prefs/pref_metrics_service.cc:115: rappor::SampleETLDp1(g_browser_process->rappor_service(), On 2014/06/05 20:17:07, Steven Holte wrote: > ...
6 years, 6 months ago (2014-06-05 21:05:23 UTC) #4
Steven Holte
+battre for pref_metrics_service.cc, particularly confirming that the conditions for sampling startup pages are correct. +pkasting ...
6 years, 6 months ago (2014-06-05 21:48:39 UTC) #5
Peter Kasting
This change has no tests. https://codereview.chromium.org/311133006/diff/20001/components/rappor/rappor_utils.cc File components/rappor/rappor_utils.cc (right): https://codereview.chromium.org/311133006/diff/20001/components/rappor/rappor_utils.cc#newcode18 components/rappor/rappor_utils.cc:18: rappor::ETLD_PLUS_ONE_RAPPOR_TYPE, Nit: All lines ...
6 years, 6 months ago (2014-06-05 23:37:14 UTC) #6
Steven Holte
Added a test that calling the util functions does not cause a crash, but I ...
6 years, 6 months ago (2014-06-06 01:54:26 UTC) #7
Peter Kasting
My thought with the tests was that you could test that passing in different URLs ...
6 years, 6 months ago (2014-06-06 02:05:48 UTC) #8
battre
pref_metrics_service.cc: LGTM... Just a couple of things that you should be aware of. https://codereview.chromium.org/311133006/diff/40001/chrome/browser/prefs/pref_metrics_service.cc File ...
6 years, 6 months ago (2014-06-06 09:49:43 UTC) #9
battre
6 years, 6 months ago (2014-06-06 09:51:49 UTC) #10
Steven Holte
Renamed rappor_utils to rappor_sampling to avoid it becoming a kitchen sink. End to end testing ...
6 years, 6 months ago (2014-06-06 21:00:51 UTC) #11
Peter Kasting
On 2014/06/06 21:00:51, Steven Holte wrote: > Renamed rappor_utils to rappor_sampling to avoid it becoming ...
6 years, 6 months ago (2014-06-06 21:03:53 UTC) #12
Steven Holte
On 2014/06/06 21:03:53, Peter Kasting wrote: > On 2014/06/06 21:00:51, Steven Holte wrote: > > ...
6 years, 6 months ago (2014-06-06 21:31:12 UTC) #13
Peter Kasting
On 2014/06/06 21:31:12, Steven Holte wrote: > On 2014/06/06 21:03:53, Peter Kasting wrote: > > ...
6 years, 6 months ago (2014-06-06 21:35:53 UTC) #14
Steven Holte
https://codereview.chromium.org/311133006/diff/40001/chrome/browser/prefs/pref_metrics_service.cc File chrome/browser/prefs/pref_metrics_service.cc (right): https://codereview.chromium.org/311133006/diff/40001/chrome/browser/prefs/pref_metrics_service.cc#newcode119 chrome/browser/prefs/pref_metrics_service.cc:119: start_url); On 2014/06/06 09:49:43, battre wrote: > Just be ...
6 years, 6 months ago (2014-06-06 21:38:05 UTC) #15
Steven Holte
On 2014/06/06 21:35:53, Peter Kasting wrote: > On 2014/06/06 21:31:12, Steven Holte wrote: > > ...
6 years, 6 months ago (2014-06-06 22:33:43 UTC) #16
Steven Holte
Removed the NTP metric for a seperate change, since I still need to figure out ...
6 years, 6 months ago (2014-06-06 23:16:22 UTC) #17
Peter Kasting
LGTM https://codereview.chromium.org/311133006/diff/140001/chrome/browser/rappor/sampling.h File chrome/browser/rappor/sampling.h (right): https://codereview.chromium.org/311133006/diff/140001/chrome/browser/rappor/sampling.h#newcode14 chrome/browser/rappor/sampling.h:14: // Record the ETLD+1 of a url to ...
6 years, 6 months ago (2014-06-09 00:51:14 UTC) #18
Alexei Svitkine (slow)
I think chrome/browser/rappor should be chrome/browser/metrics/rappor instead.
6 years, 6 months ago (2014-06-09 03:46:16 UTC) #19
Steven Holte
Moved to chrome/browser/metrics/rappor https://codereview.chromium.org/311133006/diff/140001/chrome/browser/rappor/sampling.h File chrome/browser/rappor/sampling.h (right): https://codereview.chromium.org/311133006/diff/140001/chrome/browser/rappor/sampling.h#newcode14 chrome/browser/rappor/sampling.h:14: // Record the ETLD+1 of a ...
6 years, 6 months ago (2014-06-09 17:54:29 UTC) #20
Steven Holte
The CQ bit was checked by holte@chromium.org
6 years, 6 months ago (2014-06-09 17:54:42 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/holte@chromium.org/311133006/160001
6 years, 6 months ago (2014-06-09 17:56:58 UTC) #22
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_chromium_gn_compile_rel on tryserver.chromium ...
6 years, 6 months ago (2014-06-10 08:01:55 UTC) #23
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-10 11:19:55 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_chromeos_rel/builds/35866) linux_chromium_clang_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_clang_dbg/builds/32743) linux_chromium_gn_rel ...
6 years, 6 months ago (2014-06-10 11:19:56 UTC) #25
Steven Holte
The CQ bit was checked by holte@chromium.org
6 years, 6 months ago (2014-06-10 16:51:21 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/holte@chromium.org/311133006/180001
6 years, 6 months ago (2014-06-10 16:53:36 UTC) #27
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_x64_rel on tryserver.chromium ...
6 years, 6 months ago (2014-06-11 06:57:43 UTC) #28
commit-bot: I haz the power
6 years, 6 months ago (2014-06-11 11:58:53 UTC) #29
Message was sent while issue was closed.
Change committed as 276357

Powered by Google App Engine
This is Rietveld 408576698