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

Issue 2744003: Preparation CL for adding crash metrics UMA counters to ChromeFrame. Basicall... (Closed)

Created:
10 years, 6 months ago by ananta
Modified:
9 years, 6 months ago
Reviewers:
amit, joth
CC:
chromium-reviews, ben+cc_chromium.org
Visibility:
Public.

Description

Preparation CL for adding crash metrics UMA counters to ChromeFrame. Basically this would mean that metrics reporting would be done directly by ChromeFrame. Currently ChromeFrame uses Chrome to upload this data. Refactored the chrome metrics service and metrics logging functionality into base classes defined in chrome\common\metrics_helpers.cc/.h. While this refactoring is by no means complete it is a first step to avoid needless code duplication between chrome and chrome frame. Bug=46057 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=49354

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Total comments: 1

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Patch Set 10 : '' #

Patch Set 11 : '' #

Patch Set 12 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+717 lines, -642 lines) Patch
M chrome/browser/metrics/metrics_log.h View 1 2 3 4 5 6 7 8 9 10 5 chunks +8 lines, -135 lines 0 comments Download
M chrome/browser/metrics/metrics_log.cc View 1 2 3 4 5 6 7 8 3 chunks +20 lines, -360 lines 1 comment Download
M chrome/browser/metrics/metrics_service.h View 1 2 3 4 5 6 7 8 9 chunks +4 lines, -36 lines 0 comments Download
M chrome/browser/metrics/metrics_service.cc View 1 2 3 4 5 6 7 8 9 10 11 8 chunks +12 lines, -111 lines 0 comments Download
M chrome/chrome_common.gypi View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -0 lines 0 comments Download
A chrome/common/metrics_helpers.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +213 lines, -0 lines 0 comments Download
A chrome/common/metrics_helpers.cc View 1 2 3 4 5 1 chunk +457 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
ananta
10 years, 6 months ago (2010-06-08 06:12:19 UTC) #1
amit
lgtm http://codereview.chromium.org/2744003/diff/35001/36003 File chrome/browser/metrics/metrics_service.cc (right): http://codereview.chromium.org/2744003/diff/35001/36003#newcode577 chrome/browser/metrics/metrics_service.cc:577: MetricsLog* current_log = static_cast<MetricsLog*>(current_log_); Would it be better ...
10 years, 6 months ago (2010-06-08 21:07:52 UTC) #2
joth
10 years, 6 months ago (2010-06-10 10:52:37 UTC) #3
http://codereview.chromium.org/2744003/diff/1008/49005
File chrome/browser/metrics/metrics_log.cc (left):

http://codereview.chromium.org/2744003/diff/1008/49005#oldcode105
chrome/browser/metrics/metrics_log.cc:105:
UnsignedChar(hardware_class_.c_str()));
I think your change has reverted this code (added in r49197) meaning its test
now fails on CrOS:
http://build.chromium.org/buildbot/waterfall/builders/Linux%20Builder%20(Chro...

Powered by Google App Engine
This is Rietveld 408576698