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

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

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.mm
diff --git a/chrome/browser/system_monitor/disk_info_mac.mm b/chrome/browser/system_monitor/disk_info_mac.mm
index f404a9511bec4cc384a37b57a609c9283b1b6186..03604cd014d5bbfd81680a3e526afe8ebf4baf09 100644
--- a/chrome/browser/system_monitor/disk_info_mac.mm
+++ b/chrome/browser/system_monitor/disk_info_mac.mm
@@ -114,4 +114,16 @@ DiskInfoMac DiskInfoMac::BuildDiskInfoOnFileThread(CFDictionaryRef dict) {
return info;
}
+//static
Lei Zhang 2012/12/10 23:21:53 nit: space after slash
Greg Billock 2012/12/11 00:11:22 Done.
+DiskInfoMac DiskInfoMac::BuildDiskInfoFromICDevice(std::string device_id,
+ string16 device_name,
+ FilePath mount_point) {
+ DiskInfoMac info;
+ info.device_id_ = device_id;
+ info.device_name_ = device_name;
+ info.mount_point_ = mount_point;
+ info.type_ = MediaStorageUtil::MAC_IMAGE_CAPTURE;
+ return info;
+}
+
} // namesapce chrome

Powered by Google App Engine
This is Rietveld 408576698