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

Unified Diff: net/url_request/url_request_context.h

Issue 298063006: Make SdchManager per-profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed bugs found through smoke testing and incorporated comments. Created 6 years, 6 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: net/url_request/url_request_context.h
diff --git a/net/url_request/url_request_context.h b/net/url_request/url_request_context.h
index a05c9ae4a4ddd29a3482462711e4e459decfebe2..4242d72e6d9fed313c325313996f0deb1841d5e8 100644
--- a/net/url_request/url_request_context.h
+++ b/net/url_request/url_request_context.h
@@ -36,6 +36,7 @@ class HttpAuthHandlerFactory;
class HttpTransactionFactory;
class HttpUserAgentSettings;
class NetworkDelegate;
+class SdchManager;
class ServerBoundCertService;
class ProxyService;
class URLRequest;
@@ -184,6 +185,14 @@ class NET_EXPORT URLRequestContext
throttler_manager_ = throttler_manager;
}
+ // May be NULL.
+ SdchManager* sdch_manager() const {
+ return sdch_manager_;
+ }
+ void set_sdch_manager(SdchManager* sdch_manager) {
+ sdch_manager_ = sdch_manager;
+ }
+
// Gets the URLRequest objects that hold a reference to this
// URLRequestContext.
std::set<const URLRequest*>* url_requests() const {
@@ -227,6 +236,7 @@ class NET_EXPORT URLRequestContext
HttpTransactionFactory* http_transaction_factory_;
const URLRequestJobFactory* job_factory_;
URLRequestThrottlerManager* throttler_manager_;
+ SdchManager* sdch_manager_;
// ---------------------------------------------------------------------------
// Important: When adding any new members below, consider whether they need to

Powered by Google App Engine
This is Rietveld 408576698