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

Issue 462027: Use factory to create histograms, and refcounts to track lifetimes... (Closed)

Created:
11 years ago by jar (doing other things)
Modified:
9 years, 7 months ago
Reviewers:
raman
CC:
chromium-reviews_googlegroups.com, brettw+cc_chromium.org, ncarter (slow), ben+cc_chromium.org, Paul Godavari, jam, idana, Paweł Hajdan Jr., darin (slow to review), tim (not reviewing)
Visibility:
Public.

Description

Use factory to create histograms, and refcounts to track lifetimes This is CL patch 377028 by Raman Tenneti, with minor changes to make the try-bots happier. It is cleanup that better ensures lifetimes of histograms (making it harder for users to abuse them). bug=16495 (repairs leak induced by the first landing) bug=18840 (should make leaks less possible) tbr=raman.tenneti Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=33933

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+771 lines, -420 lines) Patch
M base/histogram.h View 1 2 3 4 5 6 7 8 18 chunks +213 lines, -104 lines 0 comments Download
M base/histogram.cc View 1 2 3 4 5 6 7 8 11 chunks +191 lines, -69 lines 0 comments Download
M base/histogram_unittest.cc View 1 2 3 4 5 6 7 8 5 chunks +74 lines, -53 lines 0 comments Download
M base/message_loop.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M base/message_loop.cc View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -3 lines 0 comments Download
M chrome/browser/chrome_browser_application_mac.mm View 5 6 7 8 1 chunk +5 lines, -4 lines 0 comments Download
M chrome/browser/diagnostics/sqlite_diagnostics.cc View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -3 lines 0 comments Download
M chrome/browser/jankometer.cc View 1 2 3 4 5 6 7 8 3 chunks +12 lines, -10 lines 0 comments Download
M chrome/browser/net/dns_host_info.cc View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -4 lines 0 comments Download
M chrome/browser/net/websocket_experiment/websocket_experiment_runner.cc View 1 2 3 4 5 6 7 8 2 chunks +41 lines, -31 lines 0 comments Download
M chrome/browser/renderer_host/buffered_resource_handler.cc View 1 2 3 4 5 6 7 8 1 chunk +14 lines, -9 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page.cc View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -3 lines 0 comments Download
M chrome/browser/ssl/ssl_blocking_page.cc View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -3 lines 0 comments Download
M chrome/browser/sync/profile_sync_service.cc View 1 2 3 4 5 6 7 8 1 chunk +6 lines, -5 lines 0 comments Download
M chrome/renderer/render_thread.cc View 1 2 3 4 5 6 7 8 1 chunk +11 lines, -5 lines 0 comments Download
M net/base/connection_type_histograms.cc View 1 2 3 4 5 6 7 8 1 chunk +12 lines, -10 lines 0 comments Download
M net/base/mime_sniffer.cc View 1 2 3 4 5 6 7 8 12 chunks +45 lines, -41 lines 0 comments Download
M net/base/sdch_manager.cc View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -4 lines 0 comments Download
M net/disk_cache/histogram_macros.h View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -3 lines 0 comments Download
M net/disk_cache/stats.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M net/disk_cache/stats.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -1 line 0 comments Download
M net/disk_cache/stats_histogram.h View 1 2 3 4 5 6 7 8 4 chunks +14 lines, -2 lines 0 comments Download
M net/disk_cache/stats_histogram.cc View 1 2 3 4 5 6 7 8 1 chunk +31 lines, -0 lines 0 comments Download
M net/ftp/ftp_network_transaction.cc View 1 2 3 4 5 6 7 8 1 chunk +12 lines, -10 lines 0 comments Download
M net/ftp/ftp_server_type_histograms.cc View 1 2 3 4 5 6 7 8 1 chunk +12 lines, -10 lines 0 comments Download
M net/http/http_network_transaction.cc View 1 2 3 4 5 6 7 8 2 chunks +28 lines, -21 lines 0 comments Download
M net/socket_stream/socket_stream_metrics.cc View 1 2 3 4 5 6 7 8 1 chunk +12 lines, -10 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
jar (doing other things)
Raman: I've included minor changes we talked about. It is now passing on all try ...
11 years ago (2009-12-05 23:18:13 UTC) #1
raman
11 years ago (2009-12-05 23:22:10 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698