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_MAC_MTP_DEVICE_DELEGATE_IMPL_MAC_H_ | 5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_MAC_MTP_DEVICE_DELEGATE_IMPL_MAC_H_ |
6 #define CHROME_BROWSER_MEDIA_GALLERIES_MAC_MTP_DEVICE_DELEGATE_IMPL_MAC_H_ | 6 #define CHROME_BROWSER_MEDIA_GALLERIES_MAC_MTP_DEVICE_DELEGATE_IMPL_MAC_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <map> | 9 #include <map> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
| 12 #include "base/containers/hash_tables.h" |
12 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
13 #include "base/hash_tables.h" | |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "base/platform_file.h" | 15 #include "base/platform_file.h" |
16 #include "chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h" | 16 #include "chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h" |
17 | 17 |
18 namespace chrome { | 18 namespace chrome { |
19 | 19 |
20 // Delegate for presenting an Image Capture device through the filesystem | 20 // Delegate for presenting an Image Capture device through the filesystem |
21 // API. The synthetic filesystem will be rooted at the constructed location, | 21 // API. The synthetic filesystem will be rooted at the constructed location, |
22 // and names of all files notified through the ItemAdded call will be | 22 // and names of all files notified through the ItemAdded call will be |
23 // all appear as children of that directory. (ItemAdded calls with directories | 23 // all appear as children of that directory. (ItemAdded calls with directories |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 ReadDirTransactionList read_dir_transactions_; | 149 ReadDirTransactionList read_dir_transactions_; |
150 | 150 |
151 base::WeakPtrFactory<MTPDeviceDelegateImplMac> weak_factory_; | 151 base::WeakPtrFactory<MTPDeviceDelegateImplMac> weak_factory_; |
152 | 152 |
153 DISALLOW_COPY_AND_ASSIGN(MTPDeviceDelegateImplMac); | 153 DISALLOW_COPY_AND_ASSIGN(MTPDeviceDelegateImplMac); |
154 }; | 154 }; |
155 | 155 |
156 } // namespace chrome | 156 } // namespace chrome |
157 | 157 |
158 #endif // CHROME_BROWSER_MEDIA_GALLERIES_MAC_MTP_DEVICE_DELEGATE_IMPL_MAC_H_ | 158 #endif // CHROME_BROWSER_MEDIA_GALLERIES_MAC_MTP_DEVICE_DELEGATE_IMPL_MAC_H_ |
OLD | NEW |