prerender: Remove AddPrerenderForOffline()

Desktop / Chromium - Egor Pasko [chromium.org] - 12 October 2017 09:31 EDT

Also removed ORIGIN_OFFLINE and deprecated the corresponding suffix in histograms.xml.

Bug: 755934 Change-Id: I174b34b772380959deaa728b7f2617aa371e0fdf Reviewed-on: https://chromium-review.googlesource.com/707097

3dd9c71 prerender: Remove AddPrerenderForOffline()
chrome/browser/prerender/prerender_browsertest.cc | 58 --------
chrome/browser/prerender/prerender_contents.cc | 10 +-
chrome/browser/prerender/prerender_histograms.cc | 2 -
chrome/browser/prerender/prerender_manager.cc | 33 +----
chrome/browser/prerender/prerender_manager.h | 16 ---
chrome/browser/prerender/prerender_origin.cc | 32 ++---
chrome/browser/prerender/prerender_origin.h | 4 +-
.../prerender/prerender_resource_throttle.cc | 20 ++-
chrome/browser/prerender/prerender_unittest.cc | 147 ++++-----------------
tools/metrics/histograms/histograms.xml | 18 ++-
10 files changed, 72 insertions(+), 268 deletions(-)

Upstream: git.chromium.org


  • Share