| 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 <stdint.h> | 7 #include <stdint.h> |
| 8 | 8 |
| 9 #include <utility> | 9 #include <utility> |
| 10 | 10 |
| 11 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/message_loop/message_loop.h" | 12 #include "base/message_loop/message_loop.h" |
| 12 #include "base/stl_util.h" | 13 #include "base/stl_util.h" |
| 13 #include "base/strings/string_util.h" | 14 #include "base/strings/string_util.h" |
| 14 | 15 |
| 15 using testing::_; | 16 using testing::_; |
| 16 using testing::AnyNumber; | 17 using testing::AnyNumber; |
| 17 using testing::Invoke; | 18 using testing::Invoke; |
| 18 using testing::ReturnRef; | 19 using testing::ReturnRef; |
| 19 | 20 |
| 20 namespace chromeos { | 21 namespace chromeos { |
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 FOR_EACH_OBSERVER(Observer, observers_, OnDiskEvent(event, disk)); | 256 FOR_EACH_OBSERVER(Observer, observers_, OnDiskEvent(event, disk)); |
| 256 } | 257 } |
| 257 | 258 |
| 258 void MockDiskMountManager::NotifyDeviceChanged(DeviceEvent event, | 259 void MockDiskMountManager::NotifyDeviceChanged(DeviceEvent event, |
| 259 const std::string& path) { | 260 const std::string& path) { |
| 260 FOR_EACH_OBSERVER(Observer, observers_, OnDeviceEvent(event, path)); | 261 FOR_EACH_OBSERVER(Observer, observers_, OnDeviceEvent(event, path)); |
| 261 } | 262 } |
| 262 | 263 |
| 263 } // namespace disks | 264 } // namespace disks |
| 264 } // namespace chromeos | 265 } // namespace chromeos |
| OLD | NEW |