Chromium Code Reviews| 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(); | |
|
Dan Beam
2017/04/04 00:00:00
maybe create a virtual destructor as well?
proberge
2017/04/04 16:10:09
Done.
| |
| 16 | |
| 17 // WebUIMessageHandler implementation. | |
| 18 void RegisterMessages() override; | |
| 19 | |
| 20 private: | |
| 21 void HandleRequestLastScanResult(const base::ListValue* args); | |
| 22 | |
| 23 DISALLOW_COPY_AND_ASSIGN(CleanupActionHandler); | |
| 24 }; | |
| 25 | |
| 26 #endif // CHROME_BROWSER_UI_WEBUI_CLEANUP_TOOL_CLEANUP_ACTION_HANDLER_H_ | |
| OLD | NEW |