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

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

Issue 68933002: Added SchemaMap::GetChanges(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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 | « no previous file | chrome/browser/policy/schema_map.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/schema_map.h
diff --git a/chrome/browser/policy/schema_map.h b/chrome/browser/policy/schema_map.h
index cbb9f500700daacce4781fa93878d712526ccd3e..b3a1db1937a017cf2eac4959052688f2ca0db087 100644
--- a/chrome/browser/policy/schema_map.h
+++ b/chrome/browser/policy/schema_map.h
@@ -42,9 +42,16 @@ class SchemaMap : public base::RefCountedThreadSafe<SchemaMap> {
// than POLICY_DOMAIN_CHROME.
bool HasComponents() const;
+ void GetChanges(const scoped_refptr<SchemaMap>& older,
+ PolicyNamespaceList* removed,
+ PolicyNamespaceList* added) const;
+
private:
friend class base::RefCountedThreadSafe<SchemaMap>;
+ void GetNamespacesNotInOther(const SchemaMap* other,
+ PolicyNamespaceList* list) const;
+
~SchemaMap();
DomainMap map_;
« no previous file with comments | « no previous file | chrome/browser/policy/schema_map.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698