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

Issue 42496: histogram synchronizer code between renderer and browser for UMA and about_histogram (Closed)

Created:
11 years, 9 months ago by raman
Modified:
9 years, 7 months ago
Visibility:
Public.

Description

Hi Jim, When you have sometime, could you look at this diff? thanks, raman

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 18

Patch Set 3 : '' #

Total comments: 30

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Total comments: 73

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Total comments: 2

Patch Set 10 : '' #

Patch Set 11 : '' #

Patch Set 12 : '' #

Total comments: 22

Patch Set 13 : '' #

Patch Set 14 : '' #

Patch Set 15 : '' #

Total comments: 14

Patch Set 16 : '' #

Patch Set 17 : '' #

Total comments: 8

Patch Set 18 : '' #

Patch Set 19 : '' #

Total comments: 4

Patch Set 20 : '' #

Patch Set 21 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+514 lines, -76 lines) Patch
M base/histogram.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +1 line, -3 lines 0 comments Download
M base/histogram.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +0 lines, -10 lines 0 comments Download
M chrome/browser/browser_about_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 3 chunks +10 lines, -8 lines 0 comments Download
M chrome/browser/browser_main.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +8 lines, -0 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 3 chunks +9 lines, -5 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 5 chunks +45 lines, -29 lines 0 comments Download
M chrome/browser/renderer_host/resource_message_filter.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/renderer_host/resource_message_filter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +3 lines, -1 line 0 comments Download
M chrome/common/common.vcproj View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +8 lines, -0 lines 0 comments Download
A chrome/common/histogram_synchronizer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +148 lines, -0 lines 0 comments Download
A chrome/common/histogram_synchronizer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +258 lines, -0 lines 0 comments Download
M chrome/common/render_messages_internal.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/renderer/render_thread.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/renderer/render_thread.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 3 chunks +5 lines, -5 lines 0 comments Download
M chrome/renderer/renderer_histogram_snapshots.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/renderer/renderer_histogram_snapshots.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +8 lines, -8 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
raman
Hi Jim, I have uploaded the patch we have been working together. Would appreciate your ...
11 years, 9 months ago (2009-03-23 06:59:43 UTC) #1
jar (doing other things)
This is looking very good. I made some suggestions about moving code around, and I ...
11 years, 9 months ago (2009-03-26 02:21:22 UTC) #2
raman
Hi jim, I have made all the changes you have suggested (except the callback to ...
11 years, 8 months ago (2009-04-06 06:16:10 UTC) #3
jar (doing other things)
I looked basically at the delta so that I could be sure to comment quickly. ...
11 years, 8 months ago (2009-04-07 06:21:26 UTC) #4
raman
Hi Jim, Made the changes you had suggested in the review. Could you please take ...
11 years, 8 months ago (2009-04-12 06:49:30 UTC) #5
raman
Hi Jim, It is same as lastnight's patch. Added DCHECK for io_thread.
11 years, 8 months ago (2009-04-12 19:59:21 UTC) #6
jar (doing other things)
I need to carefully read the two new files again. I'm sorry I ran out ...
11 years, 8 months ago (2009-04-18 18:36:00 UTC) #7
raman
Hi Jim, Made the changes you have suggested. Made couple of methods private. It looks ...
11 years, 8 months ago (2009-04-18 21:13:40 UTC) #8
jar (doing other things)
The code is looking pretty good. The big style comment is to try to put ...
11 years, 8 months ago (2009-04-19 08:17:39 UTC) #9
raman
Hi Jim, Many many thanks for you patience and the awesome comments. I have made ...
11 years, 8 months ago (2009-04-21 15:05:43 UTC) #10
raman
Hi Jim, Added sequence number checking in the timeout function (forgot to make that change ...
11 years, 8 months ago (2009-04-21 16:43:25 UTC) #11
raman
Hi Jim, I have made all the changes you have suggested. Many thanks for all ...
11 years, 8 months ago (2009-04-22 07:29:19 UTC) #12
jar (doing other things)
Very cool! :-) Pretty much all my suggestions are now super tiny. The only slightly ...
11 years, 8 months ago (2009-04-23 04:36:21 UTC) #13
raman
Hi Jim, Made all the changes you have suggested. Would appreciate if you could take ...
11 years, 8 months ago (2009-04-23 06:02:22 UTC) #14
raman
Hi Jim, I did a sync of the code as of this morning and uploaded ...
11 years, 8 months ago (2009-04-23 13:09:26 UTC) #15
jar (doing other things)
Now that each method is clear about what thread it is on, I spotted a ...
11 years, 8 months ago (2009-04-25 07:18:18 UTC) #16
raman
could you please look at this? http://codereview.chromium.org/42496/diff/14092/14095 File chrome/browser/metrics/metrics_service.cc (right): http://codereview.chromium.org/42496/diff/14092/14095#newcode898 Line 898: NewRunnableMethod(&MetricsService::CollectMemoryDetails), On ...
11 years, 7 months ago (2009-05-03 19:27:29 UTC) #17
jar (doing other things)
I looked at all the code (paying close attention to the changes)... and it sure ...
11 years, 7 months ago (2009-05-04 18:05:00 UTC) #18
raman
Hi Jim, Made the changes you have suggested. thanks, raman http://codereview.chromium.org/42496/diff/17001/18009 File chrome/common/histogram_synchronizer.cc (right): http://codereview.chromium.org/42496/diff/17001/18009#newcode180 ...
11 years, 7 months ago (2009-05-05 06:14:45 UTC) #19
jar (doing other things)
I figured out one way to work around the issue.. and then spoke with Darin ...
11 years, 7 months ago (2009-05-07 22:02:55 UTC) #20
raman
Hi Jim, I made the changes you have recommended. This code worked without hitting any ...
11 years, 7 months ago (2009-05-08 07:01:31 UTC) #21
jar (doing other things)
LGTM! :-) I'm pulling a an updated tree, and will merge onto that, and send ...
11 years, 7 months ago (2009-05-08 23:27:25 UTC) #22
raman
Hi JIm, Made the changes we have discussed this weekend (tried to add comments about ...
11 years, 7 months ago (2009-05-12 05:29:01 UTC) #23
jar (doing other things)
11 years, 7 months ago (2009-05-15 01:31:03 UTC) #24
LGTM

I'll pull this into my tree and run with a few days to be sure I don't see any
problems.

Thanks!!

Jim

Powered by Google App Engine
This is Rietveld 408576698