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

Issue 2241673002: Make UnsafeResource hold a WebContents getter instead of RenderFrame ids (Closed)

Created:
4 years, 4 months ago by scottmg
Modified:
4 years, 4 months ago
Reviewers:
jam
CC:
chromium-reviews, grt+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make UnsafeResource hold a WebContents getter instead of RenderFrame ids This is as a precursor to creating a SafeBrowsingNavigationThrottle, where there won't be RenderFrame ids available. R=jam@chromium.org BUG=575215 Committed: https://crrev.com/22e4f25a4aeaa41742074c9aa5ce7a2c10d14448 Cr-Commit-Position: refs/heads/master@{#412049}

Patch Set 1 #

Patch Set 2 : android #

Patch Set 3 : . #

Patch Set 4 : . #

Patch Set 5 : android #

Total comments: 4

Patch Set 6 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -85 lines) Patch
M chrome/browser/renderer_host/data_reduction_proxy_resource_throttle_android.cc View 1 2 3 4 5 2 chunks +5 lines, -11 lines 0 comments Download
M chrome/browser/renderer_host/safe_browsing_resource_throttle.cc View 1 2 3 4 5 2 chunks +4 lines, -9 lines 0 comments Download
M chrome/browser/safe_browsing/client_side_detection_host.cc View 1 2 3 3 chunks +9 lines, -10 lines 0 comments Download
M chrome/browser/safe_browsing/client_side_detection_host_unittest.cc View 1 2 3 4 6 chunks +13 lines, -21 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page.cc View 1 2 3 2 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc View 1 2 3 4 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page_unittest.cc View 1 2 3 1 chunk +4 lines, -3 lines 0 comments Download
M chrome/browser/safe_browsing/threat_details_unittest.cc View 1 2 3 4 1 chunk +4 lines, -3 lines 0 comments Download
M chrome/browser/safe_browsing/ui_manager.h View 1 2 3 3 chunks +7 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/ui_manager.cc View 1 2 3 6 chunks +17 lines, -15 lines 0 comments Download
M chrome/browser/safe_browsing/ui_manager_unittest.cc View 1 2 3 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/interstitials/interstitial_ui.cc View 1 2 3 2 chunks +5 lines, -3 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 53 (45 generated)
scottmg
4 years, 4 months ago (2016-08-12 02:13:30 UTC) #21
jam
per discussion, storing the raw WebContents pointers isn't safe since there thread hops. we should ...
4 years, 4 months ago (2016-08-12 17:50:53 UTC) #24
scottmg
On 2016/08/12 17:50:53, jam wrote: > per discussion, storing the raw WebContents pointers isn't safe ...
4 years, 4 months ago (2016-08-12 20:06:20 UTC) #37
jam
lgtm https://codereview.chromium.org/2241673002/diff/130001/chrome/browser/renderer_host/data_reduction_proxy_resource_throttle_android.cc File chrome/browser/renderer_host/data_reduction_proxy_resource_throttle_android.cc (right): https://codereview.chromium.org/2241673002/diff/130001/chrome/browser/renderer_host/data_reduction_proxy_resource_throttle_android.cc#newcode124 chrome/browser/renderer_host/data_reduction_proxy_resource_throttle_android.cc:124: int render_frame_id) { ditto https://codereview.chromium.org/2241673002/diff/130001/chrome/browser/renderer_host/safe_browsing_resource_throttle.cc File chrome/browser/renderer_host/safe_browsing_resource_throttle.cc (right): ...
4 years, 4 months ago (2016-08-15 19:49:10 UTC) #40
scottmg
thanks https://codereview.chromium.org/2241673002/diff/130001/chrome/browser/renderer_host/data_reduction_proxy_resource_throttle_android.cc File chrome/browser/renderer_host/data_reduction_proxy_resource_throttle_android.cc (right): https://codereview.chromium.org/2241673002/diff/130001/chrome/browser/renderer_host/data_reduction_proxy_resource_throttle_android.cc#newcode124 chrome/browser/renderer_host/data_reduction_proxy_resource_throttle_android.cc:124: int render_frame_id) { On 2016/08/15 19:49:10, jam wrote: ...
4 years, 4 months ago (2016-08-15 19:57:18 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2241673002/190001
4 years, 4 months ago (2016-08-15 21:05:05 UTC) #50
commit-bot: I haz the power
Committed patchset #6 (id:190001)
4 years, 4 months ago (2016-08-15 21:09:21 UTC) #51
commit-bot: I haz the power
4 years, 4 months ago (2016-08-15 21:12:50 UTC) #53
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/22e4f25a4aeaa41742074c9aa5ce7a2c10d14448
Cr-Commit-Position: refs/heads/master@{#412049}

Powered by Google App Engine
This is Rietveld 408576698