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

Unified Diff: chrome/browser/extensions/api/storage/policy_value_store.h

Issue 60823003: Introduced a ForwardingPolicyProvider. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed unittest when enable_extensions=0 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
Index: chrome/browser/extensions/api/storage/policy_value_store.h
diff --git a/chrome/browser/extensions/api/storage/policy_value_store.h b/chrome/browser/extensions/api/storage/policy_value_store.h
index ea4f4daeee7cf8b93f9b6c390d95ca95e1421cab..f32d30740b7b59bd0f4688c2bbafdf1af17c0958 100644
--- a/chrome/browser/extensions/api/storage/policy_value_store.h
+++ b/chrome/browser/extensions/api/storage/policy_value_store.h
@@ -32,12 +32,9 @@ class PolicyValueStore : public ValueStore {
scoped_ptr<ValueStore> delegate);
virtual ~PolicyValueStore();
- // Stores |policy| in the persistent database represented by the |delegate_|.
- // If |notify_if_changed| and |policy| differs from the previously persisted
- // version, then a notification is sent to the |observers_| with a list of the
- // changes detected.
- void SetCurrentPolicy(const policy::PolicyMap& policy,
- bool notify_if_changed);
+ // Stores |policy| in the persistent database represented by the |delegate_|
+ // and notifies observers with the changes from the previous policy.
+ void SetCurrentPolicy(const policy::PolicyMap& policy);
// Clears all the stored data and deletes the database.
void DeleteStorage();

Powered by Google App Engine
This is Rietveld 408576698