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

Unified Diff: chromeos/dbus/cros_disks_client.cc

Issue 11365142: Small refactoring in DiskMountManager (event reporting; format method). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: few lint nits 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/dbus/cros_disks_client.h ('k') | chromeos/dbus/mock_cros_disks_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/cros_disks_client.cc
diff --git a/chromeos/dbus/cros_disks_client.cc b/chromeos/dbus/cros_disks_client.cc
index a7c50d2e8edf58edaba17e511a59b8280b435a2d..ab24b378c2fe68f353add9ce81ecfe4959fa8e3a 100644
--- a/chromeos/dbus/cros_disks_client.cc
+++ b/chromeos/dbus/cros_disks_client.cc
@@ -229,13 +229,13 @@ class CrosDisksClientImpl : public CrosDisksClient {
const MountEventHandler& mount_event_handler,
const MountCompletedHandler& mount_completed_handler) OVERRIDE {
static const SignalEventTuple kSignalEventTuples[] = {
- { cros_disks::kDeviceAdded, DEVICE_ADDED },
- { cros_disks::kDeviceScanned, DEVICE_SCANNED },
- { cros_disks::kDeviceRemoved, DEVICE_REMOVED },
- { cros_disks::kDiskAdded, DISK_ADDED },
- { cros_disks::kDiskChanged, DISK_CHANGED },
- { cros_disks::kDiskRemoved, DISK_REMOVED },
- { cros_disks::kFormattingFinished, FORMATTING_FINISHED },
+ { cros_disks::kDeviceAdded, CROS_DISKS_DEVICE_ADDED },
+ { cros_disks::kDeviceScanned, CROS_DISKS_DEVICE_SCANNED },
+ { cros_disks::kDeviceRemoved, CROS_DISKS_DEVICE_REMOVED },
+ { cros_disks::kDiskAdded, CROS_DISKS_DISK_ADDED },
+ { cros_disks::kDiskChanged, CROS_DISKS_DISK_CHANGED },
+ { cros_disks::kDiskRemoved, CROS_DISKS_DISK_REMOVED },
+ { cros_disks::kFormattingFinished, CROS_DISKS_FORMATTING_FINISHED },
};
const size_t kNumSignalEventTuples = arraysize(kSignalEventTuples);
« no previous file with comments | « chromeos/dbus/cros_disks_client.h ('k') | chromeos/dbus/mock_cros_disks_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698