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

Issue 1181493002: [Patch 3 of 6] Split out content/child's SiteIsolationPolicy into two new classes. (Closed)

Created:
5 years, 6 months ago by ncarter (slow)
Modified:
5 years, 6 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, mlamouri+watch-content_chromium.org, jam, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org, chromium-apps-reviews_chromium.org, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@rename_policy_to_sniffer2
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Split out content/child's SiteIsolationPolicy into two new classes. New classes are CrossSiteDocumentClassifier and SiteIsolationStatsGatherer. The latter employs the former. In a follow-on change I'll split these into two files, and move CrossSiteDocumentClassifier into content/common. SiteIsolationStatsGatherer will stay where it is. BUG=481066, 268640 Committed: https://crrev.com/88299ba8fd756cee1b3e5e4d2dc10f2ff771f316 Cr-Commit-Position: refs/heads/master@{#334755}

Patch Set 1 #

Patch Set 2 : Fix unit test. #

Patch Set 3 : Patch for self review #

Patch Set 4 : Self review fixes #

Patch Set 5 : More self review fixes. #

Patch Set 6 : Yet more comment fixes. #

Total comments: 5

Patch Set 7 : Sync #

Patch Set 8 : Alex's fixes #

Total comments: 2

Patch Set 9 : Charlie's fix #

Total comments: 2

Patch Set 10 : Add crbug. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+147 lines, -143 lines) Patch
M chrome/renderer/chrome_content_renderer_client.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 3 4 5 6 7 8 9 1 chunk +6 lines, -6 lines 0 comments Download
M content/child/resource_dispatcher.cc View 1 2 3 4 5 6 3 chunks +6 lines, -7 lines 0 comments Download
M content/child/site_isolation_policy.h View 1 2 3 4 5 6 7 5 chunks +30 lines, -28 lines 0 comments Download
M content/child/site_isolation_policy.cc View 1 2 3 4 5 6 14 chunks +43 lines, -40 lines 0 comments Download
M content/child/site_isolation_policy_browsertest.cc View 1 2 4 chunks +6 lines, -6 lines 0 comments Download
M content/child/site_isolation_policy_unittest.cc View 1 2 3 chunks +46 lines, -44 lines 0 comments Download
M content/public/renderer/content_renderer_client.h View 1 2 3 4 5 6 1 chunk +4 lines, -4 lines 0 comments Download
M content/public/renderer/content_renderer_client.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/render_process_impl.cc View 1 2 3 4 5 1 chunk +2 lines, -3 lines 0 comments Download
M extensions/shell/renderer/shell_content_renderer_client.h View 1 chunk +1 line, -1 line 0 comments Download
M extensions/shell/renderer/shell_content_renderer_client.cc View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 18 (5 generated)
ncarter (slow)
5 years, 6 months ago (2015-06-11 06:20:12 UTC) #2
ncarter (slow)
Alex, please take a look once you're satisfied with "part 2"
5 years, 6 months ago (2015-06-11 06:20:42 UTC) #3
alexmos
LGTM with nits. https://codereview.chromium.org/1181493002/diff/100001/content/child/site_isolation_policy.cc File content/child/site_isolation_policy.cc (right): https://codereview.chromium.org/1181493002/diff/100001/content/child/site_isolation_policy.cc#newcode490 content/child/site_isolation_policy.cc:490: // detection. This is a real ...
5 years, 6 months ago (2015-06-11 20:17:48 UTC) #4
ncarter (slow)
creis: PTAL https://codereview.chromium.org/1181493002/diff/100001/content/child/site_isolation_policy.h File content/child/site_isolation_policy.h (right): https://codereview.chromium.org/1181493002/diff/100001/content/child/site_isolation_policy.h#newcode84 content/child/site_isolation_policy.h:84: // request identified by |request_id|. Any data ...
5 years, 6 months ago (2015-06-16 20:51:14 UTC) #6
ncarter (slow)
thestig@chromium.org: Please approve changes in chrome/ rdevlin.cronin@chromium.org: Please approve changes in extensions/
5 years, 6 months ago (2015-06-16 20:52:57 UTC) #8
Devlin
extensions lgtm
5 years, 6 months ago (2015-06-16 20:58:58 UTC) #9
Charlie Reis
Very nice. LGTM with nit. https://codereview.chromium.org/1181493002/diff/140001/chrome/renderer/chrome_content_renderer_client.cc File chrome/renderer/chrome_content_renderer_client.cc (right): https://codereview.chromium.org/1181493002/diff/140001/chrome/renderer/chrome_content_renderer_client.cc#newcode1544 chrome/renderer/chrome_content_renderer_client.cc:1544: // TODO(nick): Gather stats ...
5 years, 6 months ago (2015-06-16 21:21:52 UTC) #10
ncarter (slow)
https://codereview.chromium.org/1181493002/diff/140001/chrome/renderer/chrome_content_renderer_client.cc File chrome/renderer/chrome_content_renderer_client.cc (right): https://codereview.chromium.org/1181493002/diff/140001/chrome/renderer/chrome_content_renderer_client.cc#newcode1544 chrome/renderer/chrome_content_renderer_client.cc:1544: // TODO(nick): Gather stats for extension processes too. On ...
5 years, 6 months ago (2015-06-16 22:24:48 UTC) #11
Lei Zhang
chrome/ lgtm https://codereview.chromium.org/1181493002/diff/160001/chrome/renderer/chrome_content_renderer_client.cc File chrome/renderer/chrome_content_renderer_client.cc (right): https://codereview.chromium.org/1181493002/diff/160001/chrome/renderer/chrome_content_renderer_client.cc#newcode1544 chrome/renderer/chrome_content_renderer_client.cc:1544: // TODO(nick): Gather stats for extension processes ...
5 years, 6 months ago (2015-06-16 22:41:20 UTC) #12
ncarter (slow)
https://codereview.chromium.org/1181493002/diff/160001/chrome/renderer/chrome_content_renderer_client.cc File chrome/renderer/chrome_content_renderer_client.cc (right): https://codereview.chromium.org/1181493002/diff/160001/chrome/renderer/chrome_content_renderer_client.cc#newcode1544 chrome/renderer/chrome_content_renderer_client.cc:1544: // TODO(nick): Gather stats for extension processes too; we ...
5 years, 6 months ago (2015-06-16 23:00:18 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1181493002/180001
5 years, 6 months ago (2015-06-16 23:01:39 UTC) #16
commit-bot: I haz the power
Committed patchset #10 (id:180001)
5 years, 6 months ago (2015-06-16 23:57:51 UTC) #17
commit-bot: I haz the power
5 years, 6 months ago (2015-06-16 23:58:32 UTC) #18
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/88299ba8fd756cee1b3e5e4d2dc10f2ff771f316
Cr-Commit-Position: refs/heads/master@{#334755}

Powered by Google App Engine
This is Rietveld 408576698