| 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..1768f75a6dcb11cf4e509dc695b9b5db8511f57f 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) const;
|
| +
|
| + // Returns true if the enumerator has more entries to traverse, false
|
| + // otherwise.
|
| + bool HasMoreEntries() const;
|
| +
|
| private:
|
| // List of directory file entries information.
|
| const MtpFileEntries file_entries_;
|
|
|