| Index: webkit/fileapi/syncable/file_change.h
|
| diff --git a/webkit/fileapi/syncable/file_change.h b/webkit/fileapi/syncable/file_change.h
|
| index f2a12e481eb0aca1b6b5306750e93b4a4484ec6c..41359a1c6b432c62320cdbb9883ad2a4afc246f0 100644
|
| --- a/webkit/fileapi/syncable/file_change.h
|
| +++ b/webkit/fileapi/syncable/file_change.h
|
| @@ -32,6 +32,11 @@ class WEBKIT_STORAGE_EXPORT FileChange {
|
| bool IsDirectory() const { return file_type_ == SYNC_FILE_TYPE_DIRECTORY; }
|
| bool IsTypeUnknown() const { return !IsFile() && !IsDirectory(); }
|
|
|
| + bool IsAddOrUpdateFile() const { return IsAddOrUpdate() && IsFile(); }
|
| + bool IsDeleteFile() const { return IsDelete() && IsFile(); }
|
| + bool IsAddDirectory() const { return IsAddOrUpdate() && IsDirectory(); }
|
| + bool IsDeleteDirectory() const { return IsDelete() && IsDirectory(); }
|
| +
|
| ChangeType change() const { return change_; }
|
| SyncFileType file_type() const { return file_type_; }
|
|
|
|
|