Various cleaups for AMP page load metrics.
* add support for detecting URLs on the amp cache domain using the new
host prefixing scheme
* add support for amp documents loaded in the google news viewer
* factor existing google url detection logic into a common helper, and use
it in both amp observer and from search observer
* add metrics broken out by type of amp load (amp cache, google search viewer, etc)
since performance may vary depending on view type (especially for bare amp cache
urls)
BUG=
722690
Review-Url:
https://codereview.chromium.org/2880323003
Cr-Commit-Position: refs/heads/master@{#472226}
Committed:
https://chromium.googlesource.com/chromium/src/+/d28685525ed6cda7ee3cd9a84bca764d70512132