Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(191)

Issue 1313863006: Add SiteIsolation.IsolateExtensions metrics and tests. (Closed)

Created:
5 years, 3 months ago by ncarter (slow)
Modified:
5 years, 3 months ago
Reviewers:
jam, Ilya Sherman, nasko
CC:
chromium-reviews, extensions-reviews_chromium.org, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, darin-cc_chromium.org, asvitkine+watch_chromium.org, chromium-apps-reviews_chromium.org, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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 Committed: https://crrev.com/37dfd9de7667e9d177edc27e208359cd0020fb26 Cr-Commit-Position: refs/heads/master@{#348690}

Patch Set 1 #

Patch Set 2 : Simplify patch. #

Patch Set 3 : Self-review fixes #

Patch Set 4 : More self review fixes. #

Patch Set 5 : Patch for review. #

Patch Set 6 : Attempt to fix clang compile warning. #

Total comments: 22

Patch Set 7 : Nasko's fixes. #

Patch Set 8 : Fix "not not" #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+487 lines, -76 lines) Patch
M chrome/browser/site_details.h View 1 2 3 4 5 2 chunks +31 lines, -6 lines 0 comments Download
M chrome/browser/site_details.cc View 1 2 3 4 5 6 5 chunks +96 lines, -65 lines 0 comments Download
M chrome/browser/site_details_browsertest.cc View 1 2 3 4 5 6 8 chunks +319 lines, -5 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 5 6 7 1 chunk +8 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 1 chunk +33 lines, -0 lines 2 comments Download

Messages

Total messages: 21 (6 generated)
ncarter (slow)
nasko, please review
5 years, 3 months ago (2015-09-04 19:32:12 UTC) #2
nasko
https://codereview.chromium.org/1313863006/diff/100001/chrome/browser/site_details.cc File chrome/browser/site_details.cc (right): https://codereview.chromium.org/1313863006/diff/100001/chrome/browser/site_details.cc#newcode94 chrome/browser/site_details.cc:94: for (IsolationScenario& scenario : site_data->scenarios) { nit: no need ...
5 years, 3 months ago (2015-09-04 22:19:44 UTC) #3
ncarter (slow)
ptal https://codereview.chromium.org/1313863006/diff/100001/chrome/browser/site_details.cc File chrome/browser/site_details.cc (right): https://codereview.chromium.org/1313863006/diff/100001/chrome/browser/site_details.cc#newcode94 chrome/browser/site_details.cc:94: for (IsolationScenario& scenario : site_data->scenarios) { On 2015/09/04 ...
5 years, 3 months ago (2015-09-10 19:08:59 UTC) #4
nasko
LGTM https://codereview.chromium.org/1313863006/diff/100001/chrome/browser/site_details.cc File chrome/browser/site_details.cc (right): https://codereview.chromium.org/1313863006/diff/100001/chrome/browser/site_details.cc#newcode94 chrome/browser/site_details.cc:94: for (IsolationScenario& scenario : site_data->scenarios) { On 2015/09/10 ...
5 years, 3 months ago (2015-09-11 18:14:11 UTC) #5
ncarter (slow)
jam: approval needed
5 years, 3 months ago (2015-09-11 18:15:54 UTC) #7
ncarter (slow)
+isherman for histograms.xml
5 years, 3 months ago (2015-09-11 18:16:18 UTC) #9
Ilya Sherman
histograms lgtm https://codereview.chromium.org/1313863006/diff/140001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1313863006/diff/140001/tools/metrics/histograms/histograms.xml#newcode43374 tools/metrics/histograms/histograms.xml:43374: +<histogram name="SiteIsolation.IsolateExtensionsProcessCountEstimate"> nit: Maybe name this "UpperBound", ...
5 years, 3 months ago (2015-09-11 20:08:23 UTC) #10
ncarter (slow)
https://codereview.chromium.org/1313863006/diff/140001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1313863006/diff/140001/tools/metrics/histograms/histograms.xml#newcode43374 tools/metrics/histograms/histograms.xml:43374: +<histogram name="SiteIsolation.IsolateExtensionsProcessCountEstimate"> On 2015/09/11 20:08:23, Ilya Sherman wrote: > ...
5 years, 3 months ago (2015-09-11 20:11:09 UTC) #11
jam
lgtm
5 years, 3 months ago (2015-09-11 20:56:29 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1313863006/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1313863006/140001
5 years, 3 months ago (2015-09-11 21:20:03 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/102156)
5 years, 3 months ago (2015-09-11 21:48:25 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1313863006/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1313863006/140001
5 years, 3 months ago (2015-09-14 18:19:16 UTC) #18
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 3 months ago (2015-09-14 19:54:11 UTC) #19
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/37dfd9de7667e9d177edc27e208359cd0020fb26 Cr-Commit-Position: refs/heads/master@{#348690}
5 years, 3 months ago (2015-09-14 19:54:53 UTC) #20
commit-bot: I haz the power
5 years, 3 months ago (2015-09-23 12:36:04 UTC) #21
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/37dfd9de7667e9d177edc27e208359cd0020fb26
Cr-Commit-Position: refs/heads/master@{#348690}

Powered by Google App Engine
This is Rietveld 408576698