summaryrefslogtreecommitdiffstats
path: root/webkit/fileapi/syncable/file_change_unittest.cc
Commit message (Collapse)AuthorAgeFilesLines
* Separate out FILE_TYPE enum from file_change.hkinuko@chromium.org2012-10-261-4/+4
| | | | | | | | | | | | As a preparation to fix issue 157867 (return file type from PrepareForProcessRemoteChange) BUG=158026 TEST=existing tests Review URL: https://codereview.chromium.org/11304002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164334 0039d316-1c4b-4281-b951-d872f2087c98
* Record add/update changes as ADD_OR_UPDATEkinuko@chromium.org2012-09-271-46/+42
| | | | | | | | | | | | | | | As after a restart there's no way to know if a non-delete change is add or update maybe we should always record add/update changes as ADD_OR_UPDATE. * For ADD or UPDATE changes we assume we can always tell if it's ADD or UPDATE by checking the cached remote metadata * ADD + DELETE for a file will be recorded as 'DELETE', so we need to check if the target file really exists or not (or maybe we can just let it fail) BUG=146317 TEST=FileChangeTest.* Review URL: https://chromiumcodereview.appspot.com/10982028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158981 0039d316-1c4b-4281-b951-d872f2087c98
* Add LocalFileChangeTracker and basic classes for synckinuko@chromium.org2012-09-121-0/+143
BUG=146317 TEST=LocalFileSyncStatusTest.*,LocalFileChangeTrackerTest.*,FileChangeTest.* TBR=jam@chromium.org Review URL: https://chromiumcodereview.appspot.com/10918141 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156295 0039d316-1c4b-4281-b951-d872f2087c98