Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5449)

Unified Diff: chrome/browser/ui/webui/cleanup_tool/cleanup_action_handler.h

Issue 2822433003: Cleanup Tool WebUI: Add functionality to the Scan button (Closed)
Patch Set: Remove component updating logic from cleanup_action_handler Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..811155a18d406d901f13fccfcb67b2433e957de0 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 "components/component_updater/component_updater_service.h"
#include "content/public/browser/web_ui_message_handler.h"
// The handler for Javascript messages related to the "Chrome Cleanup" view.
@@ -21,6 +22,9 @@ class CleanupActionHandler : public content::WebUIMessageHandler {
private:
void HandleRequestLastScanResult(const base::ListValue* args);
+ void HandleStartScan(const base::ListValue* args);
ftirelo 2017/04/13 17:10:43 Please add a description to these two methods.
proberge 2017/04/13 18:53:03 The first one doesn't (implicit description: handl
+ void ReportScanResults(std::string callback_id);
ftirelo 2017/04/13 17:10:43 const std::string&
proberge 2017/04/13 18:53:03 Done.
+
DISALLOW_COPY_AND_ASSIGN(CleanupActionHandler);
};

Powered by Google App Engine
This is Rietveld 408576698