diff --git a/vendor/brightray/browser/network_delegate.cc b/vendor/brightray/browser/network_delegate.cc index e08faedb10..6b3c9c828e 100644 --- a/vendor/brightray/browser/network_delegate.cc +++ b/vendor/brightray/browser/network_delegate.cc @@ -112,15 +112,13 @@ NetworkDelegate::AuthRequiredResponse NetworkDelegate::OnAuthRequired( } bool NetworkDelegate::OnCanGetCookies(const net::URLRequest& request, - const net::CookieList& cookie_list, - bool allow_from_caller) { + const net::CookieList& cookie_list) { return true; } bool NetworkDelegate::OnCanSetCookie(const net::URLRequest& request, const net::CanonicalCookie& cookie, - net::CookieOptions* options, - bool allow_from_caller) { + net::CookieOptions* options) { return true; } diff --git a/vendor/brightray/browser/network_delegate.h b/vendor/brightray/browser/network_delegate.h index 7895b53d65..54ae421112 100644 --- a/vendor/brightray/browser/network_delegate.h +++ b/vendor/brightray/browser/network_delegate.h @@ -56,12 +56,10 @@ class NetworkDelegate : public net::NetworkDelegate { AuthCallback callback, net::AuthCredentials* credentials) override; bool OnCanGetCookies(const net::URLRequest& request, - const net::CookieList& cookie_list, - bool allow_from_caller) override; + const net::CookieList& cookie_list) override; bool OnCanSetCookie(const net::URLRequest& request, const net::CanonicalCookie& cookie, - net::CookieOptions* options, - bool allow_from_caller) override; + net::CookieOptions* options) override; bool OnCanAccessFile(const net::URLRequest& request, const base::FilePath& original_path, const base::FilePath& path) const override;