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

Side by Side Diff: chrome/browser/chromeos/webui/imageburner_ui.h

Issue 6674043: Rewritten MountLibrary to work with non-blocking mount API calls in libcros.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 9 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_CHROMEOS_WEBUI_IMAGEBURNER_UI_H_ 6 #ifndef CHROME_BROWSER_CHROMEOS_WEBUI_IMAGEBURNER_UI_H_
7 #define CHROME_BROWSER_CHROMEOS_WEBUI_IMAGEBURNER_UI_H_ 7 #define CHROME_BROWSER_CHROMEOS_WEBUI_IMAGEBURNER_UI_H_
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 28 matching lines...) Expand all
39 public base::SupportsWeakPtr<ImageBurnHandler> { 39 public base::SupportsWeakPtr<ImageBurnHandler> {
40 public: 40 public:
41 explicit ImageBurnHandler(TabContents* contents); 41 explicit ImageBurnHandler(TabContents* contents);
42 virtual ~ImageBurnHandler(); 42 virtual ~ImageBurnHandler();
43 43
44 // WebUIMessageHandler implementation. 44 // WebUIMessageHandler implementation.
45 virtual WebUIMessageHandler* Attach(WebUI* web_ui); 45 virtual WebUIMessageHandler* Attach(WebUI* web_ui);
46 virtual void RegisterMessages(); 46 virtual void RegisterMessages();
47 47
48 // chromeos::MountLibrary::Observer interface 48 // chromeos::MountLibrary::Observer interface
49 virtual void MountChanged(chromeos::MountLibrary* obj, 49 virtual void DiskChanged(chromeos::MountLibraryEventType event,
50 chromeos::MountEventType evt, 50 const chromeos::MountLibrary::Disk* disk);
51 const std::string& path); 51 virtual void DeviceChanged(chromeos::MountLibraryEventType event,
52 const std::string& device_path);
52 53
53 // chromeos::BurnLibrary::Observer interface 54 // chromeos::BurnLibrary::Observer interface
54 virtual void ProgressUpdated(chromeos::BurnLibrary* object, 55 virtual void ProgressUpdated(chromeos::BurnLibrary* object,
55 chromeos::BurnEventType evt, 56 chromeos::BurnEventType evt,
56 const ImageBurnStatus& status); 57 const ImageBurnStatus& status);
57 58
58 // DownloadItem::Observer interface 59 // DownloadItem::Observer interface
59 virtual void OnDownloadUpdated(DownloadItem* download); 60 virtual void OnDownloadUpdated(DownloadItem* download);
60 virtual void OnDownloadFileCompleted(DownloadItem* download); 61 virtual void OnDownloadFileCompleted(DownloadItem* download);
61 virtual void OnDownloadOpened(DownloadItem* download); 62 virtual void OnDownloadOpened(DownloadItem* download);
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 170
170 class ImageBurnUI : public WebUI { 171 class ImageBurnUI : public WebUI {
171 public: 172 public:
172 explicit ImageBurnUI(TabContents* contents); 173 explicit ImageBurnUI(TabContents* contents);
173 174
174 private: 175 private:
175 DISALLOW_COPY_AND_ASSIGN(ImageBurnUI); 176 DISALLOW_COPY_AND_ASSIGN(ImageBurnUI);
176 }; 177 };
177 178
178 #endif // CHROME_BROWSER_CHROMEOS_WEBUI_IMAGEBURNER_UI_H_ 179 #endif // CHROME_BROWSER_CHROMEOS_WEBUI_IMAGEBURNER_UI_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698