OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 COMPONENTS_STORAGE_MONITOR_STORAGE_MONITOR_MAC_H_ | 5 #ifndef COMPONENTS_STORAGE_MONITOR_STORAGE_MONITOR_MAC_H_ |
6 #define COMPONENTS_STORAGE_MONITOR_STORAGE_MONITOR_MAC_H_ | 6 #define COMPONENTS_STORAGE_MONITOR_STORAGE_MONITOR_MAC_H_ |
7 | 7 |
8 #include <DiskArbitration/DiskArbitration.h> | 8 #include <DiskArbitration/DiskArbitration.h> |
9 #include <map> | 9 #include <map> |
10 | 10 |
11 #include "base/mac/scoped_cftyperef.h" | 11 #include "base/mac/scoped_cftyperef.h" |
| 12 #include "base/macros.h" |
12 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
13 #include "components/storage_monitor/storage_monitor.h" | 14 #include "components/storage_monitor/storage_monitor.h" |
14 | 15 |
15 namespace storage_monitor { | 16 namespace storage_monitor { |
16 | 17 |
17 class ImageCaptureDeviceManager; | 18 class ImageCaptureDeviceManager; |
18 | 19 |
19 // This class posts notifications to listeners when a new disk | 20 // This class posts notifications to listeners when a new disk |
20 // is attached, removed, or changed. | 21 // is attached, removed, or changed. |
21 class StorageMonitorMac : public StorageMonitor, | 22 class StorageMonitorMac : public StorageMonitor, |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 int pending_disk_updates_; | 66 int pending_disk_updates_; |
66 | 67 |
67 scoped_ptr<ImageCaptureDeviceManager> image_capture_device_manager_; | 68 scoped_ptr<ImageCaptureDeviceManager> image_capture_device_manager_; |
68 | 69 |
69 DISALLOW_COPY_AND_ASSIGN(StorageMonitorMac); | 70 DISALLOW_COPY_AND_ASSIGN(StorageMonitorMac); |
70 }; | 71 }; |
71 | 72 |
72 } // namespace storage_monitor | 73 } // namespace storage_monitor |
73 | 74 |
74 #endif // COMPONENTS_STORAGE_MONITOR_STORAGE_MONITOR_MAC_H_ | 75 #endif // COMPONENTS_STORAGE_MONITOR_STORAGE_MONITOR_MAC_H_ |
OLD | NEW |