Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1055)

Unified Diff: webkit/fileapi/syncable/syncable_file_system_unittest.cc

Issue 12315004: Migrated sync_file_type and file_change from namespace fileapi to sync_file_system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/fileapi/syncable/sync_file_type.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: 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 255a039a05a1f6ab563eb1a40829d5d53136fef3..3540b6d106dcf1c8daeb42e2240bd9a583cc5e8e 100644
--- a/webkit/fileapi/syncable/syncable_file_system_unittest.cc
+++ b/webkit/fileapi/syncable/syncable_file_system_unittest.cc
@@ -20,6 +20,8 @@
using base::PlatformFileError;
using quota::QuotaManager;
using quota::QuotaStatusCode;
+using sync_file_system::FileChange;
+using sync_file_system::FileChangeList;
namespace fileapi {
@@ -187,13 +189,13 @@ TEST_F(SyncableFileSystemTest, ChangeTrackerSimple) {
VerifyAndClearChange(URL(kPath0),
FileChange(FileChange::FILE_CHANGE_ADD_OR_UPDATE,
- SYNC_FILE_TYPE_DIRECTORY));
+ sync_file_system::SYNC_FILE_TYPE_DIRECTORY));
VerifyAndClearChange(URL(kPath1),
FileChange(FileChange::FILE_CHANGE_ADD_OR_UPDATE,
- SYNC_FILE_TYPE_DIRECTORY));
+ sync_file_system::SYNC_FILE_TYPE_DIRECTORY));
VerifyAndClearChange(URL(kPath2),
FileChange(FileChange::FILE_CHANGE_ADD_OR_UPDATE,
- SYNC_FILE_TYPE_FILE));
+ sync_file_system::SYNC_FILE_TYPE_FILE));
// Creates and removes a same directory.
EXPECT_EQ(base::PLATFORM_FILE_OK,
@@ -221,13 +223,13 @@ TEST_F(SyncableFileSystemTest, ChangeTrackerSimple) {
VerifyAndClearChange(URL(kPath0),
FileChange(FileChange::FILE_CHANGE_DELETE,
- SYNC_FILE_TYPE_DIRECTORY));
+ sync_file_system::SYNC_FILE_TYPE_DIRECTORY));
VerifyAndClearChange(URL(kPath1),
FileChange(FileChange::FILE_CHANGE_DELETE,
- SYNC_FILE_TYPE_DIRECTORY));
+ sync_file_system::SYNC_FILE_TYPE_DIRECTORY));
VerifyAndClearChange(URL(kPath2),
FileChange(FileChange::FILE_CHANGE_DELETE,
- SYNC_FILE_TYPE_FILE));
+ sync_file_system::SYNC_FILE_TYPE_FILE));
}
// Make sure directory operation is disabled (when it's configured so).
« no previous file with comments | « webkit/fileapi/syncable/sync_file_type.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698