diff options
author | kinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-26 13:29:21 +0000 |
---|---|---|
committer | kinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-26 13:29:21 +0000 |
commit | acead97d4f19fb4dcbb5f1746502f7727e56da3f (patch) | |
tree | 26579d05e738c29217dc99103a8a55285bbc05b8 /webkit/fileapi/syncable/syncable_file_system_unittest.cc | |
parent | 887c647267eb6414bf48647f272a0f8c1bd160a8 (diff) | |
download | chromium_src-acead97d4f19fb4dcbb5f1746502f7727e56da3f.zip chromium_src-acead97d4f19fb4dcbb5f1746502f7727e56da3f.tar.gz chromium_src-acead97d4f19fb4dcbb5f1746502f7727e56da3f.tar.bz2 |
Separate out FILE_TYPE enum from file_change.h
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
Diffstat (limited to 'webkit/fileapi/syncable/syncable_file_system_unittest.cc')
-rw-r--r-- | webkit/fileapi/syncable/syncable_file_system_unittest.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/webkit/fileapi/syncable/syncable_file_system_unittest.cc b/webkit/fileapi/syncable/syncable_file_system_unittest.cc index 2bdf834..26d3aa6 100644 --- a/webkit/fileapi/syncable/syncable_file_system_unittest.cc +++ b/webkit/fileapi/syncable/syncable_file_system_unittest.cc @@ -186,13 +186,13 @@ TEST_F(SyncableFileSystemTest, ChangeTrackerSimple) { VerifyAndClearChange(URL(kPath0), FileChange(FileChange::FILE_CHANGE_ADD_OR_UPDATE, - FileChange::FILE_TYPE_DIRECTORY)); + SYNC_FILE_TYPE_DIRECTORY)); VerifyAndClearChange(URL(kPath1), FileChange(FileChange::FILE_CHANGE_ADD_OR_UPDATE, - FileChange::FILE_TYPE_DIRECTORY)); + SYNC_FILE_TYPE_DIRECTORY)); VerifyAndClearChange(URL(kPath2), FileChange(FileChange::FILE_CHANGE_ADD_OR_UPDATE, - FileChange::FILE_TYPE_FILE)); + SYNC_FILE_TYPE_FILE)); // Creates and removes a same directory. EXPECT_EQ(base::PLATFORM_FILE_OK, @@ -222,13 +222,13 @@ TEST_F(SyncableFileSystemTest, ChangeTrackerSimple) { VerifyAndClearChange(URL(kPath0), FileChange(FileChange::FILE_CHANGE_DELETE, - FileChange::FILE_TYPE_DIRECTORY)); + SYNC_FILE_TYPE_DIRECTORY)); VerifyAndClearChange(URL(kPath1), FileChange(FileChange::FILE_CHANGE_DELETE, - FileChange::FILE_TYPE_DIRECTORY)); + SYNC_FILE_TYPE_DIRECTORY)); VerifyAndClearChange(URL(kPath2), FileChange(FileChange::FILE_CHANGE_DELETE, - FileChange::FILE_TYPE_FILE)); + SYNC_FILE_TYPE_FILE)); } } // namespace fileapi |