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

Unified Diff: chrome/browser/policy/cloud/resource_cache.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/resource_cache.h
diff --git a/chrome/browser/policy/cloud/resource_cache.h b/chrome/browser/policy/cloud/resource_cache.h
index b30af834a38db1bf1f7186a3e1e3933710bee489..1519a458c416be1f369fd112ebe1143bbbb59246 100644
--- a/chrome/browser/policy/cloud/resource_cache.h
+++ b/chrome/browser/policy/cloud/resource_cache.h
@@ -52,6 +52,9 @@ class ResourceCache {
// Deletes (key, subkey).
void Delete(const std::string& key, const std::string& subkey);
+ // Deletes all the subkeys of |key|.
+ void Clear(const std::string& key);
+
// Deletes the subkeys of |key| for which the |filter| returns true.
typedef base::Callback<bool(const std::string&)> SubkeyFilter;
void FilterSubkeys(const std::string& key, const SubkeyFilter& filter);
« no previous file with comments | « chrome/browser/policy/cloud/component_cloud_policy_store.cc ('k') | chrome/browser/policy/cloud/resource_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698