|
Add LOCAL_ prefix to non-UMA histogram macros.
This makes it harder to accidently use the wrong
macro.
Also, removes the D* variants of the macros and
associated DebugNow() function. These were rarely
used and removing them removes clutter from the
header file. Existing uses converted to be behind
NDEBUG ifdefs.
No functional changes except for a fix to the
code in content_based_thumbnailing_algorithm.cc
which was incorrectly using a ternary operator for
the histogram name (which doesn't work since the
macros cache the histogram object) and removal
of local histograms Spellcheck.SuggestTime and
Spellcheck.InitTime per groby@.
Since this is an API rename, TBR'ing downstream
owners.
BUG= 311349
TBR=groby@chromium.org,zea@chromium.org,jeremy@chromium.org,reveman@chromium.org,agl@chromium.org,jam@chromium.org
Committed: https://crrev.com/c0fb802166c8389285c8a850bd47d2d96935f6f1
Cr-Commit-Position: refs/heads/master@{#291840}
Total comments: 4
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+130 lines, -261 lines) |
Patch |
|
M |
base/metrics/field_trial.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
base/metrics/histogram.h
|
View
|
|
7 chunks |
+16 lines, -87 lines |
0 comments
|
Download
|
|
M |
base/metrics/histogram.cc
|
View
|
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
|
M |
base/metrics/histogram_unittest.cc
|
View
|
|
1 chunk |
+5 lines, -8 lines |
0 comments
|
Download
|
|
M |
base/metrics/sparse_histogram.h
|
View
|
1
2
|
1 chunk |
+3 lines, -29 lines |
0 comments
|
Download
|
|
M |
base/metrics/sparse_histogram_unittest.cc
|
View
|
1
2
|
3 chunks |
+5 lines, -18 lines |
0 comments
|
Download
|
|
M |
base/metrics/statistics_recorder_unittest.cc
|
View
|
|
2 chunks |
+7 lines, -18 lines |
0 comments
|
Download
|
|
M |
cc/resources/tile_manager.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/chrome_browser_main_mac.mm
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/memory/oom_priority_manager.cc
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/external_registry_loader_win.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/history/history_backend.cc
|
View
|
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/browser/metrics/chrome_stability_metrics_provider.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/net/evicted_domain_cookie_counter.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/net/network_stats.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/net/url_info.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/renderer_host/chrome_render_message_filter.cc
|
View
|
|
1 chunk |
+10 lines, -10 lines |
0 comments
|
Download
|
|
M |
chrome/browser/safe_browsing/database_manager.cc
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/spellchecker/spellcheck_platform_mac.mm
|
View
|
1
|
2 chunks |
+0 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sync_file_system/drive_backend/sync_engine.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc
|
View
|
|
1 chunk |
+7 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/thumbnails/simple_thumbnail_crop.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/omnibox/omnibox_edit_model.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/frame/browser_view.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/ui/webui/ntp/new_tab_page_handler.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/renderer/spellchecker/hunspell_engine.cc
|
View
|
1
|
2 chunks |
+0 lines, -7 lines |
0 comments
|
Download
|
|
M |
components/startup_metric_utils/startup_metric_utils.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/browser/browser_main_loop.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/browser/plugin_loader_posix.cc
|
View
|
1
2
|
2 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/input/input_router_impl.cc
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
content/child/child_histogram_message_filter.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
content/child/web_database_observer_impl.cc
|
View
|
|
6 chunks |
+12 lines, -12 lines |
0 comments
|
Download
|
|
M |
content/renderer/render_thread_impl.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
crypto/nss_util.cc
|
View
|
|
1 chunk |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
net/cert/x509_certificate.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
net/disk_cache/blockfile/block_bitmaps_v3.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
net/disk_cache/blockfile/block_files.cc
|
View
|
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
net/dns/host_resolver_impl.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
sync/util/data_type_histogram_unittest.cc
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
Total messages: 13 (0 generated)
|