OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "chromeos/disks/mock_disk_mount_manager.h" | 5 #include "chromeos/disks/mock_disk_mount_manager.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
10 #include "base/stl_util.h" | 10 #include "base/stl_util.h" |
11 #include "base/string_util.h" | 11 #include "base/strings/string_util.h" |
12 | 12 |
13 using testing::_; | 13 using testing::_; |
14 using testing::AnyNumber; | 14 using testing::AnyNumber; |
15 using testing::Invoke; | 15 using testing::Invoke; |
16 using testing::ReturnRef; | 16 using testing::ReturnRef; |
17 | 17 |
18 namespace chromeos { | 18 namespace chromeos { |
19 namespace disks { | 19 namespace disks { |
20 | 20 |
21 namespace { | 21 namespace { |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 FOR_EACH_OBSERVER(Observer, observers_, OnDiskEvent(event, disk)); | 237 FOR_EACH_OBSERVER(Observer, observers_, OnDiskEvent(event, disk)); |
238 } | 238 } |
239 | 239 |
240 void MockDiskMountManager::NotifyDeviceChanged(DeviceEvent event, | 240 void MockDiskMountManager::NotifyDeviceChanged(DeviceEvent event, |
241 const std::string& path) { | 241 const std::string& path) { |
242 FOR_EACH_OBSERVER(Observer, observers_, OnDeviceEvent(event, path)); | 242 FOR_EACH_OBSERVER(Observer, observers_, OnDeviceEvent(event, path)); |
243 } | 243 } |
244 | 244 |
245 } // namespace disks | 245 } // namespace disks |
246 } // namespace chromeos | 246 } // namespace chromeos |
OLD | NEW |