Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(629)

Issue 10381057: Add logging of Google Update configuration/statistics to UMA report. (Closed)

Created:
8 years, 7 months ago by Ryan Myers (chromium)
Modified:
8 years, 7 months ago
CC:
chromium-reviews, grt+watch_chromium.org, MAD, jar (doing other things)
Visibility:
Public.

Description

Add logging of Google Update configuration/statistics to UMA report. BUG=127279 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=137017

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 9

Patch Set 4 : #

Total comments: 19

Patch Set 5 : #

Total comments: 8

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Total comments: 30

Patch Set 10 : #

Patch Set 11 : #

Patch Set 12 : #

Total comments: 24

Patch Set 13 : #

Total comments: 13

Patch Set 14 : #

Patch Set 15 : #

Patch Set 16 : #

Total comments: 1

Patch Set 17 : #

Patch Set 18 : #

Patch Set 19 : #

Total comments: 11

Patch Set 20 : #

Patch Set 21 : #

Total comments: 2

Patch Set 22 : #

Total comments: 16

Patch Set 23 : #

Total comments: 2

Patch Set 24 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+364 lines, -18 lines) Patch
M chrome/browser/metrics/metrics_log.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 4 chunks +34 lines, -7 lines 0 comments Download
M chrome/browser/metrics/metrics_log.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 7 chunks +55 lines, -2 lines 0 comments Download
M chrome/browser/metrics/metrics_log_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/metrics/metrics_service.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 4 chunks +16 lines, -2 lines 0 comments Download
M chrome/browser/metrics/metrics_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 3 chunks +45 lines, -2 lines 0 comments Download
M chrome/common/metrics/proto/system_profile.proto View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2 chunks +50 lines, -1 line 0 comments Download
M chrome/installer/util/google_update_constants.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/installer/util/google_update_constants.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +9 lines, -2 lines 0 comments Download
M chrome/installer/util/google_update_settings.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 3 chunks +45 lines, -0 lines 0 comments Download
M chrome/installer/util/google_update_settings.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +99 lines, -0 lines 0 comments Download

Messages

