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 #ifndef CHROMEOS_DISKS_MOCK_DISK_MOUNT_MANAGER_H_ | 5 #ifndef CHROMEOS_DISKS_MOCK_DISK_MOUNT_MANAGER_H_ |
6 #define CHROMEOS_DISKS_MOCK_DISK_MOUNT_MANAGER_H_ | 6 #define CHROMEOS_DISKS_MOCK_DISK_MOUNT_MANAGER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/observer_list.h" | 10 #include "base/observer_list.h" |
11 #include "base/time.h" | |
12 #include "chromeos/disks/disk_mount_manager.h" | 11 #include "chromeos/disks/disk_mount_manager.h" |
13 #include "testing/gmock/include/gmock/gmock.h" | 12 #include "testing/gmock/include/gmock/gmock.h" |
14 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
15 | 14 |
16 namespace chromeos { | 15 namespace chromeos { |
17 namespace disks { | 16 namespace disks { |
18 | 17 |
19 class MockDiskMountManager : public DiskMountManager { | 18 class MockDiskMountManager : public DiskMountManager { |
20 public: | 19 public: |
21 MockDiskMountManager(); | 20 MockDiskMountManager(); |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 // The list of existing mount points. | 92 // The list of existing mount points. |
94 DiskMountManager::MountPointMap mount_points_; | 93 DiskMountManager::MountPointMap mount_points_; |
95 | 94 |
96 DISALLOW_COPY_AND_ASSIGN(MockDiskMountManager); | 95 DISALLOW_COPY_AND_ASSIGN(MockDiskMountManager); |
97 }; | 96 }; |
98 | 97 |
99 } // namespace disks | 98 } // namespace disks |
100 } // namespace chromeos | 99 } // namespace chromeos |
101 | 100 |
102 #endif // CHROMEOS_DISKS_MOCK_DISK_MOUNT_MANAGER_H_ | 101 #endif // CHROMEOS_DISKS_MOCK_DISK_MOUNT_MANAGER_H_ |
OLD | NEW |