| 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 60f86949addab8092bfb07a1b4f0e022c0babfcc..103a23ed1515f094d3d18ebc38c7684a07a119ea 100644
|
| --- a/content/browser/frame_host/render_frame_host_impl.h
|
| +++ b/content/browser/frame_host/render_frame_host_impl.h
|
| @@ -607,6 +607,11 @@ class CONTENT_EXPORT RenderFrameHostImpl
|
|
|
| void ClearFocusedElement();
|
|
|
| + // Returns whether the given URL is allowed to commit in the current process.
|
| + // This is a more conservative check than RenderProcessHost::FilterURL, since
|
| + // it will be used to kill processes that commit unauthorized URLs.
|
| + bool CanCommitURL(const GURL& url);
|
| +
|
| // PlzNavigate: returns the PreviewsState of the last successful navigation
|
| // that made a network request. The PreviewsState is a bitmask of potentially
|
| // several Previews optimizations.
|
| @@ -777,11 +782,6 @@ class CONTENT_EXPORT RenderFrameHostImpl
|
| // relevant.
|
| void ResetWaitingState();
|
|
|
| - // Returns whether the given URL is allowed to commit in the current process.
|
| - // This is a more conservative check than RenderProcessHost::FilterURL, since
|
| - // it will be used to kill processes that commit unauthorized URLs.
|
| - bool CanCommitURL(const GURL& url);
|
| -
|
| // Returns whether the given origin is allowed to commit in the current
|
| // RenderFrameHost. The |url| is used to ensure it matches the origin in cases
|
| // where it is applicable. This is a more conservative check than
|
|
|