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

Unified Diff: chrome/browser/policy/testing_cloud_policy_subsystem.cc

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/testing_cloud_policy_subsystem.cc
diff --git a/chrome/browser/policy/testing_cloud_policy_subsystem.cc b/chrome/browser/policy/testing_cloud_policy_subsystem.cc
index 619accb5a19a28609336b0edc19e6f1e1d6f86e8..4bbd6c806e164917acbbebb3f8110aef3e6e6095 100644
--- a/chrome/browser/policy/testing_cloud_policy_subsystem.cc
+++ b/chrome/browser/policy/testing_cloud_policy_subsystem.cc
@@ -11,19 +11,20 @@
namespace policy {
TestingCloudPolicySubsystem::TestingCloudPolicySubsystem(
- CloudPolicyIdentityStrategy* identity_strategy,
+ CloudPolicyDataStore* data_store,
CloudPolicyCacheBase* policy_cache,
const std::string& device_management_url,
EventLogger* logger)
: CloudPolicySubsystem(),
logger_(logger) {
- Initialize(identity_strategy, policy_cache, device_management_url);
+ Initialize(data_store, policy_cache, device_management_url);
}
void TestingCloudPolicySubsystem::CreateDeviceTokenFetcher() {
device_token_fetcher_.reset(
new DeviceTokenFetcher(device_management_service_.get(),
cloud_policy_cache_.get(),
+ data_store_,
notifier_.get(),
new LoggingWorkScheduler(logger_)));
}
@@ -33,7 +34,7 @@ void TestingCloudPolicySubsystem::CreateCloudPolicyController() {
new CloudPolicyController(device_management_service_.get(),
cloud_policy_cache_.get(),
device_token_fetcher_.get(),
- identity_strategy_,
+ data_store_,
notifier_.get(),
new LoggingWorkScheduler(logger_)));
}
« no previous file with comments | « chrome/browser/policy/testing_cloud_policy_subsystem.h ('k') | chrome/browser/policy/user_policy_identity_strategy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698