Total messages: 38 (0 generated)
Ryan Myers (chromium)
GRT for the additions to installer\util\google_update_*, Jeff/Ilya for metrics_log. Thanks! :)
8 years, 7 months ago (2012-05-08 20:41:30 UTC) #1
Ilya Sherman
http://codereview.chromium.org/10381057/diff/13001/chrome/browser/metrics/metrics_log.cc File chrome/browser/metrics/metrics_log.cc (right): http://codereview.chromium.org/10381057/diff/13001/chrome/browser/metrics/metrics_log.cc#newcode1001 chrome/browser/metrics/metrics_log.cc:1001: } nit: No need for curly braces for a ...
8 years, 7 months ago (2012-05-08 21:25:42 UTC) #2
Ryan Myers (chromium)
Thanks! http://codereview.chromium.org/10381057/diff/13001/chrome/browser/metrics/metrics_log.cc File chrome/browser/metrics/metrics_log.cc (right): http://codereview.chromium.org/10381057/diff/13001/chrome/browser/metrics/metrics_log.cc#newcode1001 chrome/browser/metrics/metrics_log.cc:1001: } On 2012/05/08 21:25:43, Ilya Sherman wrote: > ...
8 years, 7 months ago (2012-05-08 21:56:35 UTC) #3
Ilya Sherman
http://codereview.chromium.org/10381057/diff/13001/chrome/browser/metrics/metrics_log.h File chrome/browser/metrics/metrics_log.h (right): http://codereview.chromium.org/10381057/diff/13001/chrome/browser/metrics/metrics_log.h#newcode160 chrome/browser/metrics/metrics_log.h:160: void WriteGoogleUpdateData(bool write_as_xml); On 2012/05/08 21:56:36, ryanmyers wrote: > ...
8 years, 7 months ago (2012-05-08 22:33:48 UTC) #4
Ryan Myers (chromium)
Thanks! http://codereview.chromium.org/10381057/diff/13001/chrome/browser/metrics/metrics_log.h File chrome/browser/metrics/metrics_log.h (right): http://codereview.chromium.org/10381057/diff/13001/chrome/browser/metrics/metrics_log.h#newcode160 chrome/browser/metrics/metrics_log.h:160: void WriteGoogleUpdateData(bool write_as_xml); On 2012/05/08 22:33:48, Ilya Sherman ...
8 years, 7 months ago (2012-05-08 23:24:08 UTC) #5
Ilya Sherman
http://codereview.chromium.org/10381057/diff/14002/chrome/browser/metrics/metrics_log.cc File chrome/browser/metrics/metrics_log.cc (right): http://codereview.chromium.org/10381057/diff/14002/chrome/browser/metrics/metrics_log.cc#newcode264 chrome/browser/metrics/metrics_log.cc:264: void ProductDataToProto(const GoogleUpdateSettings::ProductData& product_data, nit: Please move this parameter ...
8 years, 7 months ago (2012-05-08 23:33:39 UTC) #6
Ryan Myers (chromium)
Thanks! http://codereview.chromium.org/10381057/diff/14002/chrome/browser/metrics/metrics_log.cc File chrome/browser/metrics/metrics_log.cc (right): http://codereview.chromium.org/10381057/diff/14002/chrome/browser/metrics/metrics_log.cc#newcode264 chrome/browser/metrics/metrics_log.cc:264: void ProductDataToProto(const GoogleUpdateSettings::ProductData& product_data, On 2012/05/08 23:33:40, Ilya ...
8 years, 7 months ago (2012-05-08 23:54:53 UTC) #7
Ilya Sherman
LGTM http://codereview.chromium.org/10381057/diff/14002/chrome/browser/metrics/metrics_log.cc File chrome/browser/metrics/metrics_log.cc (right): http://codereview.chromium.org/10381057/diff/14002/chrome/browser/metrics/metrics_log.cc#newcode1003 chrome/browser/metrics/metrics_log.cc:1003: On 2012/05/08 23:54:53, Ryan Myers (chromium) wrote: > ...
8 years, 7 months ago (2012-05-08 23:57:33 UTC) #8
Ryan Myers (chromium)
On 2012/05/08 23:57:33, Ilya Sherman wrote: > LGTM > > http://codereview.chromium.org/10381057/diff/14002/chrome/browser/metrics/metrics_log.cc > File chrome/browser/metrics/metrics_log.cc (right): ...
8 years, 7 months ago (2012-05-09 00:00:38 UTC) #9
grt (UTC plus 2)
Hy Ryan. Looks good overall. Just a bunch of small comments/questions. https://chromiumcodereview.appspot.com/10381057/diff/11005/chrome/installer/util/google_update_settings.cc File chrome/installer/util/google_update_settings.cc (right): ...
8 years, 7 months ago (2012-05-09 14:41:09 UTC) #10
Ryan Myers (chromium)
Thanks! https://chromiumcodereview.appspot.com/10381057/diff/11005/chrome/installer/util/google_update_settings.cc File chrome/installer/util/google_update_settings.cc (right): https://chromiumcodereview.appspot.com/10381057/diff/11005/chrome/installer/util/google_update_settings.cc#newcode552 chrome/installer/util/google_update_settings.cc:552: int64 GoogleUpdateSettings::GetGoogleUpdateLastStartedAU(bool system_install) { On 2012/05/09 14:41:09, grt ...
8 years, 7 months ago (2012-05-09 17:08:48 UTC) #11
grt (UTC plus 2)
https://chromiumcodereview.appspot.com/10381057/diff/11005/chrome/installer/util/google_update_settings.cc File chrome/installer/util/google_update_settings.cc (right): https://chromiumcodereview.appspot.com/10381057/diff/11005/chrome/installer/util/google_update_settings.cc#newcode552 chrome/installer/util/google_update_settings.cc:552: int64 GoogleUpdateSettings::GetGoogleUpdateLastStartedAU(bool system_install) { On 2012/05/09 17:08:48, Ryan Myers ...
8 years, 7 months ago (2012-05-09 17:27:16 UTC) #12
Ryan Myers (chromium)
Thanks! https://chromiumcodereview.appspot.com/10381057/diff/11005/chrome/installer/util/google_update_settings.cc File chrome/installer/util/google_update_settings.cc (right): https://chromiumcodereview.appspot.com/10381057/diff/11005/chrome/installer/util/google_update_settings.cc#newcode552 chrome/installer/util/google_update_settings.cc:552: int64 GoogleUpdateSettings::GetGoogleUpdateLastStartedAU(bool system_install) { On 2012/05/09 17:27:16, grt ...
8 years, 7 months ago (2012-05-09 17:49:29 UTC) #13
grt (UTC plus 2)
On 2012/05/09 17:49:29, Ryan Myers (chromium) wrote: > Thanks! Those changes look good to me, ...
8 years, 7 months ago (2012-05-09 19:50:05 UTC) #14
Ryan Myers (chromium)
Ooops, missed those! Thanks. (BTW, I'm still non-committer, so I'll need one of you to ...
8 years, 7 months ago (2012-05-09 20:59:21 UTC) #15
grt (UTC plus 2)
Next round. As for committing, I think you'll be able to hit the checkbox for ...
8 years, 7 months ago (2012-05-09 21:30:05 UTC) #16
Ryan Myers (chromium)
Thanks! I've redesigned the code slightly so that the registry accesses are done from a ...
8 years, 7 months ago (2012-05-10 21:06:57 UTC) #17
Ilya Sherman
https://chromiumcodereview.appspot.com/10381057/diff/13007/chrome/browser/metrics/metrics_service.cc File chrome/browser/metrics/metrics_service.cc (right): https://chromiumcodereview.appspot.com/10381057/diff/13007/chrome/browser/metrics/metrics_service.cc#newcode185 chrome/browser/metrics/metrics_service.cc:185: #include "chrome/installer/util/google_update_settings.h" nit: No need to #include this here ...
8 years, 7 months ago (2012-05-10 21:27:40 UTC) #18
Ryan Myers (chromium)
https://chromiumcodereview.appspot.com/10381057/diff/13007/chrome/browser/metrics/metrics_service.cc File chrome/browser/metrics/metrics_service.cc (right): https://chromiumcodereview.appspot.com/10381057/diff/13007/chrome/browser/metrics/metrics_service.cc#newcode185 chrome/browser/metrics/metrics_service.cc:185: #include "chrome/installer/util/google_update_settings.h" On 2012/05/10 21:27:41, Ilya Sherman wrote: > ...
8 years, 7 months ago (2012-05-11 00:01:40 UTC) #19
Ryan Myers (chromium)
Pushed up one more set for cleanup and fixing a few style issues that mac-clang ...
8 years, 7 months ago (2012-05-11 00:30:42 UTC) #20
Ilya Sherman
metrics/ change lgtm https://chromiumcodereview.appspot.com/10381057/diff/8020/chrome/browser/metrics/metrics_service.h File chrome/browser/metrics/metrics_service.h (right): https://chromiumcodereview.appspot.com/10381057/diff/8020/chrome/browser/metrics/metrics_service.h#newcode373 chrome/browser/metrics/metrics_service.h:373: // Google Update statistics, which were ...
8 years, 7 months ago (2012-05-11 00:39:59 UTC) #21
Ryan Myers (chromium)
Thanks. Had to make one more change to fix a linker break on mac/linux. Sorry ...
8 years, 7 months ago (2012-05-11 20:08:24 UTC) #22
Ilya Sherman
https://chromiumcodereview.appspot.com/10381057/diff/1023/chrome/browser/metrics/metrics_service.cc File chrome/browser/metrics/metrics_service.cc (right): https://chromiumcodereview.appspot.com/10381057/diff/1023/chrome/browser/metrics/metrics_service.cc#newcode802 chrome/browser/metrics/metrics_service.cc:802: void MetricsService::InitTaskGetGoogleUpdateData( nit: Please annotate this method as static, ...
8 years, 7 months ago (2012-05-11 23:15:34 UTC) #23
Ilya Sherman
8 years, 7 months ago (2012-05-11 23:15:35 UTC) #24
Ilya Sherman
8 years, 7 months ago (2012-05-11 23:15:35 UTC) #25
Ryan Myers (chromium)
https://chromiumcodereview.appspot.com/10381057/diff/1023/chrome/browser/metrics/metrics_service.cc File chrome/browser/metrics/metrics_service.cc (right): https://chromiumcodereview.appspot.com/10381057/diff/1023/chrome/browser/metrics/metrics_service.cc#newcode802 chrome/browser/metrics/metrics_service.cc:802: void MetricsService::InitTaskGetGoogleUpdateData( On 2012/05/11 23:15:34, Ilya Sherman wrote: > ...
8 years, 7 months ago (2012-05-11 23:52:24 UTC) #26
Ilya Sherman
https://chromiumcodereview.appspot.com/10381057/diff/1023/chrome/browser/metrics/metrics_service.cc File chrome/browser/metrics/metrics_service.cc (right): https://chromiumcodereview.appspot.com/10381057/diff/1023/chrome/browser/metrics/metrics_service.cc#newcode805 chrome/browser/metrics/metrics_service.cc:805: GoogleUpdateMetrics google_update_metrics; On 2012/05/11 23:52:24, Ryan Myers (chromium) wrote: ...
8 years, 7 months ago (2012-05-12 00:41:29 UTC) #27
Ryan Myers (chromium)
https://chromiumcodereview.appspot.com/10381057/diff/1023/chrome/browser/metrics/metrics_service.h File chrome/browser/metrics/metrics_service.h (right): https://chromiumcodereview.appspot.com/10381057/diff/1023/chrome/browser/metrics/metrics_service.h#newcode39 chrome/browser/metrics/metrics_service.h:39: struct GoogleUpdateMetrics; On 2012/05/12 00:41:30, Ilya Sherman wrote: > ...
8 years, 7 months ago (2012-05-12 00:56:49 UTC) #28
Ilya Sherman
Metrics changes LGTM, thanks https://chromiumcodereview.appspot.com/10381057/diff/41/chrome/browser/metrics/metrics_service.h File chrome/browser/metrics/metrics_service.h (right): https://chromiumcodereview.appspot.com/10381057/diff/41/chrome/browser/metrics/metrics_service.h#newcode22 chrome/browser/metrics/metrics_service.h:22: #include "chrome/browser/metrics/metrics_log.h" nit: Please move ...
8 years, 7 months ago (2012-05-12 00:59:20 UTC) #29
Ryan Myers (chromium)
https://chromiumcodereview.appspot.com/10381057/diff/41/chrome/browser/metrics/metrics_service.h File chrome/browser/metrics/metrics_service.h (right): https://chromiumcodereview.appspot.com/10381057/diff/41/chrome/browser/metrics/metrics_service.h#newcode22 chrome/browser/metrics/metrics_service.h:22: #include "chrome/browser/metrics/metrics_log.h" On 2012/05/12 00:59:21, Ilya Sherman wrote: > ...
8 years, 7 months ago (2012-05-12 01:03:23 UTC) #30
grt (UTC plus 2)
https://chromiumcodereview.appspot.com/10381057/diff/1026/chrome/browser/metrics/metrics_log.cc File chrome/browser/metrics/metrics_log.cc (right): https://chromiumcodereview.appspot.com/10381057/diff/1026/chrome/browser/metrics/metrics_log.cc#newcode280 chrome/browser/metrics/metrics_log.cc:280: GoogleUpdateMetrics::GoogleUpdateMetrics() {} please initialize members that aren't otherwise initialized: ...
8 years, 7 months ago (2012-05-14 13:58:46 UTC) #31
Ryan Myers (chromium)
Thanks! https://chromiumcodereview.appspot.com/10381057/diff/1026/chrome/browser/metrics/metrics_log.cc File chrome/browser/metrics/metrics_log.cc (right): https://chromiumcodereview.appspot.com/10381057/diff/1026/chrome/browser/metrics/metrics_log.cc#newcode280 chrome/browser/metrics/metrics_log.cc:280: GoogleUpdateMetrics::GoogleUpdateMetrics() {} On 2012/05/14 13:58:47, grt wrote: > ...
8 years, 7 months ago (2012-05-14 17:52:34 UTC) #32
grt (UTC plus 2)
lgtm w/ one question (looks like a stale forward decl that can be removed?). https://chromiumcodereview.appspot.com/10381057/diff/4036/chrome/browser/metrics/metrics_log.h ...
8 years, 7 months ago (2012-05-14 19:52:41 UTC) #33
Ryan Myers (chromium)
Thank you! https://chromiumcodereview.appspot.com/10381057/diff/4036/chrome/browser/metrics/metrics_log.h File chrome/browser/metrics/metrics_log.h (right): https://chromiumcodereview.appspot.com/10381057/diff/4036/chrome/browser/metrics/metrics_log.h#newcode22 chrome/browser/metrics/metrics_log.h:22: struct GoogleUpdateMetrics; On 2012/05/14 19:52:42, grt wrote: ...
8 years, 7 months ago (2012-05-14 20:10:16 UTC) #34
Ryan Myers (chromium)
As I thought, I don't have committer access yet. One of you two will have ...
8 years, 7 months ago (2012-05-14 20:55:59 UTC) #35
Ilya Sherman
On 2012/05/14 20:55:59, Ryan Myers (chromium) wrote: > As I thought, I don't have committer ...
8 years, 7 months ago (2012-05-14 21:08:38 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/10381057/4038
8 years, 7 months ago (2012-05-14 21:21:22 UTC) #37
commit-bot: I haz the power
8 years, 7 months ago (2012-05-14 23:50:56 UTC) #38
Change committed as 137017

Powered by Google App Engine
This is Rietveld 408576698