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::StorageMonitorCros implementation. | 5 // chromeos::StorageMonitorCros implementation. |
6 | 6 |
7 #include "chrome/browser/storage_monitor/storage_monitor_chromeos.h" | 7 #include "chrome/browser/storage_monitor/storage_monitor_chromeos.h" |
8 | 8 |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
300 | 300 |
301 if (info.device_id().empty()) | 301 if (info.device_id().empty()) |
302 return; | 302 return; |
303 | 303 |
304 mount_map_.insert(std::make_pair(mount_info.mount_path, info)); | 304 mount_map_.insert(std::make_pair(mount_info.mount_path, info)); |
305 | 305 |
306 receiver()->ProcessAttach(info); | 306 receiver()->ProcessAttach(info); |
307 } | 307 } |
308 | 308 |
309 } // namespace chromeos | 309 } // namespace chromeos |
| 310 |
| 311 namespace chrome { |
| 312 |
| 313 StorageMonitor* StorageMonitor::Create() { |
| 314 return new chromeos::StorageMonitorCros(); |
| 315 } |
| 316 |
| 317 } // namespace chrome |
OLD | NEW |