chore: remove unused _grantOriginAccess method (#29976)

This commit is contained in:
Cheng Zhao 2021-07-02 11:53:38 +09:00 committed by GitHub
parent 6eff9231b8
commit 85a69f88f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 11 deletions

View file

@ -310,10 +310,6 @@ class WebContents : public gin::Wrappable<WebContents>,
// Returns the owner window.
v8::Local<v8::Value> GetOwnerBrowserWindow(v8::Isolate* isolate) const;
// Grants the child process the capability to access URLs with the origin of
// the specified URL.
void GrantOriginAccess(const GURL& url);
// Notifies the web page that there is user interaction.
void NotifyUserActivation();