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

Unified Diff: chrome/browser/storage_monitor/test_volume_mount_watcher_win.h

Issue 12476026: Disable drive scan on startup to avoid spinning floppy drives (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add DoNothing closure to spawn a thread early Created 7 years, 9 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/test_volume_mount_watcher_win.h
diff --git a/chrome/browser/storage_monitor/test_volume_mount_watcher_win.h b/chrome/browser/storage_monitor/test_volume_mount_watcher_win.h
index 3310ffec0fb808b823655af0105cd6747c4ace48..64c0f8d5c44fea93c59cfe6587a7c9036f45b1f5 100644
--- a/chrome/browser/storage_monitor/test_volume_mount_watcher_win.h
+++ b/chrome/browser/storage_monitor/test_volume_mount_watcher_win.h
@@ -64,6 +64,10 @@ class TestVolumeMountWatcherWin : public VolumeMountWatcherWin {
bool* removable,
uint64* total_size_in_bytes);
+ // Should be used by unit tests to make sure the worker pool doesn't survive
+ // into other test runs.
+ void ShutdownWorkerPool();
+
private:
std::vector<base::FilePath> devices_checked_;
scoped_ptr<base::WaitableEvent> device_check_complete_event_;

Powered by Google App Engine
This is Rietveld 408576698