From acead97d4f19fb4dcbb5f1746502f7727e56da3f Mon Sep 17 00:00:00 2001 From: "kinuko@chromium.org" Date: Fri, 26 Oct 2012 13:29:21 +0000 Subject: 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 --- webkit/fileapi/syncable/syncable_file_system_unittest.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'webkit/fileapi/syncable/syncable_file_system_unittest.cc') 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 -- cgit v1.1