| Index: chrome/browser/ui/webui/settings/md_settings_ui.h
|
| diff --git a/chrome/browser/ui/webui/settings/md_settings_ui.h b/chrome/browser/ui/webui/settings/md_settings_ui.h
|
| index 3895925b73ec1a4c9af9c21e6f966ebd679b41da..1453aaa024ff2536614049d3b872057f1aff2f8c 100644
|
| --- a/chrome/browser/ui/webui/settings/md_settings_ui.h
|
| +++ b/chrome/browser/ui/webui/settings/md_settings_ui.h
|
| @@ -29,8 +29,10 @@ class SettingsPageUIHandler : public content::WebUIMessageHandler {
|
|
|
| protected:
|
| // Helper method for responding to JS requests initiated with
|
| - // cr.sendWithPromise().
|
| + // cr.sendWithPromise(). |is_success| indicates whether the promise will be
|
| + // resolved or rejected.
|
| void CallJavascriptCallback(const base::Value& callback_id,
|
| + bool is_success,
|
| const base::Value& response);
|
|
|
| private:
|
|
|