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

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: Fix includes Created 4 years, 10 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..f95d2a8824a1c559d1895da020e62aa000aafecd 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;
}
@@ -33,13 +34,15 @@ class POLICY_EXPORT SystemPolicyRequestContext
~SystemPolicyRequestContext() override;
private:
- scoped_refptr<net::URLRequestContextGetter> system_context_getter_;
+ // HttpNetworkLayer associated with |context_|.
+ scoped_ptr<net::HttpNetworkLayer> http_transaction_factory_;
+
+ scoped_ptr<net::CookieStore> cookie_store_;
// 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_refptr<net::URLRequestContextGetter> system_context_getter_;
net::StaticHttpUserAgentSettings http_user_agent_settings_;
DISALLOW_COPY_AND_ASSIGN(SystemPolicyRequestContext);

Powered by Google App Engine
This is Rietveld 408576698