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

Side by Side Diff: chrome/browser/media_galleries/mtp_device_delegate_impl.h

Issue 14247034: Move Media Galleries FileAPI code out of webkit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cr-14352004
Patch Set: Add android ifdef. Created 7 years, 8 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
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 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_MTP_DEVICE_DELEGATE_IMPL_H_ 5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_MTP_DEVICE_DELEGATE_IMPL_H_
6 #define CHROME_BROWSER_MEDIA_GALLERIES_MTP_DEVICE_DELEGATE_IMPL_H_ 6 #define CHROME_BROWSER_MEDIA_GALLERIES_MTP_DEVICE_DELEGATE_IMPL_H_
7 7
8 #include "webkit/fileapi/media/mtp_device_file_system_config.h" 8 #include "chrome/browser/media_galleries/fileapi/mtp_device_file_system_config.h "
9 9
10 #if !defined(SUPPORT_MTP_DEVICE_FILESYSTEM) 10 #if !defined(SUPPORT_MTP_DEVICE_FILESYSTEM)
11 #error "Media file system is not supported for this platform." 11 #error "Media file system is not supported for this platform."
12 #endif 12 #endif
13 13
14 #include "base/callback_forward.h" 14 #include "base/callback_forward.h"
15 #include "base/files/file_path.h" 15 #include "base/files/file_path.h"
16 #include "webkit/fileapi/media/mtp_device_async_delegate.h" 16 #include "chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h"
17 17
18 namespace base { 18 namespace base {
19 class SequencedTaskRunner; 19 class SequencedTaskRunner;
20 } 20 }
21 21
22 namespace chrome { 22 namespace chrome {
23 23
24 typedef base::Callback<void(fileapi::MTPDeviceAsyncDelegate*)> 24 typedef base::Callback<void(MTPDeviceAsyncDelegate*)>
25 CreateMTPDeviceAsyncDelegateCallback; 25 CreateMTPDeviceAsyncDelegateCallback;
26 26
27 void CreateMTPDeviceAsyncDelegate( 27 void CreateMTPDeviceAsyncDelegate(
28 const base::FilePath::StringType& device_location, 28 const base::FilePath::StringType& device_location,
29 const CreateMTPDeviceAsyncDelegateCallback& callback); 29 const CreateMTPDeviceAsyncDelegateCallback& callback);
30 30
31 } // namespace chrome 31 } // namespace chrome
32 32
33 #endif // CHROME_BROWSER_MEDIA_GALLERIES_MTP_DEVICE_DELEGATE_IMPL_H_ 33 #endif // CHROME_BROWSER_MEDIA_GALLERIES_MTP_DEVICE_DELEGATE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698