Chromium Code Reviews| Index: chrome/browser/ui/webui/cleanup_tool/cleanup_action_handler.h |
| diff --git a/chrome/browser/ui/webui/cleanup_tool/cleanup_action_handler.h b/chrome/browser/ui/webui/cleanup_tool/cleanup_action_handler.h |
| index 87ee24a3f401c0a0845a488fac7e22ad44326361..94e04d6e606b25efc5d13aad32ac28ec4db27bb8 100644 |
| --- a/chrome/browser/ui/webui/cleanup_tool/cleanup_action_handler.h |
| +++ b/chrome/browser/ui/webui/cleanup_tool/cleanup_action_handler.h |
| @@ -7,6 +7,7 @@ |
| #include "base/callback.h" |
| #include "base/macros.h" |
| +#include "chrome/browser/ui/browser.h" |
|
alito
2017/04/14 00:01:19
Please remove this include.
proberge
2017/04/18 19:24:28
Done.
|
| #include "content/public/browser/web_ui_message_handler.h" |
| // The handler for Javascript messages related to the "Chrome Cleanup" view. |
| @@ -20,6 +21,11 @@ class CleanupActionHandler : public content::WebUIMessageHandler { |
| private: |
| void HandleRequestLastScanResult(const base::ListValue* args); |
| + void HandleStartCleanup(const base::ListValue* args); |
| + |
| + // Returns the cleanup result initiated by HandleStartCleanup() to the |
| + // Javascript caller refererenced by |callback_id|. |
| + void ReportCleanupResults(const std::string& callback_id); |
| DISALLOW_COPY_AND_ASSIGN(CleanupActionHandler); |
| }; |