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

Unified Diff: chrome/browser/policy/policy_domain_descriptor.h

Issue 16058005: PolicyDomainDescriptor must be RefCountedThreadSafe. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/policy_domain_descriptor.h
diff --git a/chrome/browser/policy/policy_domain_descriptor.h b/chrome/browser/policy/policy_domain_descriptor.h
index b5f71151e5799e818a9ad2009485288265a7014c..daa3d565e4ed148f82c6e3743d4c5230f45c01d3 100644
--- a/chrome/browser/policy/policy_domain_descriptor.h
+++ b/chrome/browser/policy/policy_domain_descriptor.h
@@ -20,7 +20,8 @@ class PolicySchema;
// For each policy domain, this class keeps the complete list of valid
// components for that domain, and the PolicySchema for each component.
-class PolicyDomainDescriptor : public base::RefCounted<PolicyDomainDescriptor> {
+class PolicyDomainDescriptor
+ : public base::RefCountedThreadSafe<PolicyDomainDescriptor> {
public:
typedef std::map<std::string, const PolicySchema*> SchemaMap;
@@ -40,7 +41,7 @@ class PolicyDomainDescriptor : public base::RefCounted<PolicyDomainDescriptor> {
void FilterBundle(PolicyBundle* bundle) const;
private:
- friend class base::RefCounted<PolicyDomainDescriptor>;
+ friend class base::RefCountedThreadSafe<PolicyDomainDescriptor>;
~PolicyDomainDescriptor();
PolicyDomain domain_;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698