| 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 // chromeos::RemovableDeviceNotificationsCros implementation. | 5 // chromeos::RemovableDeviceNotificationsCros implementation. |
| 6 | 6 |
| 7 #include "chrome/browser/system_monitor/removable_device_notifications_chromeos.
h" | 7 #include "chrome/browser/system_monitor/removable_device_notifications_chromeos.
h" |
| 8 | 8 |
| 9 #include "base/file_path.h" | 9 #include "base/file_path.h" |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 | 160 |
| 161 std::string device_id = chrome::MediaStorageUtil::MakeDeviceId(type, | 161 std::string device_id = chrome::MediaStorageUtil::MakeDeviceId(type, |
| 162 unique_id); | 162 unique_id); |
| 163 mount_map_.insert(std::make_pair(mount_info.mount_path, device_id)); | 163 mount_map_.insert(std::make_pair(mount_info.mount_path, device_id)); |
| 164 base::SystemMonitor::Get()->ProcessRemovableStorageAttached( | 164 base::SystemMonitor::Get()->ProcessRemovableStorageAttached( |
| 165 device_id, | 165 device_id, |
| 166 device_label, | 166 device_label, |
| 167 mount_info.mount_path); | 167 mount_info.mount_path); |
| 168 } | 168 } |
| 169 | 169 |
| 170 void MediaDeviceNotifications::StartWatchingStorage(const FilePath& path) { |
| 171 NOTIMPLEMENTED(); |
| 172 } |
| 173 |
| 174 void MediaDeviceNotifications::StopWatchingStorage(const FilePath& path) { |
| 175 NOTIMPLEMENTED(); |
| 176 } |
| 177 |
| 170 } // namespace chrome | 178 } // namespace chrome |
| OLD | NEW |