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

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

Issue 98433003: Fixed crash in CloudPolicyManager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix chromeos build Created 7 years 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_service.h
diff --git a/chrome/browser/policy/cloud/component_cloud_policy_service.h b/chrome/browser/policy/cloud/component_cloud_policy_service.h
index 75fcef1af96b4ec435639aff53735a1d5dc43c53..f02fd3613abb4d6534e7e38e3829d4f8dd47d0eb 100644
--- a/chrome/browser/policy/cloud/component_cloud_policy_service.h
+++ b/chrome/browser/policy/cloud/component_cloud_policy_service.h
@@ -92,6 +92,9 @@ class ComponentCloudPolicyService : public CloudPolicyClient::Observer,
// Returns the current policies for components.
const PolicyBundle& policy() const { return policy_; }
+ // Deletes all the cached components policy.
bartfab (slow) 2013/12/02 18:08:46 Nit: s/components/component/ parses better IMHO
Joao da Silva 2013/12/03 09:02:31 Done.
+ void ClearCache();
+
// SchemaRegistry::Observer implementation:
virtual void OnSchemaRegistryReady() OVERRIDE;
virtual void OnSchemaRegistryUpdated(bool has_new_schemas) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698