diff options
author | hashimoto@chromium.org <hashimoto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-03 08:39:49 +0000 |
---|---|---|
committer | hashimoto@chromium.org <hashimoto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-03 08:39:49 +0000 |
commit | 15a2c285fab340f1799dbd617c607a1534e9515c (patch) | |
tree | d5aecb53c3527a799dee874be1f1b02e08898b30 /chromeos/dbus/fake_cros_disks_client.cc | |
parent | 39bae8c8f144a957f3c03fe562de21d7f015ee01 (diff) | |
download | chromium_src-15a2c285fab340f1799dbd617c607a1534e9515c.zip chromium_src-15a2c285fab340f1799dbd617c607a1534e9515c.tar.gz chromium_src-15a2c285fab340f1799dbd617c607a1534e9515c.tar.bz2 |
chromeos: Remove |device_path| argument from CrosDiskClient::FormatDeviceCallback
The callback always receives the argument passed to FormatDevice()
BUG=None
TEST=chromeos_unittests
R=satorux@chromium.org
Review URL: https://codereview.chromium.org/18424003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209927 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos/dbus/fake_cros_disks_client.cc')
-rw-r--r-- | chromeos/dbus/fake_cros_disks_client.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/chromeos/dbus/fake_cros_disks_client.cc b/chromeos/dbus/fake_cros_disks_client.cc index bd863b8..7211b77 100644 --- a/chromeos/dbus/fake_cros_disks_client.cc +++ b/chromeos/dbus/fake_cros_disks_client.cc @@ -58,9 +58,8 @@ void FakeCrosDisksClient::FormatDevice(const std::string& device_path, last_format_device_device_path_ = device_path; last_format_device_filesystem_ = filesystem; if (format_device_success_) { - base::MessageLoopProxy::current()->PostTask( - FROM_HERE, - base::Bind(callback, device_path, true)); + base::MessageLoopProxy::current()->PostTask(FROM_HERE, + base::Bind(callback, true)); } else { base::MessageLoopProxy::current()->PostTask(FROM_HERE, error_callback); } |