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

Unified Diff: chrome/browser/chromeos/file_manager/volume_manager.cc

Issue 490643005: Files.app: Start to use DeviceEventRouter. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 6 years, 4 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
Index: chrome/browser/chromeos/file_manager/volume_manager.cc
diff --git a/chrome/browser/chromeos/file_manager/volume_manager.cc b/chrome/browser/chromeos/file_manager/volume_manager.cc
index c60ba7174842590e6322acd909ffce81aa1fa821..bc05c900930a5cf5162eb3a0caa3e90c9fc298a4 100644
--- a/chrome/browser/chromeos/file_manager/volume_manager.cc
+++ b/chrome/browser/chromeos/file_manager/volume_manager.cc
@@ -509,8 +509,6 @@ void VolumeManager::OnDiskEvent(
const std::string& device_path = disk->system_path_prefix();
if (mounted_disk_monitor_->DeviceIsHardUnpluggedButNotReported(
device_path)) {
- FOR_EACH_OBSERVER(VolumeManagerObserver, observers_,
- OnHardUnplugged(device_path));
mounted_disk_monitor_->MarkAsHardUnpluggedReported(device_path);
}
return;

Powered by Google App Engine
This is Rietveld 408576698