| Index: content/browser/frame_host/render_frame_host_impl.h
|
| diff --git a/content/browser/frame_host/render_frame_host_impl.h b/content/browser/frame_host/render_frame_host_impl.h
|
| index ff79b6539d8f71c412fb3d6fc03184722e22f48d..3dec6971a67e6939df84bf7609e2f213ff34bd4c 100644
|
| --- a/content/browser/frame_host/render_frame_host_impl.h
|
| +++ b/content/browser/frame_host/render_frame_host_impl.h
|
| @@ -732,6 +732,13 @@ class CONTENT_EXPORT RenderFrameHostImpl : public RenderFrameHost,
|
| // Informs the content client that geolocation permissions were used.
|
| void DidUseGeolocationPermission();
|
|
|
| + // Grants the current RenderProcessHost read access to any file listed in
|
| + // |body|. It is important that the ResourceRequestBody has been validated
|
| + // upon receipt from the renderer process to prevent it from forging access to
|
| + // files without the user's consent.
|
| + void GrantFileAccessFromResourceRequestBody(
|
| + const ResourceRequestBodyImpl& body);
|
| +
|
| void UpdatePermissionsForNavigation(
|
| const CommonNavigationParams& common_params,
|
| const RequestNavigationParams& request_params);
|
|
|