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

Side by Side Diff: chrome/browser/storage_monitor/test_volume_mount_watcher_win.cc

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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // TestVolumeMountWatcherWin implementation. 5 // TestVolumeMountWatcherWin implementation.
6 6
7 #include "chrome/browser/storage_monitor/test_volume_mount_watcher_win.h" 7 #include "chrome/browser/storage_monitor/test_volume_mount_watcher_win.h"
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 string16* device_location, 142 string16* device_location,
143 std::string* unique_id, 143 std::string* unique_id,
144 string16* name, 144 string16* name,
145 bool* removable, 145 bool* removable,
146 uint64* total_size_in_bytes) { 146 uint64* total_size_in_bytes) {
147 return GetMassStorageDeviceDetails( 147 return GetMassStorageDeviceDetails(
148 device_path, device_location, unique_id, name, removable, 148 device_path, device_location, unique_id, name, removable,
149 total_size_in_bytes); 149 total_size_in_bytes);
150 } 150 }
151 151
152 void TestVolumeMountWatcherWin::ShutdownWorkerPool() {
153 device_info_worker_pool_->Shutdown();
154 }
155
152 } // namespace test 156 } // namespace test
153 } // namespace chrome 157 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698