| Index: chrome/browser/ui/webui/options/core_options_handler.cc
|
| diff --git a/chrome/browser/ui/webui/options/core_options_handler.cc b/chrome/browser/ui/webui/options/core_options_handler.cc
|
| index 83cdafa169140d591d45b0edcfcb4be46c0c9d1b..b2812df3be18b36d891222f90cf2557452e29f86 100644
|
| --- a/chrome/browser/ui/webui/options/core_options_handler.cc
|
| +++ b/chrome/browser/ui/webui/options/core_options_handler.cc
|
| @@ -141,6 +141,8 @@ Value* CoreOptionsHandler::FetchPref(const std::string& pref_name) {
|
| DictionaryValue* dict = new DictionaryValue;
|
| dict->Set("value", pref->GetValue()->DeepCopy());
|
| dict->SetBoolean("managed", pref->IsManaged());
|
| + dict->SetBoolean("extensionControlled", pref->IsExtensionControlled());
|
| + dict->SetBoolean("disabled", !pref->IsUserModifiable());
|
| return_value = dict;
|
| } else {
|
| return_value = Value::CreateNullValue();
|
| @@ -377,6 +379,8 @@ void CoreOptionsHandler::NotifyPrefChanged(const std::string* pref_name) {
|
| DictionaryValue* dict = new DictionaryValue;
|
| dict->Set("value", pref->GetValue()->DeepCopy());
|
| dict->SetBoolean("managed", pref->IsManaged());
|
| + dict->SetBoolean("extensionControlled", pref->IsExtensionControlled());
|
| + dict->SetBoolean("disabled", !pref->IsUserModifiable());
|
| result_value.Append(dict);
|
|
|
| web_ui_->CallJavascriptFunction(WideToASCII(callback_function),
|
|
|