| Index: components/policy/core/browser/configuration_policy_pref_store.cc
|
| diff --git a/components/policy/core/browser/configuration_policy_pref_store.cc b/components/policy/core/browser/configuration_policy_pref_store.cc
|
| index 17ca01b44385bdf743fe338a566fadf97c9e0bbb..7d1a70616644c8dd4ecc85692d93b75408d427b2 100644
|
| --- a/components/policy/core/browser/configuration_policy_pref_store.cc
|
| +++ b/components/policy/core/browser/configuration_policy_pref_store.cc
|
| @@ -10,6 +10,7 @@
|
| #include "base/bind.h"
|
| #include "base/location.h"
|
| #include "base/logging.h"
|
| +#include "base/memory/ptr_util.h"
|
| #include "base/single_thread_task_runner.h"
|
| #include "base/strings/string16.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| @@ -79,6 +80,13 @@ bool ConfigurationPolicyPrefStore::GetValue(const std::string& key,
|
| return true;
|
| }
|
|
|
| +std::unique_ptr<base::DictionaryValue> ConfigurationPolicyPrefStore::GetValues()
|
| + const {
|
| + if (!prefs_)
|
| + return base::MakeUnique<base::DictionaryValue>();
|
| + return prefs_->AsDictionaryValue();
|
| +}
|
| +
|
| void ConfigurationPolicyPrefStore::OnPolicyUpdated(
|
| const PolicyNamespace& ns,
|
| const PolicyMap& previous,
|
|
|