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_LINUX_MTP_DEVICE_DELEGATE_IMPL_LINUX_H_ | 5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_LINUX_MTP_DEVICE_DELEGATE_IMPL_LINUX_H_ |
6 #define CHROME_BROWSER_MEDIA_GALLERIES_LINUX_MTP_DEVICE_DELEGATE_IMPL_LINUX_H_ | 6 #define CHROME_BROWSER_MEDIA_GALLERIES_LINUX_MTP_DEVICE_DELEGATE_IMPL_LINUX_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <deque> | 10 #include <deque> |
11 #include <map> | 11 #include <map> |
12 #include <set> | 12 #include <set> |
13 #include <string> | 13 #include <string> |
14 | 14 |
15 #include "base/callback.h" | 15 #include "base/callback.h" |
16 #include "base/containers/scoped_ptr_hash_map.h" | 16 #include "base/containers/scoped_ptr_hash_map.h" |
17 #include "base/files/file_path.h" | 17 #include "base/files/file_path.h" |
18 #include "base/location.h" | 18 #include "base/location.h" |
| 19 #include "base/macros.h" |
19 #include "base/memory/scoped_ptr.h" | 20 #include "base/memory/scoped_ptr.h" |
20 #include "base/memory/weak_ptr.h" | 21 #include "base/memory/weak_ptr.h" |
21 #include "chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h" | 22 #include "chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h" |
22 #include "chrome/browser/media_galleries/linux/mtp_device_task_helper.h" | 23 #include "chrome/browser/media_galleries/linux/mtp_device_task_helper.h" |
23 #include "content/public/browser/browser_thread.h" | 24 #include "content/public/browser/browser_thread.h" |
24 #include "storage/browser/fileapi/async_file_util.h" | 25 #include "storage/browser/fileapi/async_file_util.h" |
25 | 26 |
26 struct SnapshotRequestInfo; | 27 struct SnapshotRequestInfo; |
27 | 28 |
28 // MTPDeviceDelegateImplLinux communicates with the media transfer protocol | 29 // MTPDeviceDelegateImplLinux communicates with the media transfer protocol |
(...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
520 // the ReadDirectory operation. | 521 // the ReadDirectory operation. |
521 FileInfoCache file_info_cache_; | 522 FileInfoCache file_info_cache_; |
522 | 523 |
523 // For callbacks that may run after destruction. | 524 // For callbacks that may run after destruction. |
524 base::WeakPtrFactory<MTPDeviceDelegateImplLinux> weak_ptr_factory_; | 525 base::WeakPtrFactory<MTPDeviceDelegateImplLinux> weak_ptr_factory_; |
525 | 526 |
526 DISALLOW_COPY_AND_ASSIGN(MTPDeviceDelegateImplLinux); | 527 DISALLOW_COPY_AND_ASSIGN(MTPDeviceDelegateImplLinux); |
527 }; | 528 }; |
528 | 529 |
529 #endif // CHROME_BROWSER_MEDIA_GALLERIES_LINUX_MTP_DEVICE_DELEGATE_IMPL_LINUX_H
_ | 530 #endif // CHROME_BROWSER_MEDIA_GALLERIES_LINUX_MTP_DEVICE_DELEGATE_IMPL_LINUX_H
_ |
OLD | NEW |