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