#ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_METADATA_H_
#define CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_METADATA_H_
#include "base/basictypes.h"
#include "base/time/time.h"
#include "chrome/browser/sync_file_system/file_change.h"
#include "webkit/browser/fileapi/file_system_url.h"
namespace sync_file_system {
class SyncFileMetadata {
public:
SyncFileMetadata();
SyncFileMetadata(SyncFileType file_type,
int64 size,
const base::Time& last_modified);
~SyncFileMetadata();
SyncFileType file_type;
int64 size;
base::Time last_modified;
bool operator==(const SyncFileMetadata& that) const;
};
struct LocalFileSyncInfo {
LocalFileSyncInfo();
~LocalFileSyncInfo();
fileapi::FileSystemURL url;
base::FilePath local_file_path;
SyncFileMetadata metadata;
FileChangeList changes;
};
}
#endif