diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-14 00:44:39 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-14 00:44:39 +0000 |
commit | e4be2dd25b1883bad7bed358e52e04f01c6e6f78 (patch) | |
tree | 842b39b7ea3547a97e07e2d4dcbb4795020c435c /chrome/browser/policy | |
parent | 6415176be8ad6b36d4adafa1c8e76aa89c5ca17c (diff) | |
download | chromium_src-e4be2dd25b1883bad7bed358e52e04f01c6e6f78.zip chromium_src-e4be2dd25b1883bad7bed358e52e04f01c6e6f78.tar.gz chromium_src-e4be2dd25b1883bad7bed358e52e04f01c6e6f78.tar.bz2 |
Deinline even more destructors.
BUG=none
TEST=compiles
Review URL: http://codereview.chromium.org/5794003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69084 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/policy')
6 files changed, 12 insertions, 3 deletions
diff --git a/chrome/browser/policy/asynchronous_policy_loader.cc b/chrome/browser/policy/asynchronous_policy_loader.cc index cca7212..e78c9aa 100644 --- a/chrome/browser/policy/asynchronous_policy_loader.cc +++ b/chrome/browser/policy/asynchronous_policy_loader.cc @@ -28,6 +28,9 @@ void AsynchronousPolicyLoader::SetProvider( provider_ = provider; } +AsynchronousPolicyLoader::~AsynchronousPolicyLoader() { +} + // Manages the life cycle of a new policy map during until it's life cycle is // taken over by the policy loader. class UpdatePolicyTask : public Task { diff --git a/chrome/browser/policy/asynchronous_policy_loader.h b/chrome/browser/policy/asynchronous_policy_loader.h index 30878f5..d88cdff 100644 --- a/chrome/browser/policy/asynchronous_policy_loader.h +++ b/chrome/browser/policy/asynchronous_policy_loader.h @@ -45,7 +45,7 @@ class AsynchronousPolicyLoader // AsynchronousPolicyLoader objects should only be deleted by // RefCountedThreadSafe. friend class base::RefCountedThreadSafe<AsynchronousPolicyLoader>; - virtual ~AsynchronousPolicyLoader() {} + virtual ~AsynchronousPolicyLoader(); // Schedules a call to UpdatePolicy on |origin_loop_|. Takes ownership of // |new_policy|. diff --git a/chrome/browser/policy/configuration_policy_pref_store.cc b/chrome/browser/policy/configuration_policy_pref_store.cc index 0259ed4..c777e35 100644 --- a/chrome/browser/policy/configuration_policy_pref_store.cc +++ b/chrome/browser/policy/configuration_policy_pref_store.cc @@ -348,6 +348,10 @@ PrefStore::ReadResult ConfigurationPolicyPrefStore::GetValue( return READ_OK; } +DictionaryValue* ConfigurationPolicyPrefStore::prefs() const { + return prefs_.get(); +} + void ConfigurationPolicyPrefStore::Apply(ConfigurationPolicyType policy, Value* value) { if (ApplyProxyPolicy(policy, value)) diff --git a/chrome/browser/policy/configuration_policy_pref_store.h b/chrome/browser/policy/configuration_policy_pref_store.h index 2ce8c61..820306a 100644 --- a/chrome/browser/policy/configuration_policy_pref_store.h +++ b/chrome/browser/policy/configuration_policy_pref_store.h @@ -36,7 +36,7 @@ class ConfigurationPolicyPrefStore : public PrefStore, // PrefStore methods: virtual ReadResult GetValue(const std::string& key, Value** result) const; - virtual DictionaryValue* prefs() const { return prefs_.get(); } + virtual DictionaryValue* prefs() const; // ConfigurationPolicyStore methods: virtual void Apply(ConfigurationPolicyType setting, Value* value); diff --git a/chrome/browser/policy/file_based_policy_loader.cc b/chrome/browser/policy/file_based_policy_loader.cc index 4c33b91..947008b 100644 --- a/chrome/browser/policy/file_based_policy_loader.cc +++ b/chrome/browser/policy/file_based_policy_loader.cc @@ -81,6 +81,8 @@ void FileBasedPolicyLoader::OnError() { << " failed."; } +FileBasedPolicyLoader::~FileBasedPolicyLoader() {} + void FileBasedPolicyLoader::Reload() { DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE)); diff --git a/chrome/browser/policy/file_based_policy_loader.h b/chrome/browser/policy/file_based_policy_loader.h index 8acf9b2d..c1b32f2 100644 --- a/chrome/browser/policy/file_based_policy_loader.h +++ b/chrome/browser/policy/file_based_policy_loader.h @@ -33,7 +33,7 @@ class FileBasedPolicyLoader : public AsynchronousPolicyLoader { // FileBasedPolicyLoader objects should only be deleted by // RefCountedThreadSafe. friend class base::RefCountedThreadSafe<AsynchronousPolicyLoader>; - virtual ~FileBasedPolicyLoader() {} + virtual ~FileBasedPolicyLoader(); const FilePath& config_file_path() { return config_file_path_; } |