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

Unified Diff: chrome/browser/profiles/profile_io_data.h

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
Index: chrome/browser/profiles/profile_io_data.h
===================================================================
--- chrome/browser/profiles/profile_io_data.h (revision 104227)
+++ chrome/browser/profiles/profile_io_data.h (working copy)
@@ -43,6 +43,7 @@
namespace net {
class CookieStore;
class DnsCertProvenanceChecker;
+class HttpServerProperties;
class HttpTransactionFactory;
class NetLog;
class OriginBoundCertService;
@@ -52,6 +53,10 @@
class TransportSecurityState;
} // namespace net
+namespace chrome_browser_net {
+class HttpServerPropertiesManager;
+}
+
namespace policy {
class URLBlacklistManager;
} // namespace policy
@@ -122,6 +127,11 @@
return transport_security_state_.get();
}
+ net::HttpServerProperties* http_server_properties() const {
+ return reinterpret_cast<net::HttpServerProperties*>(
willchan no longer on Chromium 2011/10/06 22:13:22 There shouldn't be any reason to reinterpret_cast
ramant (doing other things) 2011/10/07 01:40:20 Moved this code to profile_impl_io_data.h. Done.
+ http_server_properties_manager_.get());
+ }
+
protected:
class AppRequestContext : public ChromeURLRequestContext {
public:
@@ -280,6 +290,8 @@
chrome_url_data_manager_backend_;
mutable scoped_ptr<net::OriginBoundCertService> origin_bound_cert_service_;
mutable scoped_ptr<net::NetworkDelegate> network_delegate_;
+ mutable scoped_ptr<chrome_browser_net::HttpServerPropertiesManager>
+ http_server_properties_manager_;
willchan no longer on Chromium 2011/10/06 22:13:22 This doesn't belong here. It should be in ProfileI
ramant (doing other things) 2011/10/07 01:40:20 Done.
mutable scoped_ptr<net::DnsCertProvenanceChecker> dns_cert_checker_;
mutable scoped_ptr<net::ProxyService> proxy_service_;
mutable scoped_ptr<net::TransportSecurityState> transport_security_state_;

Powered by Google App Engine
This is Rietveld 408576698