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

Unified Diff: components/policy/core/common/cloud/system_policy_request_context.h

Issue 1701063002: CookieStore: Remove reference counting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@threadsafe
Patch Set: merge Created 4 years, 9 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: components/policy/core/common/cloud/system_policy_request_context.h
diff --git a/components/policy/core/common/cloud/system_policy_request_context.h b/components/policy/core/common/cloud/system_policy_request_context.h
index 24f19dc76e470e36f3691afd61fb0bb9ebcbba63..7aaeeda779817e868bbf1769de814ddeb7958df3 100644
--- a/components/policy/core/common/cloud/system_policy_request_context.h
+++ b/components/policy/core/common/cloud/system_policy_request_context.h
@@ -12,6 +12,7 @@
#define COMPONENTS_POLICY_CORE_COMMON_CLOUD_SYSTEM_POLICY_REQUEST_CONTEXT_H_
namespace net {
+class CookieStore;
class HttpNetworkLayer;
}
@@ -35,13 +36,16 @@ class POLICY_EXPORT SystemPolicyRequestContext
private:
scoped_refptr<net::URLRequestContextGetter> system_context_getter_;
- // The lazy-initialized URLRequestContext associated with this getter.
- scoped_ptr<net::URLRequestContext> context_;
-
// HttpNetworkLayer associated with |context_|.
scoped_ptr<net::HttpNetworkLayer> http_transaction_factory_;
+ scoped_ptr<net::CookieStore> cookie_store_;
+
net::StaticHttpUserAgentSettings http_user_agent_settings_;
+
+ // The lazy-initialized URLRequestContext associated with this getter.
+ scoped_ptr<net::URLRequestContext> context_;
+
DISALLOW_COPY_AND_ASSIGN(SystemPolicyRequestContext);
};

Powered by Google App Engine
This is Rietveld 408576698