Deprecate Once-Per-Origin Navigation histograms

Desktop / Chromium - elawrence [chromium.org] - 19 April 2017 17:20 EDT

As a part of scoping changes to behavior, we want to collect the absolute number of page navigations in Incognito mode instead of counting only once-per-origin. This CL deprecates the old metrics.

BUG=712843 TEST=components_unittests --gtest_filter=NavigationMetrics*.*

Review-Url: https://codereview.chromium.org/2823233003 Cr-Commit-Position: refs/heads/master@{#465752}

847504d Deprecate Once-Per-Origin Navigation histograms
chrome/browser/BUILD.gn | 2 -
.../tab_contents/navigation_metrics_recorder.cc | 9 +---
.../tab_contents/origins_seen_service_factory.cc | 45 -------------------
.../tab_contents/origins_seen_service_factory.h | 38 ----------------
components/navigation_metrics/BUILD.gn | 3 --
.../navigation_metrics/navigation_metrics.cc | 13 +-----
components/navigation_metrics/navigation_metrics.h | 3 +-
.../navigation_metrics_unittest.cc | 4 +-
.../navigation_metrics/origins_seen_service.cc | 22 ----------
.../navigation_metrics/origins_seen_service.h | 33 --------------
ios/chrome/browser/metrics/BUILD.gn | 2 -
.../ios_chrome_origins_seen_service_factory.cc | 44 -------------------
.../ios_chrome_origins_seen_service_factory.h | 51 ----------------------
ios/chrome/browser/tabs/tab.mm | 7 +--
tools/metrics/histograms/histograms.xml | 6 +++
15 files changed, 12 insertions(+), 270 deletions(-)

Upstream: git.chromium.org


  • Share