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

Issue 2067493003: Moving (Can|Grant)AccessFilesOfPageState into RenderFrameHostImpl. (Closed)

Created:
4 years, 6 months ago by Łukasz Anforowicz
Modified:
4 years, 6 months ago
Reviewers:
Charlie Reis
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@grant-file-access-after-transfer
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Moving (Can|Grant)AccessFilesOfPageState into RenderFrameHostImpl. Moving CanAccessFilesOfPageState and CanAccessFilesOfPageState methods from RenderViewHostImpl into RenderFrameHostImpl (and refactoring and deduplicating some code along the way). BUG=613260 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/43c38f1248a0e5f70c025675cd0de7c2f4628f0d Cr-Commit-Position: refs/heads/master@{#400479}

Patch Set 1 #

Patch Set 2 : Removed unnecessary logging + simplified condition of an "if" statement. #

Patch Set 3 : Rebasing... #

Patch Set 4 : Rebasing... #

Patch Set 5 : Avoid dereferencing (potentially null) main frame. #

Patch Set 6 : Rebasing... #

Patch Set 7 : Pulling in some changes that got removed from the dependent CL. #

Total comments: 2

Patch Set 8 : Move CanReadAllFiles further down in the .cc file. #

Patch Set 9 : Rebasing... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -52 lines) Patch
M content/browser/child_process_security_policy_impl.h View 1 2 3 4 5 6 2 chunks +4 lines, -0 lines 0 comments Download
M content/browser/child_process_security_policy_impl.cc View 1 2 3 4 5 6 7 2 chunks +10 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.h View 1 2 3 4 5 1 chunk +10 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 3 4 5 6 6 chunks +24 lines, -14 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.h View 1 2 3 4 5 1 chunk +0 lines, -10 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 2 3 4 5 6 2 chunks +3 lines, -25 lines 0 comments Download
M content/common/page_state_serialization.h View 1 2 3 4 5 1 chunk +4 lines, -3 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 16 (7 generated)
Łukasz Anforowicz
Charlie, can you take a look please?
4 years, 6 months ago (2016-06-14 20:02:03 UTC) #3
Charlie Reis
LGTM!
4 years, 6 months ago (2016-06-16 22:06:50 UTC) #4
Charlie Reis
Still LGTM. https://codereview.chromium.org/2067493003/diff/110001/content/browser/child_process_security_policy_impl.cc File content/browser/child_process_security_policy_impl.cc (right): https://codereview.chromium.org/2067493003/diff/110001/content/browser/child_process_security_policy_impl.cc#newcode370 content/browser/child_process_security_policy_impl.cc:370: bool ChildProcessSecurityPolicyImpl::CanReadAllFiles( Nit: This is in the ...
4 years, 6 months ago (2016-06-17 07:07:39 UTC) #5
Łukasz Anforowicz
https://codereview.chromium.org/2067493003/diff/110001/content/browser/child_process_security_policy_impl.cc File content/browser/child_process_security_policy_impl.cc (right): https://codereview.chromium.org/2067493003/diff/110001/content/browser/child_process_security_policy_impl.cc#newcode370 content/browser/child_process_security_policy_impl.cc:370: bool ChildProcessSecurityPolicyImpl::CanReadAllFiles( On 2016/06/17 07:07:39, Charlie Reis (OOO til ...
4 years, 6 months ago (2016-06-17 16:21:09 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2067493003/150001
4 years, 6 months ago (2016-06-17 17:19:31 UTC) #8
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-17 18:41:30 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2067493003/150001
4 years, 6 months ago (2016-06-17 20:02:55 UTC) #13
commit-bot: I haz the power
Committed patchset #9 (id:150001)
4 years, 6 months ago (2016-06-17 20:07:57 UTC) #14
commit-bot: I haz the power
4 years, 6 months ago (2016-06-17 20:10:08 UTC) #16
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/43c38f1248a0e5f70c025675cd0de7c2f4628f0d
Cr-Commit-Position: refs/heads/master@{#400479}

Powered by Google App Engine
This is Rietveld 408576698