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

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

Issue 9911029: Refactored the CloudPolicyProvider so that it becomes initialized once and stays initialized. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Updated expectations in failing browser_tests Created 8 years, 9 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/device_policy_cache.cc
diff --git a/chrome/browser/policy/device_policy_cache.cc b/chrome/browser/policy/device_policy_cache.cc
index 2b655043d0a124ca1e93933130695f8b62b25f22..19c1f9555f74160d511ec8e703463be04fbd32b6 100644
--- a/chrome/browser/policy/device_policy_cache.cc
+++ b/chrome/browser/policy/device_policy_cache.cc
@@ -118,15 +118,6 @@ namespace policy {
DevicePolicyCache::DevicePolicyCache(
CloudPolicyDataStore* data_store,
- EnterpriseInstallAttributes* install_attributes)
- : data_store_(data_store),
- install_attributes_(install_attributes),
- signed_settings_helper_(chromeos::SignedSettingsHelper::Get()),
- ALLOW_THIS_IN_INITIALIZER_LIST(weak_ptr_factory_(this)) {
-}
-
-DevicePolicyCache::DevicePolicyCache(
- CloudPolicyDataStore* data_store,
EnterpriseInstallAttributes* install_attributes,
chromeos::SignedSettingsHelper* signed_settings_helper)
: data_store_(data_store),

Powered by Google App Engine
This is Rietveld 408576698