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

Unified Diff: chrome/browser/chromeos/imageburner/burn_manager.h

Issue 14773024: Fix imageburner trying to extract downloaded image to unexisting folder. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/chromeos/imageburner/burn_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/imageburner/burn_manager.h
diff --git a/chrome/browser/chromeos/imageburner/burn_manager.h b/chrome/browser/chromeos/imageburner/burn_manager.h
index d53e12d3bf1a4038603639ca36376744f9c9cd14..11cd2815e2afa81384e6732115fd5922c9d8f834 100644
--- a/chrome/browser/chromeos/imageburner/burn_manager.h
+++ b/chrome/browser/chromeos/imageburner/burn_manager.h
@@ -323,9 +323,10 @@ class BurnManager : public net::URLFetcherDelegate,
// Must be called from FILE thread.
void CreateImageDir();
- // Returns directory image should be dopwnloaded to.
- // The directory has to be previously created.
- const base::FilePath& GetImageDir();
+ // Returns the directory to which the recovery image should be downloaded.
+ // If the directory hasn't been previously created, an empty path is returned
+ // (in which case |CreateImageDir()| should be called).
+ base::FilePath GetImageDir();
const base::FilePath& target_device_path() { return target_device_path_; }
void set_target_device_path(const base::FilePath& path) {
@@ -369,6 +370,7 @@ class BurnManager : public net::URLFetcherDelegate,
BurnDeviceHandler device_handler_;
+ bool image_dir_created_;
bool unzipping_;
bool cancelled_;
bool burning_;
« no previous file with comments | « no previous file | chrome/browser/chromeos/imageburner/burn_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698