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" |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
12 #include "base/stl_util.h" | 12 #include "base/stl_util.h" |
13 #include "base/string16.h" | 13 #include "base/strings/string16.h" |
14 #include "base/string_util.h" | |
15 #include "base/strings/string_number_conversions.h" | 14 #include "base/strings/string_number_conversions.h" |
| 15 #include "base/strings/string_util.h" |
16 #include "base/strings/utf_string_conversions.h" | 16 #include "base/strings/utf_string_conversions.h" |
17 #include "chrome/browser/storage_monitor/media_storage_util.h" | 17 #include "chrome/browser/storage_monitor/media_storage_util.h" |
18 #include "chrome/browser/storage_monitor/media_transfer_protocol_device_observer
_linux.h" | 18 #include "chrome/browser/storage_monitor/media_transfer_protocol_device_observer
_linux.h" |
19 #include "chrome/browser/storage_monitor/removable_device_constants.h" | 19 #include "chrome/browser/storage_monitor/removable_device_constants.h" |
20 #include "chrome/browser/storage_monitor/test_media_transfer_protocol_manager_li
nux.h" | 20 #include "chrome/browser/storage_monitor/test_media_transfer_protocol_manager_li
nux.h" |
21 #include "chrome/common/chrome_switches.h" | 21 #include "chrome/common/chrome_switches.h" |
22 #include "content/public/browser/browser_thread.h" | 22 #include "content/public/browser/browser_thread.h" |
23 #include "device/media_transfer_protocol/media_transfer_protocol_manager.h" | 23 #include "device/media_transfer_protocol/media_transfer_protocol_manager.h" |
24 | 24 |
25 namespace chromeos { | 25 namespace chromeos { |
(...skipping 274 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 |
OLD | NEW |