Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2013 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_SYNC_FILE_SYSTEM_INTERNALS_EXTENSION_STATUSES_HA NDLER_H_ | |
| 6 #define CHROME_BROWSER_UI_WEBUI_SYNC_FILE_SYSTEM_INTERNALS_EXTENSION_STATUSES_HA NDLER_H_ | |
| 7 | |
| 8 #include "base/compiler_specific.h" | |
| 9 #include "content/public/browser/web_ui_message_handler.h" | |
| 10 | |
| 11 class Profile; | |
| 12 | |
| 13 namespace syncfs_internals { | |
| 14 | |
| 15 // This class handles message from WebUI page of chrome://syncfs-internals/ | |
| 16 // for the Extension Statuses tab. It corresponds to browser/resources/ | |
| 17 // sync_file_system_internals/extension_statuses.html. All methods in this class | |
| 18 // should be called on UI thread. | |
| 19 class ExtensionStatusesHandler : public content::WebUIMessageHandler { | |
| 20 public: | |
| 21 explicit ExtensionStatusesHandler(Profile* profile); | |
| 22 virtual ~ExtensionStatusesHandler(); | |
| 23 | |
| 24 // WebUIMessageHandler implementation. | |
| 25 virtual void RegisterMessages() OVERRIDE; | |
| 26 | |
| 27 private: | |
| 28 void GetExtensionStatuses(const base::ListValue* args); | |
| 29 | |
| 30 Profile* profile_; | |
| 31 | |
| 32 DISALLOW_COPY_AND_ASSIGN(ExtensionStatusesHandler); | |
| 33 }; | |
|
nhiroki
2013/06/10 09:31:51
nit: Please add a blank line here.
calvinlo
2013/06/10 09:52:38
Done.
| |
| 34 } // namespace syncfs_internals | |
| 35 | |
| 36 #endif // CHROME_BROWSER_UI_WEBUI_SYNC_FILE_SYSTEM_INTERNALS_EXTENSION_STATUSES _HANDLER_H_ | |
| OLD | NEW |