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

Unified Diff: chromeos/dbus/mock_cros_disks_client.h

Issue 10024054: chromeos: Convert D-Bus client classes' callback arguments to const reference (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 8 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/mock_cashew_client.h ('k') | chromeos/dbus/mock_cryptohome_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/mock_cros_disks_client.h
diff --git a/chromeos/dbus/mock_cros_disks_client.h b/chromeos/dbus/mock_cros_disks_client.h
index 0b242f98e76e5d029c98793d32ba16aa0c4dec5a..b258935713bf33fc03dde19bf8455a3e173e3934 100644
--- a/chromeos/dbus/mock_cros_disks_client.h
+++ b/chromeos/dbus/mock_cros_disks_client.h
@@ -18,18 +18,25 @@ class MockCrosDisksClient : public CrosDisksClient {
MockCrosDisksClient();
virtual ~MockCrosDisksClient();
- MOCK_METHOD4(Mount, void(const std::string&, MountType, MountCallback,
- ErrorCallback));
- MOCK_METHOD3(Unmount, void(const std::string&, UnmountCallback,
- ErrorCallback));
- MOCK_METHOD2(EnumerateAutoMountableDevices, void(
- EnumerateAutoMountableDevicesCallback, ErrorCallback));
- MOCK_METHOD4(FormatDevice, void(const std::string&, const std::string&,
- FormatDeviceCallback, ErrorCallback));
- MOCK_METHOD3(GetDeviceProperties, void(
- const std::string&, GetDevicePropertiesCallback, ErrorCallback));
- MOCK_METHOD2(SetUpConnections, void(MountEventHandler,
- MountCompletedHandler));
+ MOCK_METHOD4(Mount, void(const std::string&,
+ MountType,
+ const MountCallback&,
+ const ErrorCallback&));
+ MOCK_METHOD3(Unmount, void(const std::string&,
+ const UnmountCallback&,
+ const ErrorCallback&));
+ MOCK_METHOD2(EnumerateAutoMountableDevices,
+ void(const EnumerateAutoMountableDevicesCallback&,
+ const ErrorCallback&));
+ MOCK_METHOD4(FormatDevice, void(const std::string&,
+ const std::string&,
+ const FormatDeviceCallback&,
+ const ErrorCallback&));
+ MOCK_METHOD3(GetDeviceProperties, void(const std::string&,
+ const GetDevicePropertiesCallback&,
+ const ErrorCallback&));
+ MOCK_METHOD2(SetUpConnections, void(const MountEventHandler&,
+ const MountCompletedHandler&));
};
} // namespace chromeos
« no previous file with comments | « chromeos/dbus/mock_cashew_client.h ('k') | chromeos/dbus/mock_cryptohome_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698