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

Unified Diff: chromeos/dbus/fake_cros_disks_client.cc

Issue 281063002: Add EnumerateMountEntries method in CrosDisksClient. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove unused decl. Created 6 years, 7 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 | « chromeos/dbus/fake_cros_disks_client.h ('k') | chromeos/disks/disk_mount_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/fake_cros_disks_client.cc
diff --git a/chromeos/dbus/fake_cros_disks_client.cc b/chromeos/dbus/fake_cros_disks_client.cc
index 344a98e5fb9a139c16a824e45600e475e9a84adc..e298013665872cbf7a89406dbb3c98313125e8e7 100644
--- a/chromeos/dbus/fake_cros_disks_client.cc
+++ b/chromeos/dbus/fake_cros_disks_client.cc
@@ -51,6 +51,11 @@ void FakeCrosDisksClient::EnumerateAutoMountableDevices(
const base::Closure& error_callback) {
}
+void FakeCrosDisksClient::EnumerateMountEntries(
+ const EnumerateMountEntriesCallback& callback,
+ const base::Closure& error_callback) {
+}
+
void FakeCrosDisksClient::Format(const std::string& device_path,
const std::string& filesystem,
const base::Closure& callback,
@@ -104,7 +109,8 @@ bool FakeCrosDisksClient::SendMountCompletedEvent(
const std::string& mount_path) {
if (mount_completed_handler_.is_null())
return false;
- mount_completed_handler_.Run(error_code, source_path, mount_type, mount_path);
+ mount_completed_handler_.Run(
+ MountEntry(error_code, source_path, mount_type, mount_path));
return true;
}
« no previous file with comments | « chromeos/dbus/fake_cros_disks_client.h ('k') | chromeos/disks/disk_mount_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698