Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(238)

Side by Side Diff: chrome/browser/media_gallery/linux/mtp_device_operations_utils.cc

Issue 11744014: [Media Gallery] Move chrome/browser/media_transfer_protocol code to src/device. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix gclient runhooks error Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698