OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_SUSPEND_UNMOUNT_MANAGER_H_ | 5 #ifndef CHROMEOS_DISKS_SUSPEND_UNMOUNT_MANAGER_H_ |
6 #define CHROMEOS_DISKS_SUSPEND_UNMOUNT_MANAGER_H_ | 6 #define CHROMEOS_DISKS_SUSPEND_UNMOUNT_MANAGER_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 | 10 |
| 11 #include "base/macros.h" |
11 #include "chromeos/chromeos_export.h" | 12 #include "chromeos/chromeos_export.h" |
12 #include "chromeos/dbus/cros_disks_client.h" | 13 #include "chromeos/dbus/cros_disks_client.h" |
13 #include "chromeos/dbus/power_manager_client.h" | 14 #include "chromeos/dbus/power_manager_client.h" |
14 | 15 |
15 namespace chromeos { | 16 namespace chromeos { |
16 namespace disks { | 17 namespace disks { |
17 | 18 |
18 class DiskMountManager; | 19 class DiskMountManager; |
19 | 20 |
20 // Class to unmount disks at suspend. | 21 // Class to unmount disks at suspend. |
(...skipping 24 matching lines...) Expand all Loading... |
45 | 46 |
46 base::WeakPtrFactory<SuspendUnmountManager> weak_ptr_factory_; | 47 base::WeakPtrFactory<SuspendUnmountManager> weak_ptr_factory_; |
47 | 48 |
48 DISALLOW_COPY_AND_ASSIGN(SuspendUnmountManager); | 49 DISALLOW_COPY_AND_ASSIGN(SuspendUnmountManager); |
49 }; | 50 }; |
50 | 51 |
51 } // namespace disks | 52 } // namespace disks |
52 } // namespace chromeos | 53 } // namespace chromeos |
53 | 54 |
54 #endif // CHROMEOS_DISKS_SUSPEND_UNMOUNT_MANAGER_H_ | 55 #endif // CHROMEOS_DISKS_SUSPEND_UNMOUNT_MANAGER_H_ |
OLD | NEW |