OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_FILEAPI_MTP_DEVICE_ASYNC_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MTP_DEVICE_ASYNC_DELEGATE_H_ |
6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MTP_DEVICE_ASYNC_DELEGATE_H_ | 6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MTP_DEVICE_ASYNC_DELEGATE_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/files/file.h" | 9 #include "base/files/file.h" |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
11 #include "webkit/browser/fileapi/async_file_util.h" | 11 #include "storage/browser/fileapi/async_file_util.h" |
12 | 12 |
13 namespace base { | 13 namespace base { |
14 class FilePath; | 14 class FilePath; |
15 } | 15 } |
16 | 16 |
17 namespace net { | 17 namespace net { |
18 class IOBuffer; | 18 class IOBuffer; |
19 } | 19 } |
20 | 20 |
21 // Asynchronous delegate for media transfer protocol (MTP) device to perform | 21 // Asynchronous delegate for media transfer protocol (MTP) device to perform |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 }; | 115 }; |
116 | 116 |
117 typedef base::Callback<void(MTPDeviceAsyncDelegate*)> | 117 typedef base::Callback<void(MTPDeviceAsyncDelegate*)> |
118 CreateMTPDeviceAsyncDelegateCallback; | 118 CreateMTPDeviceAsyncDelegateCallback; |
119 | 119 |
120 void CreateMTPDeviceAsyncDelegate( | 120 void CreateMTPDeviceAsyncDelegate( |
121 const base::FilePath::StringType& device_location, | 121 const base::FilePath::StringType& device_location, |
122 const CreateMTPDeviceAsyncDelegateCallback& callback); | 122 const CreateMTPDeviceAsyncDelegateCallback& callback); |
123 | 123 |
124 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MTP_DEVICE_ASYNC_DELEGATE_H_ | 124 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MTP_DEVICE_ASYNC_DELEGATE_H_ |
OLD | NEW |