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

Issue 2324001: Add the hardwareclass UMA log field for Chrome OS builds.... (Closed)

Created:
10 years, 7 months ago by petkov
Modified:
9 years, 7 months ago
CC:
chromium-reviews, ben+cc_chromium.org, Paweł Hajdan Jr., brettw-cc_chromium.org, tfarina
Visibility:
Public.

Description

Add the hardwareclass UMA log field for Chrome OS builds. This field will be used to distinguish histograms across Chrome OS hardware platforms. BUG=none TEST=unit tests, tested on target device by reviewing the logs

Patch Set 1 #

Total comments: 1

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 15

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Total comments: 2

Patch Set 9 : '' #

Total comments: 2

Patch Set 10 : '' #

Total comments: 15

Patch Set 11 : '' #

Patch Set 12 : '' #

Patch Set 13 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+187 lines, -48 lines) Patch
M chrome/browser/metrics/metrics_log.h View 2 3 4 5 6 7 8 9 10 11 12 5 chunks +12 lines, -1 line 0 comments Download
M chrome/browser/metrics/metrics_log.cc View 1 2 3 4 5 6 7 8 9 10 7 chunks +45 lines, -7 lines 0 comments Download
M chrome/browser/metrics/metrics_log_unittest.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +35 lines, -4 lines 0 comments Download
M chrome/browser/metrics/metrics_service.h View 2 3 4 5 6 7 8 9 10 4 chunks +23 lines, -7 lines 0 comments Download
M chrome/browser/metrics/metrics_service.cc View 2 3 4 5 6 7 8 9 10 10 chunks +61 lines, -28 lines 1 comment Download
M chrome/browser/metrics/metrics_service_unittest.cc View 2 chunks +11 lines, -1 line 0 comments Download

Messages

Total messages: 24 (0 generated)
petkov
Client side changes for the Chrome OS hardware class field...
10 years, 7 months ago (2010-05-27 22:34:00 UTC) #1
jar (doing other things)
http://codereview.chromium.org/2324001/diff/1/5 File chrome/browser/metrics/metrics_log.cc (right): http://codereview.chromium.org/2324001/diff/1/5#newcode73 chrome/browser/metrics/metrics_log.cc:73: WriteAttribute("hardwareclass", base::SysInfo::GetHardwareClass()); I wasn't clear... but I think this ...
10 years, 7 months ago (2010-05-28 00:15:57 UTC) #2
petkov
Thanks for the quick review. You're right, I'm executing an external utility on the UI ...
10 years, 6 months ago (2010-06-01 05:43:22 UTC) #3
tfarina
http://codereview.chromium.org/2324001/diff/21002/25005 File chrome/browser/metrics/metrics_log.cc (right): http://codereview.chromium.org/2324001/diff/21002/25005#newcode1 chrome/browser/metrics/metrics_log.cc:1: // Copyright (c) 2009 The Chromium Authors. All rights ...
10 years, 6 months ago (2010-06-01 14:09:36 UTC) #4
petkov
tfarina's style comments addressed. PS. For some reason gcl upload doesn't prompt me for a ...
10 years, 6 months ago (2010-06-01 18:06:42 UTC) #5
jar (doing other things)
http://codereview.chromium.org/2324001/diff/21002/25003 File base/sys_info_chromeos.cc (right): http://codereview.chromium.org/2324001/diff/21002/25003#newcode73 base/sys_info_chromeos.cc:73: static std::string hardware_class; Do you know the format for ...
10 years, 6 months ago (2010-06-01 18:25:29 UTC) #6
petkov
Please take another look. I've addressed all comments except the one regarding the call to ...
10 years, 6 months ago (2010-06-01 23:41:15 UTC) #7
jar (doing other things)
http://codereview.chromium.org/2324001/diff/21002/25008 File chrome/browser/metrics/metrics_service.cc (right): http://codereview.chromium.org/2324001/diff/21002/25008#newcode300 chrome/browser/metrics/metrics_service.cc:300: std::string hardware_class_; Private is a really a good thing... ...
10 years, 6 months ago (2010-06-02 01:57:20 UTC) #8
petkov
Please take another look. In terms of data transfer, these are the only changes relative ...
10 years, 6 months ago (2010-06-02 04:58:34 UTC) #9
jar (doing other things)
The flow is looking much better, and most of the issues are resolved. Thanks! As ...
10 years, 6 months ago (2010-06-02 06:20:55 UTC) #10
petkov
Well, it seems that converting metrics log to using a tree-based IR and flattening at ...
10 years, 6 months ago (2010-06-03 05:07:19 UTC) #11
petkov
Some thoughts... http://codereview.chromium.org/2324001/diff/72001/73004 File chrome/browser/metrics/metrics_log.cc (right): http://codereview.chromium.org/2324001/diff/72001/73004#newcode79 chrome/browser/metrics/metrics_log.cc:79: if (writer_) A possible enhancement is to ...
10 years, 6 months ago (2010-06-04 20:01:16 UTC) #12
jar (doing other things)
There are a few minor nits, and one more significant perf concern. My fear is ...
10 years, 6 months ago (2010-06-05 08:34:13 UTC) #13
petkov
Thanks again for the review. It seems that we won't be able to complete this ...
10 years, 6 months ago (2010-06-05 18:25:16 UTC) #14
jar (doing other things)
http://codereview.chromium.org/2324001/diff/72001/73002 File base/sys_info_chromeos.cc (right): http://codereview.chromium.org/2324001/diff/72001/73002#newcode72 base/sys_info_chromeos.cc:72: std::string hardware_class; I liked your suggestion to move it ...
10 years, 6 months ago (2010-06-06 06:30:19 UTC) #15
zel
http://codereview.chromium.org/2324001/diff/72001/73002 File base/sys_info_chromeos.cc (right): http://codereview.chromium.org/2324001/diff/72001/73002#newcode71 base/sys_info_chromeos.cc:71: std::string SysInfo::GetHardwareClass() { Why is this and the function ...
10 years, 6 months ago (2010-06-07 21:00:44 UTC) #16
petkov
Adding zel@ as a reviewer since jar@ is OOO. I think I've addressed all of ...
10 years, 6 months ago (2010-06-07 21:57:52 UTC) #17
zel
LGTM
10 years, 6 months ago (2010-06-07 22:25:22 UTC) #18
petkov
Thank you! Assuming you've reviewed it carefully, could you please push the patch for me? ...
10 years, 6 months ago (2010-06-07 22:27:53 UTC) #19
zel
on the second thought, revoking my earlier LGTM http://codereview.chromium.org/2324001/diff/102001/103004 File chrome/browser/metrics/metrics_service.cc (right): http://codereview.chromium.org/2324001/diff/102001/103004#newcode1937 chrome/browser/metrics/metrics_service.cc:1937: CommandLine ...
10 years, 6 months ago (2010-06-08 00:02:00 UTC) #20
petkov
On 2010/06/08 00:02:00, zel wrote: > on the second thought, revoking my earlier LGTM > ...
10 years, 6 months ago (2010-06-08 04:11:06 UTC) #21
zel
The rule of thumb is that we want to keep Chrome separated from the rest ...
10 years, 6 months ago (2010-06-08 15:30:21 UTC) #22
petkov
Based on our discussion, filed crosbug.com/3949
10 years, 6 months ago (2010-06-08 17:56:36 UTC) #23
petkov
10 years, 6 months ago (2010-06-09 17:32:26 UTC) #24

Powered by Google App Engine
This is Rietveld 408576698