| 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_OBJECT_ENUMERATOR_H_ | 5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_CHROMEOS_MTP_DEVICE_OBJECT_ENUMERATOR_H_ |
| 6 #define CHROME_BROWSER_MEDIA_GALLERIES_LINUX_MTP_DEVICE_OBJECT_ENUMERATOR_H_ | 6 #define CHROME_BROWSER_MEDIA_GALLERIES_CHROMEOS_MTP_DEVICE_OBJECT_ENUMERATOR_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "base/time/time.h" | 15 #include "base/time/time.h" |
| 16 #include "device/media_transfer_protocol/mtp_file_entry.pb.h" | 16 #include "device/media_transfer_protocol/mtp_file_entry.pb.h" |
| (...skipping 29 matching lines...) Expand all Loading... |
| 46 // Index into |file_entries_|. | 46 // Index into |file_entries_|. |
| 47 // Should only be used when |is_index_ready_| is true. | 47 // Should only be used when |is_index_ready_| is true. |
| 48 size_t index_; | 48 size_t index_; |
| 49 | 49 |
| 50 // Initially false. Set to true after Next() has been called. | 50 // Initially false. Set to true after Next() has been called. |
| 51 bool is_index_ready_; | 51 bool is_index_ready_; |
| 52 | 52 |
| 53 DISALLOW_COPY_AND_ASSIGN(MTPDeviceObjectEnumerator); | 53 DISALLOW_COPY_AND_ASSIGN(MTPDeviceObjectEnumerator); |
| 54 }; | 54 }; |
| 55 | 55 |
| 56 #endif // CHROME_BROWSER_MEDIA_GALLERIES_LINUX_MTP_DEVICE_OBJECT_ENUMERATOR_H_ | 56 #endif // CHROME_BROWSER_MEDIA_GALLERIES_CHROMEOS_MTP_DEVICE_OBJECT_ENUMERATOR_
H_ |
| OLD | NEW |