| Index: chrome/browser/ui/webui/settings/reset_settings_handler.cc
|
| diff --git a/chrome/browser/ui/webui/settings/reset_settings_handler.cc b/chrome/browser/ui/webui/settings/reset_settings_handler.cc
|
| index f028f3b3d62bc1c668efdcec8ffed5a3abe53bd8..263895cf5ea88e77a31abd4b0edbf9cb27ab3363 100644
|
| --- a/chrome/browser/ui/webui/settings/reset_settings_handler.cc
|
| +++ b/chrome/browser/ui/webui/settings/reset_settings_handler.cc
|
| @@ -114,6 +114,8 @@ void ResetSettingsHandler::RegisterMessages() {
|
|
|
| void ResetSettingsHandler::HandleResetProfileSettings(
|
| const base::ListValue* args) {
|
| + AllowJavascript();
|
| +
|
| CHECK_EQ(2U, args->GetSize());
|
| std::string callback_id;
|
| CHECK(args->GetString(0, &callback_id));
|
| @@ -153,6 +155,8 @@ void ResetSettingsHandler::OnResetProfileSettingsDone(
|
|
|
| void ResetSettingsHandler::HandleGetReportedSettings(
|
| const base::ListValue* args) {
|
| + AllowJavascript();
|
| +
|
| CHECK_EQ(1U, args->GetSize());
|
| std::string callback_id;
|
| CHECK(args->GetString(0, &callback_id));
|
|
|