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 #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 "base/callback_forward.h" | 8 #include "base/callback_forward.h" |
9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
10 #include "chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h" | 10 #include "chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h" |
11 | 11 |
12 namespace base { | 12 namespace base { |
13 class SequencedTaskRunner; | 13 class SequencedTaskRunner; |
14 } | 14 } |
15 | 15 |
16 namespace chrome { | |
17 | |
18 typedef base::Callback<void(MTPDeviceAsyncDelegate*)> | 16 typedef base::Callback<void(MTPDeviceAsyncDelegate*)> |
19 CreateMTPDeviceAsyncDelegateCallback; | 17 CreateMTPDeviceAsyncDelegateCallback; |
20 | 18 |
21 void CreateMTPDeviceAsyncDelegate( | 19 void CreateMTPDeviceAsyncDelegate( |
22 const base::FilePath::StringType& device_location, | 20 const base::FilePath::StringType& device_location, |
23 const CreateMTPDeviceAsyncDelegateCallback& callback); | 21 const CreateMTPDeviceAsyncDelegateCallback& callback); |
24 | 22 |
25 } // namespace chrome | |
26 | |
27 #endif // CHROME_BROWSER_MEDIA_GALLERIES_MTP_DEVICE_DELEGATE_IMPL_H_ | 23 #endif // CHROME_BROWSER_MEDIA_GALLERIES_MTP_DEVICE_DELEGATE_IMPL_H_ |
OLD | NEW |