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

Unified Diff: chrome/browser/policy/cloud_policy_subsystem.h

Issue 7298012: Consolidate data storage and notifications in the cloud policy subsystem (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 5 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: chrome/browser/policy/cloud_policy_subsystem.h
diff --git a/chrome/browser/policy/cloud_policy_subsystem.h b/chrome/browser/policy/cloud_policy_subsystem.h
index d88621640e59193c853d2ce6426fcd3e5bff10e5..e8397162941a18b679c9e20d49cc5f8b6d205b86 100644
--- a/chrome/browser/policy/cloud_policy_subsystem.h
+++ b/chrome/browser/policy/cloud_policy_subsystem.h
@@ -17,7 +17,7 @@ namespace policy {
class CloudPolicyCacheBase;
class CloudPolicyController;
-class CloudPolicyIdentityStrategy;
+class CloudPolicyDataStore;
class DeviceManagementService;
class DeviceTokenFetcher;
class PolicyNotifier;
@@ -67,7 +67,7 @@ class CloudPolicySubsystem
DISALLOW_COPY_AND_ASSIGN(ObserverRegistrar);
};
- CloudPolicySubsystem(CloudPolicyIdentityStrategy* identity_strategy,
+ CloudPolicySubsystem(CloudPolicyDataStore* data_store,
CloudPolicyCacheBase* policy_cache);
virtual ~CloudPolicySubsystem();
@@ -103,7 +103,7 @@ class CloudPolicySubsystem
CloudPolicySubsystem();
- void Initialize(CloudPolicyIdentityStrategy* identity_strategy,
+ void Initialize(CloudPolicyDataStore* data_store,
CloudPolicyCacheBase* policy_cache,
const std::string& device_management_url);
@@ -129,8 +129,7 @@ class CloudPolicySubsystem
PrefChangeRegistrar pref_change_registrar_;
- // Weak reference to pass on to |cloud_policy_controller_| on creation.
- CloudPolicyIdentityStrategy* identity_strategy_;
+ CloudPolicyDataStore* data_store_;
// Cloud policy infrastructure stuff.
scoped_ptr<PolicyNotifier> notifier_;
« no previous file with comments | « chrome/browser/policy/cloud_policy_identity_strategy.cc ('k') | chrome/browser/policy/cloud_policy_subsystem.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698