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

Side by Side Diff: chrome/browser/ui/webui/chromeos/imageburner/webui_handler.h

Issue 7457001: Adding support for mount point different from removable devices to MountLibrary (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 std::string& source,
101 chromeos::MountType mount_type,
102 const std::string& mount_path) OVERRIDE {
103 }
98 104
99 // chromeos::BurnLibrary::Observer interface. 105 // chromeos::BurnLibrary::Observer interface.
100 virtual void BurnProgressUpdated(chromeos::BurnLibrary* object, 106 virtual void BurnProgressUpdated(chromeos::BurnLibrary* object,
101 chromeos::BurnEvent evt, 107 chromeos::BurnEvent evt,
102 const ImageBurnStatus& status) OVERRIDE; 108 const ImageBurnStatus& status) OVERRIDE;
103 109
104 // chromeos::NetworkLibrary::NetworkManagerObserver interface. 110 // chromeos::NetworkLibrary::NetworkManagerObserver interface.
105 virtual void OnNetworkManagerChanged(chromeos::NetworkLibrary* obj) OVERRIDE; 111 virtual void OnNetworkManagerChanged(chromeos::NetworkLibrary* obj) OVERRIDE;
106 112
107 // DownloadItem::Observer interface. 113 // DownloadItem::Observer interface.
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 StateMachine* state_machine_; 205 StateMachine* state_machine_;
200 bool observing_burn_lib_; 206 bool observing_burn_lib_;
201 bool working_; 207 bool working_;
202 208
203 DISALLOW_COPY_AND_ASSIGN(WebUIHandler); 209 DISALLOW_COPY_AND_ASSIGN(WebUIHandler);
204 }; 210 };
205 211
206 } // namespace imageburner. 212 } // namespace imageburner.
207 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_IMAGEBURNER_WEBUI_HANDLER_H_ 213 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_IMAGEBURNER_WEBUI_HANDLER_H_
208 214
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698