Previews Server HTTPS URLLoader pingback support

Desktop / Chromium - Ryan Sturm [chromium.org] - 28 February 2019 01:38 EST

This CL supports the pingback for HTTPS Server Previews URLLoader implementation. During committed preview decision time, if we are serving a lite page, the ServerLitePageInfo is backfilled from the navigation handle. This does not support reporting on failures.

Bug: 921757,936496 Change-Id: Ic474e0d1bd49f6a181704edcfe24e5f1025d6089 Reviewed-on: https://chromium-review.googlesource.com/c/1487916 Commit-Queue: Ryan Sturm

737bd1db2bd6 Previews Server HTTPS URLLoader pingback support
chrome/browser/chrome_content_browser_client.cc | 8 ++--
chrome/browser/chrome_content_browser_client.h | 3 +-
chrome/browser/previews/previews_content_util.cc | 48 ++++++++++++++++++++-
chrome/browser/previews/previews_content_util.h | 3 +-
.../previews/previews_content_util_unittest.cc | 25 +++++------
.../previews/previews_lite_page_browsertest.cc | 50 +++++++++++++++++++++-
.../core/common/data_reduction_proxy_headers.cc | 3 +-
7 files changed, 120 insertions(+), 20 deletions(-)

Upstream: git.chromium.org


  • Share