OLD | NEW |
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 Loading... |
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 |
OLD | NEW |