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

Unified Diff: chrome/browser/policy/device_policy_cache.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
« no previous file with comments | « chrome/browser/policy/delayed_work_scheduler.h ('k') | chrome/browser/policy/device_policy_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/device_policy_cache.h
diff --git a/chrome/browser/policy/device_policy_cache.h b/chrome/browser/policy/device_policy_cache.h
index 7e1082db32830e851487d5b7200069852829b631..58b6bc28f7ba8cfc584a4e9fff8d360e6e0b22bb 100644
--- a/chrome/browser/policy/device_policy_cache.h
+++ b/chrome/browser/policy/device_policy_cache.h
@@ -6,8 +6,6 @@
#define CHROME_BROWSER_POLICY_DEVICE_POLICY_CACHE_H_
#pragma once
-#include <string>
-
#include "base/memory/scoped_callback_factory.h"
#include "chrome/browser/chromeos/login/signed_settings.h"
#include "chrome/browser/chromeos/login/signed_settings_helper.h"
@@ -16,7 +14,7 @@
namespace policy {
-class DevicePolicyIdentityStrategy;
+class CloudPolicyDataStore;
class EnterpriseInstallAttributes;
class PolicyMap;
@@ -27,7 +25,7 @@ namespace em = enterprise_management;
class DevicePolicyCache : public CloudPolicyCacheBase,
public chromeos::SignedSettingsHelper::Callback {
public:
- explicit DevicePolicyCache(DevicePolicyIdentityStrategy* identity_strategy,
+ explicit DevicePolicyCache(CloudPolicyDataStore* data_store,
EnterpriseInstallAttributes* install_attributes);
virtual ~DevicePolicyCache();
@@ -48,7 +46,7 @@ class DevicePolicyCache : public CloudPolicyCacheBase,
// Alternate c'tor allowing tests to mock out the SignedSettingsHelper
// singleton.
DevicePolicyCache(
- DevicePolicyIdentityStrategy* identity_strategy,
+ CloudPolicyDataStore* data_store,
EnterpriseInstallAttributes* install_attributes,
chromeos::SignedSettingsHelper* signed_settings_helper);
@@ -67,7 +65,7 @@ class DevicePolicyCache : public CloudPolicyCacheBase,
PolicyMap* mandatory,
PolicyMap* recommended);
- DevicePolicyIdentityStrategy* identity_strategy_;
+ CloudPolicyDataStore* data_store_;
EnterpriseInstallAttributes* install_attributes_;
chromeos::SignedSettingsHelper* signed_settings_helper_;
« no previous file with comments | « chrome/browser/policy/delayed_work_scheduler.h ('k') | chrome/browser/policy/device_policy_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698