Add SiteIsolation.IsolateExtensions metrics and tests.
commit37dfd9de7667e9d177edc27e208359cd0020fb26
authornick <nick@chromium.org>
Mon, 14 Sep 2015 19:54:03 +0000 (14 12:54 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 14 Sep 2015 19:54:39 +0000 (14 19:54 +0000)
treec04a88972e4e407009635b1e671f977e2ac1862d
parent90e112b610f2c02334d5f078de65368270c2afcb
Add SiteIsolation.IsolateExtensions metrics and tests.

These new UMA metrics estimate the process-count impact of a policy
wherein extension content and web content never share processes,
even if one contains the other in an iframe.

SiteDetailsBrowserTest: add tests for the new metrics.

WebContentsImpl: Fix a UMA metrics counting error where
<iframe src="about:blank"> was counted as a distinct site.
Now we'll only do that if we see "about:blank" in an
undifferentiated SiteInstance.

BUG=528049

Review URL: https://codereview.chromium.org/1313863006

Cr-Commit-Position: refs/heads/master@{#348690}
chrome/browser/site_details.cc
chrome/browser/site_details.h
chrome/browser/site_details_browsertest.cc
content/browser/web_contents/web_contents_impl.cc
tools/metrics/histograms/histograms.xml