Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1002)

Unified Diff: net/url_request/url_request_context_storage.cc

Issue 7827033: Introduce net::HttpServerPropertiesManager to manage server-specific properties. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/url_request/url_request_context_storage.h ('k') | net/url_request/url_request_test_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_context_storage.cc
===================================================================
--- net/url_request/url_request_context_storage.cc (revision 104660)
+++ net/url_request/url_request_context_storage.cc (working copy)
@@ -14,6 +14,7 @@
#include "net/base/origin_bound_cert_service.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/proxy/proxy_service.h"
#include "net/socket/dns_cert_provenance_checker.h"
@@ -85,6 +86,12 @@
network_delegate_.reset(network_delegate);
}
+void URLRequestContextStorage::set_http_server_properties(
+ HttpServerProperties* http_server_properties) {
+ context_->set_http_server_properties(http_server_properties);
+ http_server_properties_ = http_server_properties;
+}
+
void URLRequestContextStorage::set_cookie_store(CookieStore* cookie_store) {
context_->set_cookie_store(cookie_store);
cookie_store_ = cookie_store;
« no previous file with comments | « net/url_request/url_request_context_storage.h ('k') | net/url_request/url_request_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698