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

Unified Diff: chromeos/disks/mock_disk_mount_manager.cc

Issue 11363236: Revert 167606 - [Media Gallery][ChromeOS] Improve device media gallery names. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 1 month 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 | « chromeos/disks/mock_disk_mount_manager.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/disks/mock_disk_mount_manager.cc
===================================================================
--- chromeos/disks/mock_disk_mount_manager.cc (revision 167608)
+++ chromeos/disks/mock_disk_mount_manager.cc (working copy)
@@ -183,11 +183,7 @@
void MockDiskMountManager::CreateDiskEntryForMountDevice(
const DiskMountManager::MountPointInfo& mount_info,
const std::string& device_id,
- const std::string& device_label,
- const std::string& vendor_name,
- const std::string& product_name,
- DeviceType device_type,
- uint64 total_size_in_bytes) {
+ const std::string& device_label) {
Disk* disk = new DiskMountManager::Disk(std::string(mount_info.source_path),
std::string(mount_info.mount_path),
std::string(), // system_path
@@ -195,13 +191,13 @@
device_label, // device_label
std::string(), // drive_label
std::string(), // vendor_id
- vendor_name,
+ std::string(), // vendor_name
std::string(), // product_id
- product_name,
+ std::string(), // product_name
device_id, // fs_uuid
std::string(), // system_path_prefix
- device_type,
- total_size_in_bytes,
+ DEVICE_TYPE_USB, // device_type
+ 1073741824, // total_size_in_bytes
false, // is_parent
false, // is_read_only
true, // has_media
« no previous file with comments | « chromeos/disks/mock_disk_mount_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698