Add a crash key for the top-level origin.

This is intended to help diagnose crashes and find repro
steps. While in some cases a full URL is available (and is
added), in the case of a render process that may be
out-of-process, full URLs may not be available. This adds
as much info as is available (full URL if possible, just
an origin if not).

BUG=793067
TEST=none

Change-Id: I11134cc5a5238839236b05717db1afe30d19328d
Reviewed-on: https://chromium-review.googlesource.com/818389
Reviewed-by: Robert Sesek <[email protected]>
Reviewed-by: John Abd-El-Malek <[email protected]>
Reviewed-by: Charlie Reis <[email protected]>
Commit-Queue: Avi Drissman <[email protected]>
Cr-Commit-Position: refs/heads/master@{#523346}
8 files changed