Chromium Code Reviews| Index: chrome/browser/policy/cloud_policy_subsystem.cc |
| diff --git a/chrome/browser/policy/cloud_policy_subsystem.cc b/chrome/browser/policy/cloud_policy_subsystem.cc |
| index d084b80ed94d8ae13d89f165482e1818915c07a6..8fa3484843e2ae2cb65031bd93ef3f07a53c7d89 100644 |
| --- a/chrome/browser/policy/cloud_policy_subsystem.cc |
| +++ b/chrome/browser/policy/cloud_policy_subsystem.cc |
| @@ -71,7 +71,6 @@ CloudPolicySubsystem::CloudPolicySubsystem( |
| } |
| CloudPolicySubsystem::~CloudPolicySubsystem() { |
| - DCHECK(!prefs_); |
|
Joao da Silva
2011/05/31 14:50:23
Why has this been removed? This is set to NULL on
sfeuz
2011/06/03 08:30:35
|prefs_| is only still here because of the refresh
|
| cloud_policy_controller_.reset(); |
| device_token_fetcher_.reset(); |
| cloud_policy_cache_.reset(); |
| @@ -130,21 +129,6 @@ void CloudPolicySubsystem::StopAutoRetry() { |
| device_token_fetcher_->StopAutoRetry(); |
| } |
| -ConfigurationPolicyProvider* CloudPolicySubsystem::GetManagedPolicyProvider() { |
| - if (cloud_policy_cache_.get()) |
| - return cloud_policy_cache_->GetManagedPolicyProvider(); |
| - |
| - return NULL; |
| -} |
| - |
| -ConfigurationPolicyProvider* |
| - CloudPolicySubsystem::GetRecommendedPolicyProvider() { |
| - if (cloud_policy_cache_.get()) |
| - return cloud_policy_cache_->GetRecommendedPolicyProvider(); |
| - |
| - return NULL; |
| -} |
| - |
| // static |
| void CloudPolicySubsystem::RegisterPrefs(PrefService* pref_service) { |
| pref_service->RegisterIntegerPref(prefs::kPolicyRefreshRate, |