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

Unified Diff: chrome/browser/sync_file_system/local/local_file_change_tracker.cc

Issue 291513003: Remove PlatformFile from fileapi::FileSystemOperation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix recent bot failures Created 6 years, 7 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 | « no previous file | chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync_file_system/local/local_file_change_tracker.cc
diff --git a/chrome/browser/sync_file_system/local/local_file_change_tracker.cc b/chrome/browser/sync_file_system/local/local_file_change_tracker.cc
index a89a667645e4394dbe33cafef3a3cdc4d7265d46..24d1e174479136629541ce659be2d4a41334bd12 100644
--- a/chrome/browser/sync_file_system/local/local_file_change_tracker.cc
+++ b/chrome/browser/sync_file_system/local/local_file_change_tracker.cc
@@ -351,7 +351,7 @@ SyncStatusCode LocalFileChangeTracker::CollectLastDirtyChanges(
switch (file_util->GetFileInfo(context.get(), url,
&file_info, &platform_path)) {
- case base::PLATFORM_FILE_OK: {
+ case base::File::FILE_OK: {
if (!file_info.is_directory) {
RecordChange(url, FileChange(FileChange::FILE_CHANGE_ADD_OR_UPDATE,
SYNC_FILE_TYPE_FILE));
@@ -372,7 +372,7 @@ SyncStatusCode LocalFileChangeTracker::CollectLastDirtyChanges(
}
break;
}
- case base::PLATFORM_FILE_ERROR_NOT_FOUND: {
+ case base::File::FILE_ERROR_NOT_FOUND: {
// File represented by |url| has already been deleted. Since we cannot
// figure out if this file was directory or not from the URL, file
// type is treated as SYNC_FILE_TYPE_UNKNOWN.
@@ -383,7 +383,7 @@ SyncStatusCode LocalFileChangeTracker::CollectLastDirtyChanges(
SYNC_FILE_TYPE_UNKNOWN));
break;
}
- case base::PLATFORM_FILE_ERROR_FAILED:
+ case base::File::FILE_ERROR_FAILED:
default:
// TODO(nhiroki): handle file access error (http://crbug.com/155251).
LOG(WARNING) << "Failed to access local file.";
« no previous file with comments | « no previous file | chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698