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

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

Issue 11339036: Temporarily disable adding already attached removable devices to system monitor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: typo Created 8 years, 2 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 | « chrome/browser/system_monitor/removable_device_notifications_window_win_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/system_monitor/volume_mount_watcher_win.cc
diff --git a/chrome/browser/system_monitor/volume_mount_watcher_win.cc b/chrome/browser/system_monitor/volume_mount_watcher_win.cc
index 7ecc9917fa8b358a25e2021f8b1dd2f6942efc0d..94c13ccb70a60e17b979cc2640425a2b9d628b61 100644
--- a/chrome/browser/system_monitor/volume_mount_watcher_win.cc
+++ b/chrome/browser/system_monitor/volume_mount_watcher_win.cc
@@ -106,8 +106,11 @@ void VolumeMountWatcherWin::Init() {
// When VolumeMountWatcherWin is created, the message pumps are not running
// so a posted task from the constructor would never run. Therefore, do all
// the initializations here.
- BrowserThread::PostTask(BrowserThread::FILE, FROM_HERE, base::Bind(
- &VolumeMountWatcherWin::AddExistingDevicesOnFileThread, this));
+ //
+ // This should call AddExistingDevicesOnFileThread. The call is disabled
+ // until a fix for http://crbug.com/155910 can land.
+ // BrowserThread::PostTask(BrowserThread::FILE, FROM_HERE, base::Bind(
+ // &VolumeMountWatcherWin::AddExistingDevicesOnFileThread, this));
}
bool VolumeMountWatcherWin::GetDeviceInfo(const FilePath& device_path,
« no previous file with comments | « chrome/browser/system_monitor/removable_device_notifications_window_win_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698