Index: chrome/browser/chromeos/dom_ui/imageburner_ui.h |
=================================================================== |
--- chrome/browser/chromeos/dom_ui/imageburner_ui.h (revision 71980) |
+++ chrome/browser/chromeos/dom_ui/imageburner_ui.h (working copy) |
@@ -34,31 +34,14 @@ |
static const std::string kImageBaseURL = |
"http://chrome-master.mtv.corp.google.com/chromeos/dev-channel/"; |
static const std::string kImageFetcherName = "LATEST-x86-generic"; |
-static const std::string kImageFileName = "chromeos_image.bin.gz"; |
+static const std::string kImageDownloadURL = |
+ "https://dl.google.com/dl/chromeos/recovery/latest_mario_beta_channel"; |
+static const std::string kImageFileName = "chromeos_image.bin.zip"; |
static const std::string kTempImageFolderName = "chromeos_image"; |
xiyuan
2011/01/25 17:28:30
Since you touch this file, could we get rid of the
achuithb
2011/01/25 22:21:45
Good point - moved them to .cc. It's convenient fo
|
class ImageBurnResourceManager; |
class TabContents; |
-class ImageBurnUIHTMLSource : public ChromeURLDataManager::DataSource { |
- public: |
- ImageBurnUIHTMLSource(); |
- |
- // Called when the network layer has requested a resource underneath |
- // the path we registered. |
- virtual void StartDataRequest(const std::string& path, |
- bool is_off_the_record, |
- int request_id); |
- virtual std::string GetMimeType(const std::string&) const { |
- return "text/html"; |
- } |
- |
- private: |
- ~ImageBurnUIHTMLSource() {} |
- |
- DISALLOW_COPY_AND_ASSIGN(ImageBurnUIHTMLSource); |
-}; |
- |
class ImageBurnHandler : public DOMMessageHandler, |
public chromeos::MountLibrary::Observer, |
public chromeos::BurnLibrary::Observer, |
@@ -137,27 +120,6 @@ |
DISALLOW_COPY_AND_ASSIGN(ImageBurnHandler); |
}; |
-class ImageBurnTaskProxy |
- : public base::RefCountedThreadSafe<ImageBurnTaskProxy> { |
- public: |
- explicit ImageBurnTaskProxy(const base::WeakPtr<ImageBurnHandler>& handler); |
- |
- bool ReportDownloadInitialized(); |
- bool CheckDownloadFinished(); |
- void BurnImage(); |
- void FinalizeBurn(bool success); |
- |
- void CreateImageUrl(TabContents* tab_contents, ImageBurnHandler* downloader); |
- |
- private: |
- base::WeakPtr<ImageBurnHandler> handler_; |
- ImageBurnResourceManager* resource_manager_; |
- |
- friend class base::RefCountedThreadSafe<ImageBurnTaskProxy>; |
- |
- DISALLOW_COPY_AND_ASSIGN(ImageBurnTaskProxy); |
-}; |
- |
class ImageBurnResourceManager : public DownloadManager::Observer, |
public DownloadItem::Observer { |
public: |