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

Unified Diff: chrome/browser/system_monitor/disk_info_mac.h

Issue 11490010: [Media Galleries] Introduce a new type for Mac Image Capture. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix include Created 8 years 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
Index: chrome/browser/system_monitor/disk_info_mac.h
diff --git a/chrome/browser/system_monitor/disk_info_mac.h b/chrome/browser/system_monitor/disk_info_mac.h
index 2c046489001dd7ba605a19e0e64e4b0d6f19f3f8..106c2c75647b91f1c6e32e41c466cabefd4417d8 100644
--- a/chrome/browser/system_monitor/disk_info_mac.h
+++ b/chrome/browser/system_monitor/disk_info_mac.h
@@ -22,6 +22,11 @@ class DiskInfoMac {
// dictionary. This function must be called on the file thread.
static DiskInfoMac BuildDiskInfoOnFileThread(CFDictionaryRef dict);
+ // Construct a disk info object from info from an ImageCature device.
+ static DiskInfoMac BuildDiskInfoFromICDevice(std::string device_id,
sail 2012/12/10 23:06:36 exercise this in unit tests?
Greg Billock 2012/12/11 00:11:22 I'll see about doing this later. I don't think a d
sail 2012/12/11 00:14:01 Could you add a TODO? It would be good to have goo
Greg Billock 2012/12/11 01:02:26 OK. I do think this'll get tested, but I don't thi
sail 2012/12/11 18:40:21 The disk info stuff is exercised in removable_devi
+ string16 device_name,
+ FilePath mount_point);
+
const std::string& bsd_name() const { return bsd_name_; }
const std::string& device_id() const { return device_id_; }
const std::string& model_name() const { return model_name_; }

Powered by Google App Engine
This is Rietveld 408576698