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

Unified Diff: chrome/browser/chromeos/cros/mount_library.cc

Issue 6348006: Add IsBootPath to MountLibrary. Additional boot path check in imageburner so ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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 | « chrome/browser/chromeos/cros/mount_library.h ('k') | chrome/browser/chromeos/dom_ui/imageburner_ui.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/cros/mount_library.cc
===================================================================
--- chrome/browser/chromeos/cros/mount_library.cc (revision 72694)
+++ chrome/browser/chromeos/cros/mount_library.cc (working copy)
@@ -39,6 +39,10 @@
return MountDevicePath(device_path);
}
+ bool IsBootPath(const char* device_path) {
+ return IsBootDevicePath(device_path);
+ }
+
const DiskVector& disks() const { return disks_; }
private:
@@ -124,6 +128,7 @@
virtual void RemoveObserver(Observer* observer) {}
virtual const DiskVector& disks() const { return disks_; }
virtual bool MountPath(const char* device_path) { return false; }
+ virtual bool IsBootPath(const char* device_path) { return true; }
private:
// The list of disks found.
« no previous file with comments | « chrome/browser/chromeos/cros/mount_library.h ('k') | chrome/browser/chromeos/dom_ui/imageburner_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698