OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_UI_WEBUI_CLEANUP_TOOL_CLEANUP_ACTION_HANDLER_H_ | |
6 #define CHROME_BROWSER_UI_WEBUI_CLEANUP_TOOL_CLEANUP_ACTION_HANDLER_H_ | |
7 | |
8 #include "base/callback.h" | |
9 #include "base/macros.h" | |
10 #include "content/public/browser/web_ui_message_handler.h" | |
11 | |
12 // The handler for Javascript messages related to the "Chrome Cleanup" view. | |
13 class CleanupActionHandler : public content::WebUIMessageHandler { | |
14 public: | |
15 CleanupActionHandler(); | |
16 | |
17 // WebUIMessageHandler implementation. | |
18 void RegisterMessages() override; | |
19 | |
20 // Handler for the 'requestLastScanResult' message. | |
21 void HandleRequestLastScanResult(const base::ListValue* args); | |
tommycli
2017/03/29 22:09:06
This should be private. And ... it probably doesn'
proberge
2017/03/30 17:57:21
Done.
| |
22 | |
23 private: | |
24 DISALLOW_COPY_AND_ASSIGN(CleanupActionHandler); | |
25 }; | |
26 | |
27 #endif // CHROME_BROWSER_UI_WEBUI_CLEANUP_TOOL_CLEANUP_ACTION_HANDLER_H_ | |
OLD | NEW |