| Index: chrome/browser/storage_monitor/removable_device_notifications_mac.mm
|
| diff --git a/chrome/browser/storage_monitor/removable_device_notifications_mac.mm b/chrome/browser/storage_monitor/removable_device_notifications_mac.mm
|
| index 16480b0c3bfd2371e40cf1de59fe52c6c43c59d8..d743fa944bf7fd629dfee37903717c117c8e5c34 100644
|
| --- a/chrome/browser/storage_monitor/removable_device_notifications_mac.mm
|
| +++ b/chrome/browser/storage_monitor/removable_device_notifications_mac.mm
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "chrome/browser/storage_monitor/removable_device_notifications_mac.h"
|
|
|
| +#include "base/mac/mac_util.h"
|
| +#include "chrome/browser/storage_monitor/image_capture_device_manager.h"
|
| #include "chrome/browser/storage_monitor/media_device_notifications_utils.h"
|
| #include "content/public/browser/browser_thread.h"
|
|
|
| @@ -70,6 +72,11 @@ RemovableDeviceNotificationsMac::RemovableDeviceNotificationsMac() {
|
| kDADiskDescriptionWatchVolumePath,
|
| DiskDescriptionChangedCallback,
|
| this);
|
| +
|
| + if (base::mac::IsOSLionOrLater()) {
|
| + image_capture_device_manager_.reset(new chrome::ImageCaptureDeviceManager);
|
| + image_capture_device_manager_->SetNotifications(receiver());
|
| + }
|
| }
|
|
|
| RemovableDeviceNotificationsMac::~RemovableDeviceNotificationsMac() {
|
|
|