зеркало из https://github.com/mozilla/gecko-dev.git
Bug 783086 - DeviceStorage - in OOP apps, the enumerate() method ignores the since argument. r=dhylands
--HG-- extra : rebase_source : d74df06f0641f662f0b258ed832e1698894d7e4e
This commit is contained in:
Родитель
34af10e36c
Коммит
9e8de0ccbc
|
@ -370,7 +370,7 @@ DeviceStorageRequestParent::ReadFileEvent::CancelableRun()
|
|||
|
||||
DeviceStorageRequestParent::EnumerateFileEvent::EnumerateFileEvent(DeviceStorageRequestParent* aParent,
|
||||
DeviceStorageFile* aFile,
|
||||
PRUint32 aSince)
|
||||
PRUint64 aSince)
|
||||
: CancelableRunnable(aParent)
|
||||
, mFile(aFile)
|
||||
, mSince(aSince)
|
||||
|
|
|
@ -151,12 +151,12 @@ private:
|
|||
class EnumerateFileEvent : public CancelableRunnable
|
||||
{
|
||||
public:
|
||||
EnumerateFileEvent(DeviceStorageRequestParent* aParent, DeviceStorageFile* aFile, PRUint32 aSince);
|
||||
EnumerateFileEvent(DeviceStorageRequestParent* aParent, DeviceStorageFile* aFile, PRUint64 aSince);
|
||||
virtual ~EnumerateFileEvent();
|
||||
virtual nsresult CancelableRun();
|
||||
private:
|
||||
nsRefPtr<DeviceStorageFile> mFile;
|
||||
PRUint32 mSince;
|
||||
PRUint64 mSince;
|
||||
};
|
||||
|
||||
class PostPathResultEvent : public CancelableRunnable
|
||||
|
|
|
@ -97,7 +97,7 @@ struct DeviceStorageDeleteParams
|
|||
struct DeviceStorageEnumerationParams
|
||||
{
|
||||
nsString fullpath;
|
||||
PRUint32 since;
|
||||
PRUint64 since;
|
||||
};
|
||||
|
||||
union DeviceStorageParams
|
||||
|
|
Загрузка…
Ссылка в новой задаче