| Index: net/url_request/url_request_context_storage.cc
|
| diff --git a/net/url_request/url_request_context_storage.cc b/net/url_request/url_request_context_storage.cc
|
| index 399bc47caabc8ac47252e5910948fcb4a94917ac..29251077dd1394f8705439d0703621582869a419 100644
|
| --- a/net/url_request/url_request_context_storage.cc
|
| +++ b/net/url_request/url_request_context_storage.cc
|
| @@ -1,20 +1,21 @@
|
| // Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| #include "net/url_request/url_request_context_storage.h"
|
|
|
| #include <utility>
|
|
|
| #include "base/logging.h"
|
| #include "net/base/network_delegate.h"
|
| +#include "net/base/proxy_delegate.h"
|
| #include "net/base/sdch_manager.h"
|
| #include "net/cert/cert_verifier.h"
|
| #include "net/cookies/cookie_store.h"
|
| #include "net/dns/host_resolver.h"
|
| #include "net/ftp/ftp_transaction_factory.h"
|
| #include "net/http/http_auth_handler_factory.h"
|
| #include "net/http/http_server_properties.h"
|
| #include "net/http/http_transaction_factory.h"
|
| #include "net/log/net_log.h"
|
| #include "net/proxy/proxy_service.h"
|
| @@ -74,20 +75,25 @@ void URLRequestContextStorage::set_ssl_config_service(
|
| context_->set_ssl_config_service(ssl_config_service);
|
| ssl_config_service_ = ssl_config_service;
|
| }
|
|
|
| void URLRequestContextStorage::set_network_delegate(
|
| scoped_ptr<NetworkDelegate> network_delegate) {
|
| context_->set_network_delegate(network_delegate.get());
|
| network_delegate_ = std::move(network_delegate);
|
| }
|
|
|
| +void URLRequestContextStorage::set_proxy_delegate(
|
| + scoped_ptr<ProxyDelegate> proxy_delegate) {
|
| + proxy_delegate_ = std::move(proxy_delegate);
|
| +}
|
| +
|
| void URLRequestContextStorage::set_http_server_properties(
|
| scoped_ptr<HttpServerProperties> http_server_properties) {
|
| http_server_properties_ = std::move(http_server_properties);
|
| context_->set_http_server_properties(http_server_properties_->GetWeakPtr());
|
| }
|
|
|
| void URLRequestContextStorage::set_cookie_store(CookieStore* cookie_store) {
|
| context_->set_cookie_store(cookie_store);
|
| cookie_store_ = cookie_store;
|
| }
|
|
|