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

Unified Diff: chrome/browser/storage_monitor/volume_mount_watcher_win.cc

Issue 15988011: Refine StorageMonitor storage device getter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update Created 7 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
Index: chrome/browser/storage_monitor/volume_mount_watcher_win.cc
diff --git a/chrome/browser/storage_monitor/volume_mount_watcher_win.cc b/chrome/browser/storage_monitor/volume_mount_watcher_win.cc
index 8cd39983e8f326c64f862d02c65fa77f0a58fb63..6cc68c8708de0cba663c480a3b3409b3b8adcb83 100644
--- a/chrome/browser/storage_monitor/volume_mount_watcher_win.cc
+++ b/chrome/browser/storage_monitor/volume_mount_watcher_win.cc
@@ -490,10 +490,6 @@ void VolumeMountWatcherWin::HandleDeviceAttachEventOnUIThread(
DeviceCheckComplete(device_path);
- // Don't call removable storage observers for fixed volumes.
- if (!StorageInfo::IsRemovableDevice(info.device_id()))
Hongbo Min 2013/06/04 02:52:29 Don't try to remove this if clause, otherwise, the
- return;
-
if (notifications_)
notifications_->ProcessAttach(info);
}

Powered by Google App Engine
This is Rietveld 408576698