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

Unified Diff: components/policy/core/common/cloud/component_cloud_policy_service.h

Issue 337053005: Precache policy-for-extensions for device-local accounts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed ios tests Created 6 years, 6 months 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: components/policy/core/common/cloud/component_cloud_policy_service.h
diff --git a/components/policy/core/common/cloud/component_cloud_policy_service.h b/components/policy/core/common/cloud/component_cloud_policy_service.h
index a9c7cbadb0e21fb2884b981f40e2c121edf47c6c..616597abefdb89b65fdd79dab513c646a0ae3f2e 100644
--- a/components/policy/core/common/cloud/component_cloud_policy_service.h
+++ b/components/policy/core/common/cloud/component_cloud_policy_service.h
@@ -151,7 +151,12 @@ class POLICY_EXPORT ComponentCloudPolicyService
scoped_refptr<SchemaMap> current_schema_map_;
#endif // !defined(OS_ANDROID) && !defined(OS_IOS)
- // Contains all the current policies for components.
+ // Contains all the policies loaded from the store, before having been
+ // filtered by the |current_schema_map_|.
+ scoped_ptr<PolicyBundle> unfiltered_policy_;
+
+ // Contains all the current policies for components, filtered by the
+ // |current_schema_map_|.
PolicyBundle policy_;
// Whether the backend has started initializing asynchronously. Used to

Powered by Google App Engine
This is Rietveld 408576698