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

Unified Diff: chrome/browser/policy/cloud/component_cloud_policy_store.h

Issue 72793003: ComponentCloudPolicyService tracks the signin state. (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
Index: chrome/browser/policy/cloud/component_cloud_policy_store.h
diff --git a/chrome/browser/policy/cloud/component_cloud_policy_store.h b/chrome/browser/policy/cloud/component_cloud_policy_store.h
index ad2ea0f95eeb8dc49bdde9e1e86dbb563be22eae..51f7a3649a764bdf7ef16e17411c24835c2d030e 100644
--- a/chrome/browser/policy/cloud/component_cloud_policy_store.h
+++ b/chrome/browser/policy/cloud/component_cloud_policy_store.h
@@ -94,6 +94,9 @@ class ComponentCloudPolicyStore : public base::NonThreadSafe {
void Purge(PolicyDomain domain,
const ResourceCache::SubkeyFilter& filter);
+ // Deletes the storage of every component.
+ void Clear();
+
// Validates |proto| and returns the corresponding policy namespace in |ns|,
// and the parsed ExternalPolicyData in |payload|.
// If |proto| validates successfully then its |payload| can be trusted, and

Powered by Google App Engine
This is Rietveld 408576698