Index: chrome/browser/ui/webui/settings/settings_page_ui_handler.h |
diff --git a/chrome/browser/ui/webui/settings/settings_page_ui_handler.h b/chrome/browser/ui/webui/settings/settings_page_ui_handler.h |
index b359130dd9df467c350b6b048981060b0af1d9bd..7007a7514242b9c9eac7a697a6e1a7b36b734397 100644 |
--- a/chrome/browser/ui/webui/settings/settings_page_ui_handler.h |
+++ b/chrome/browser/ui/webui/settings/settings_page_ui_handler.h |
@@ -17,19 +17,6 @@ class SettingsPageUIHandler : public content::WebUIMessageHandler { |
SettingsPageUIHandler(); |
~SettingsPageUIHandler() override; |
- protected: |
- // Helper method for responding to JS requests initiated with |
- // cr.sendWithPromise(), for the case where the returned promise should be |
- // resolved (request succeeded). |
- void ResolveJavascriptCallback(const base::Value& callback_id, |
- const base::Value& response); |
- |
- // Helper method for responding to JS requests initiated with |
- // cr.sendWithPromise(), for the case where the returned promise should be |
- // rejected (request failed). |
- void RejectJavascriptCallback(const base::Value& callback_id, |
- const base::Value& response); |
- |
private: |
// SettingsPageUIHandler subclasses must be JavaScript-lifecycle safe. |
void OnJavascriptAllowed() override = 0; |