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 CHROME_BROWSER_STORAGE_MONITOR_REMOVABLE_DEVICE_NOTIFICATIONS_MAC_H_ | 5 #ifndef CHROME_BROWSER_STORAGE_MONITOR_REMOVABLE_DEVICE_NOTIFICATIONS_MAC_H_ |
6 #define CHROME_BROWSER_STORAGE_MONITOR_REMOVABLE_DEVICE_NOTIFICATIONS_MAC_H_ | 6 #define CHROME_BROWSER_STORAGE_MONITOR_REMOVABLE_DEVICE_NOTIFICATIONS_MAC_H_ |
7 | 7 |
8 #include <DiskArbitration/DiskArbitration.h> | 8 #include <DiskArbitration/DiskArbitration.h> |
9 #include <map> | 9 #include <map> |
10 | 10 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 bool ShouldPostNotificationForDisk(const DiskInfoMac& info) const; | 54 bool ShouldPostNotificationForDisk(const DiskInfoMac& info) const; |
55 bool FindDiskWithMountPoint(const base::FilePath& mount_point, | 55 bool FindDiskWithMountPoint(const base::FilePath& mount_point, |
56 DiskInfoMac* info) const; | 56 DiskInfoMac* info) const; |
57 | 57 |
58 base::mac::ScopedCFTypeRef<DASessionRef> session_; | 58 base::mac::ScopedCFTypeRef<DASessionRef> session_; |
59 // Maps disk bsd names to disk info objects. This map tracks all mountable | 59 // Maps disk bsd names to disk info objects. This map tracks all mountable |
60 // devices on the system though only notifications for removable devices are | 60 // devices on the system though only notifications for removable devices are |
61 // posted. | 61 // posted. |
62 std::map<std::string, DiskInfoMac> disk_info_map_; | 62 std::map<std::string, DiskInfoMac> disk_info_map_; |
63 | 63 |
| 64 scoped_ptr<chrome::ImageCaptureDeviceManager> image_capture_device_manager_; |
| 65 |
64 DISALLOW_COPY_AND_ASSIGN(RemovableDeviceNotificationsMac); | 66 DISALLOW_COPY_AND_ASSIGN(RemovableDeviceNotificationsMac); |
65 }; | 67 }; |
66 | 68 |
67 } // namespace chrome | 69 } // namespace chrome |
68 | 70 |
69 #endif // CHROME_BROWSER_STORAGE_MONITOR_REMOVABLE_DEVICE_NOTIFICATIONS_MAC_H_ | 71 #endif // CHROME_BROWSER_STORAGE_MONITOR_REMOVABLE_DEVICE_NOTIFICATIONS_MAC_H_ |
OLD | NEW |