| Index: net/url_request/url_request.cc
|
| diff --git a/net/url_request/url_request.cc b/net/url_request/url_request.cc
|
| index d3fa6d1256487cdc2cd82fd9a29203b5e5b079cc..44eeb2d366d06853201e569e824a8fa620a5053c 100644
|
| --- a/net/url_request/url_request.cc
|
| +++ b/net/url_request/url_request.cc
|
| @@ -348,16 +348,6 @@ bool URLRequest::IsHandledURL(const GURL& url) {
|
| return IsHandledProtocol(url.scheme());
|
| }
|
|
|
| -// static
|
| -void URLRequest::AllowFileAccess() {
|
| - URLRequestJobManager::GetInstance()->set_enable_file_access(true);
|
| -}
|
| -
|
| -// static
|
| -bool URLRequest::IsFileAccessAllowed() {
|
| - return URLRequestJobManager::GetInstance()->enable_file_access();
|
| -}
|
| -
|
| void URLRequest::set_first_party_for_cookies(
|
| const GURL& first_party_for_cookies) {
|
| first_party_for_cookies_ = first_party_for_cookies;
|
| @@ -841,7 +831,7 @@ void URLRequest::NotifySSLCertificateError(const SSLInfo& ssl_info,
|
| bool URLRequest::CanGetCookies(const CookieList& cookie_list) const {
|
| DCHECK(!(load_flags_ & LOAD_DO_NOT_SEND_COOKIES));
|
| if (context_ && context_->network_delegate()) {
|
| - return context_->network_delegate()->NotifyReadingCookies(this,
|
| + return context_->network_delegate()->CanGetCookies(*this,
|
| cookie_list);
|
| }
|
| return g_default_can_use_cookies;
|
| @@ -851,7 +841,7 @@ bool URLRequest::CanSetCookie(const std::string& cookie_line,
|
| CookieOptions* options) const {
|
| DCHECK(!(load_flags_ & LOAD_DO_NOT_SAVE_COOKIES));
|
| if (context_ && context_->network_delegate()) {
|
| - return context_->network_delegate()->NotifySettingCookie(this,
|
| + return context_->network_delegate()->CanSetCookie(*this,
|
| cookie_line,
|
| options);
|
| }
|
|
|