Index: chrome/browser/media_gallery/linux/mtp_device_object_enumerator.h |
diff --git a/chrome/browser/media_gallery/linux/mtp_device_object_enumerator.h b/chrome/browser/media_gallery/linux/mtp_device_object_enumerator.h |
index 340298ad3ed42bb8d37e0772bea7201865e62689..eda2da2561e4f8b593071b42103c0cca8a103602 100644 |
--- a/chrome/browser/media_gallery/linux/mtp_device_object_enumerator.h |
+++ b/chrome/browser/media_gallery/linux/mtp_device_object_enumerator.h |
@@ -30,6 +30,14 @@ class MTPDeviceObjectEnumerator |
virtual bool IsDirectory() OVERRIDE; |
virtual base::Time LastModifiedTime() OVERRIDE; |
+ // If the current file entry is valid, returns true and fills in |entry_id| |
+ // with the entry identifier else returns false and |entry_id| is not set. |
+ bool GetEntryId(uint32_t* entry_id); |
+ |
+ // Returns true if the enumerator has more entries to traverse, false |
+ // otherwise. |
+ bool HasMoreEntries(); |
+ |
private: |
// List of directory file entries information. |
const MtpFileEntries file_entries_; |