| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 | 5 |
| 6 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_IMAGEBURNER_WEBUI_HANDLER_H_ | 6 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_IMAGEBURNER_WEBUI_HANDLER_H_ |
| 7 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_IMAGEBURNER_WEBUI_HANDLER_H_ | 7 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_IMAGEBURNER_WEBUI_HANDLER_H_ |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 // WebUIMessageHandler implementation. | 88 // WebUIMessageHandler implementation. |
| 89 virtual WebUIMessageHandler* Attach(WebUI* web_ui) OVERRIDE; | 89 virtual WebUIMessageHandler* Attach(WebUI* web_ui) OVERRIDE; |
| 90 virtual void RegisterMessages() OVERRIDE; | 90 virtual void RegisterMessages() OVERRIDE; |
| 91 | 91 |
| 92 // chromeos::MountLibrary::Observer interface. | 92 // chromeos::MountLibrary::Observer interface. |
| 93 virtual void DiskChanged(chromeos::MountLibraryEventType event, | 93 virtual void DiskChanged(chromeos::MountLibraryEventType event, |
| 94 const chromeos::MountLibrary::Disk* disk) OVERRIDE; | 94 const chromeos::MountLibrary::Disk* disk) OVERRIDE; |
| 95 virtual void DeviceChanged(chromeos::MountLibraryEventType event, | 95 virtual void DeviceChanged(chromeos::MountLibraryEventType event, |
| 96 const std::string& device_path) OVERRIDE { | 96 const std::string& device_path) OVERRIDE { |
| 97 } | 97 } |
| 98 virtual void MountCompleted(chromeos::MountLibrary::MountEvent event_type, |
| 99 chromeos::MountError error_code, |
| 100 const chromeos::MountLibrary::MountPointInfo& mount_info) OVERRIDE { |
| 101 } |
| 98 | 102 |
| 99 // chromeos::BurnLibrary::Observer interface. | 103 // chromeos::BurnLibrary::Observer interface. |
| 100 virtual void BurnProgressUpdated(chromeos::BurnLibrary* object, | 104 virtual void BurnProgressUpdated(chromeos::BurnLibrary* object, |
| 101 chromeos::BurnEvent evt, | 105 chromeos::BurnEvent evt, |
| 102 const ImageBurnStatus& status) OVERRIDE; | 106 const ImageBurnStatus& status) OVERRIDE; |
| 103 | 107 |
| 104 // chromeos::NetworkLibrary::NetworkManagerObserver interface. | 108 // chromeos::NetworkLibrary::NetworkManagerObserver interface. |
| 105 virtual void OnNetworkManagerChanged(chromeos::NetworkLibrary* obj) OVERRIDE; | 109 virtual void OnNetworkManagerChanged(chromeos::NetworkLibrary* obj) OVERRIDE; |
| 106 | 110 |
| 107 // DownloadItem::Observer interface. | 111 // DownloadItem::Observer interface. |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 StateMachine* state_machine_; | 203 StateMachine* state_machine_; |
| 200 bool observing_burn_lib_; | 204 bool observing_burn_lib_; |
| 201 bool working_; | 205 bool working_; |
| 202 | 206 |
| 203 DISALLOW_COPY_AND_ASSIGN(WebUIHandler); | 207 DISALLOW_COPY_AND_ASSIGN(WebUIHandler); |
| 204 }; | 208 }; |
| 205 | 209 |
| 206 } // namespace imageburner. | 210 } // namespace imageburner. |
| 207 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_IMAGEBURNER_WEBUI_HANDLER_H_ | 211 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_IMAGEBURNER_WEBUI_HANDLER_H_ |
| 208 | 212 |
| OLD | NEW |