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

Unified Diff: components/policy/core/common/policy_map.h

Issue 88423002: Add CloudExternalDataPolicyObserverChromeOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed suggestion. Created 7 years, 1 month 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 | « chrome/test/data/policy/policy_test_cases.json ('k') | components/policy/core/common/policy_map.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/policy/core/common/policy_map.h
diff --git a/components/policy/core/common/policy_map.h b/components/policy/core/common/policy_map.h
index 936cc1f680a7094e1502dd7cd55f472734d368bd..079ce525a98ef4004daf13c0b7549d55fc036891 100644
--- a/components/policy/core/common/policy_map.h
+++ b/components/policy/core/common/policy_map.h
@@ -34,6 +34,12 @@ class POLICY_EXPORT PolicyMap {
value(NULL),
external_data_fetcher(NULL) {}
+ // Deletes all members owned by |this|.
+ void DeleteOwnedMembers();
+
+ // Returns a copy of |this|.
+ scoped_ptr<Entry> DeepCopy() const;
+
// Returns true if |this| has higher priority than |other|.
bool has_higher_priority_than(const Entry& other) const;
« no previous file with comments | « chrome/test/data/policy/policy_test_cases.json ('k') | components/policy/core/common/policy_map.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698