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

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: addressed comments 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..95ae7ed85341e4075545e5cd417afeb509fad3d0 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 component policy.
+ 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