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

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

Issue 11817036: Revert 175938 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 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/system_monitor/disk_info_mac.h ('k') | chrome/browser/system_monitor/image_capture_device.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/system_monitor/disk_info_mac.mm
===================================================================
--- chrome/browser/system_monitor/disk_info_mac.mm (revision 175941)
+++ chrome/browser/system_monitor/disk_info_mac.mm (working copy)
@@ -114,4 +114,17 @@
return info;
}
+// TODO(gbillock): Make sure this gets test coverage.
+// static
+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
« no previous file with comments | « chrome/browser/system_monitor/disk_info_mac.h ('k') | chrome/browser/system_monitor/image_capture_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698