| Index: net/url_request/url_request.cc
|
| diff --git a/net/url_request/url_request.cc b/net/url_request/url_request.cc
|
| index f3d813dce6ed2d5b387b9e4941998f8e2e8b79e1..20968330d44a785c668fb8597f3526ba8a837c52 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;
|
| @@ -862,7 +852,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;
|
| @@ -872,7 +862,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);
|
| }
|
|
|