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 #include "chrome/browser/media_gallery/linux/mtp_device_operations_utils.h" | 5 #include "chrome/browser/media_gallery/linux/mtp_device_operations_utils.h" |
6 | 6 |
7 #include "chrome/browser/media_transfer_protocol/media_transfer_protocol_manager
.h" | 7 #include "device/media_transfer_protocol/media_transfer_protocol_manager.h" |
8 | 8 |
9 namespace chrome { | 9 namespace chrome { |
10 | 10 |
11 // Returns MediaTransferProtocolManager instance on success or NULL on failure. | 11 // Returns MediaTransferProtocolManager instance on success or NULL on failure. |
12 MediaTransferProtocolManager* GetMediaTransferProtocolManager() { | 12 device::MediaTransferProtocolManager* GetMediaTransferProtocolManager() { |
13 MediaTransferProtocolManager* mtp_device_mgr = | 13 device::MediaTransferProtocolManager* mtp_device_mgr = |
14 MediaTransferProtocolManager::GetInstance(); | 14 device::MediaTransferProtocolManager::GetInstance(); |
15 DCHECK(mtp_device_mgr); | 15 DCHECK(mtp_device_mgr); |
16 return mtp_device_mgr; | 16 return mtp_device_mgr; |
17 } | 17 } |
18 | 18 |
19 } // namespace chrome | 19 } // namespace chrome |
OLD | NEW |