| Index: net/url_request/url_request.cc
|
| diff --git a/net/url_request/url_request.cc b/net/url_request/url_request.cc
|
| index 8597917f0cbf49c84b3bdae3a7bebacbc264f1e0..61934682c33b98b9fe55cd29800ed4a1e1827534 100644
|
| --- a/net/url_request/url_request.cc
|
| +++ b/net/url_request/url_request.cc
|
| @@ -336,16 +336,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;
|
| @@ -828,7 +818,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()->NotifyReadingCookies(*this,
|
| cookie_list);
|
| }
|
| return false;
|
| @@ -838,7 +828,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()->NotifySettingCookie(*this,
|
| cookie_line,
|
| options);
|
| }
|
|
|