OnCanEnablePrivacyMode -> OnForcePrivacyMode

https://chromium-review.googlesource.com/c/1343051
This commit is contained in:
Jeremy Apthorp 2019-01-09 11:27:49 -08:00
parent d01db5a656
commit d36a6de25c
2 changed files with 3 additions and 4 deletions

View file

@ -419,7 +419,7 @@ bool AtomNetworkDelegate::OnCanAccessFile(
return true; return true;
} }
bool AtomNetworkDelegate::OnCanEnablePrivacyMode( bool AtomNetworkDelegate::OnForcePrivacyMode(
const GURL& url, const GURL& url,
const GURL& first_party_for_cookies) const { const GURL& first_party_for_cookies) const {
return false; return false;

View file

@ -127,8 +127,7 @@ class AtomNetworkDelegate : public net::NetworkDelegate {
bool OnCanAccessFile(const net::URLRequest& request, bool OnCanAccessFile(const net::URLRequest& request,
const base::FilePath& original_path, const base::FilePath& original_path,
const base::FilePath& absolute_path) const override; const base::FilePath& absolute_path) const override;
bool OnCanEnablePrivacyMode( bool OnForcePrivacyMode(const GURL& url,
const GURL& url,
const GURL& first_party_for_cookies) const override; const GURL& first_party_for_cookies) const override;
bool OnAreExperimentalCookieFeaturesEnabled() const override; bool OnAreExperimentalCookieFeaturesEnabled() const override;
bool OnCancelURLRequestWithPolicyViolatingReferrerHeader( bool OnCancelURLRequestWithPolicyViolatingReferrerHeader(