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

Unified Diff: content/browser/renderer_host/render_view_host_impl.h

Issue 2067493003: Moving (Can|Grant)AccessFilesOfPageState into RenderFrameHostImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@grant-file-access-after-transfer
Patch Set: Pulling in some changes that got removed from the dependent CL. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/render_view_host_impl.h
diff --git a/content/browser/renderer_host/render_view_host_impl.h b/content/browser/renderer_host/render_view_host_impl.h
index 495ee210b3b32f6fe8ffe29fed59ae974c5d0089..42a811ae0ae24002304621b381e1ad476297a0f8 100644
--- a/content/browser/renderer_host/render_view_host_impl.h
+++ b/content/browser/renderer_host/render_view_host_impl.h
@@ -337,16 +337,6 @@ class CONTENT_EXPORT RenderViewHostImpl : public RenderViewHost,
// See https://crbug.com/304341.
WebPreferences ComputeWebkitPrefs();
- // Returns whether the current RenderProcessHost has read access to the files
- // reported in |state|.
- bool CanAccessFilesOfPageState(const PageState& state) const;
-
- // Grants the current RenderProcessHost read access to any file listed in
- // |validated_state|. It is important that the PageState has been validated
- // upon receipt from the renderer process to prevent it from forging access to
- // files without the user's consent.
- void GrantFileAccessFromPageState(const PageState& validated_state);
-
// 1. Grants permissions to URL (if any)
// 2. Grants permissions to filenames
// 3. Grants permissions to file system files.

Powered by Google App Engine
This is Rietveld 408576698