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

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

Issue 10384145: Removed ConfigurationPolicyProvider::Provide(). (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebased Created 8 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
Index: chrome/browser/policy/policy_bundle.h
diff --git a/chrome/browser/policy/policy_bundle.h b/chrome/browser/policy/policy_bundle.h
index c17ef993726a6dd0aded1dd8caa4a5679a5cda42..be05bebee00d50d6ca9bc34114ff93d24feebb79 100644
--- a/chrome/browser/policy/policy_bundle.h
+++ b/chrome/browser/policy/policy_bundle.h
@@ -49,6 +49,9 @@ class PolicyBundle {
// See PolicyMap::MergeFrom for details on merging individual PolicyMaps.
void MergeFrom(const PolicyBundle& other);
+ // Returns true if |other| has the same keys and value as |this|.
+ bool Equals(const PolicyBundle& other) const;
+
// Returns iterators to the beginning and end of the underlying container.
// These can be used to iterate over and read the PolicyMaps, but not to
// modify them.
@@ -58,6 +61,9 @@ class PolicyBundle {
// Erases all the existing pairs.
void Clear();
+ // XXX TODO: remove
Mattias Nissler (ping if slow) 2012/05/14 16:55:59 so?
Joao da Silva 2012/05/15 13:07:05 omgwtfbbq
+ void Dump() const;
+
private:
MapType policy_bundle_;

Powered by Google App Engine
This is Rietveld 408576698