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

Unified Diff: chrome/browser/extensions/api/sync_file_system/sync_file_system_api.cc

Issue 11827026: Overhaul JSON Schema Compiler to support a number of features required to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 11 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
Index: chrome/browser/extensions/api/sync_file_system/sync_file_system_api.cc
diff --git a/chrome/browser/extensions/api/sync_file_system/sync_file_system_api.cc b/chrome/browser/extensions/api/sync_file_system/sync_file_system_api.cc
index fe7e9a3d211796c6ed48027df2e141672ac14eba..f652f1f34998f7328061b999950670f257c6079e 100644
--- a/chrome/browser/extensions/api/sync_file_system/sync_file_system_api.cc
+++ b/chrome/browser/extensions/api/sync_file_system/sync_file_system_api.cc
@@ -47,17 +47,17 @@ api::sync_file_system::FileSyncStatus FileSyncStatusEnumToExtensionEnum(
const fileapi::SyncFileStatus state) {
switch (state) {
case fileapi::SYNC_FILE_STATUS_UNKNOWN:
- return api::sync_file_system::SYNC_FILE_SYSTEM_FILE_SYNC_STATUS_NONE;
+ return api::sync_file_system::FILE_SYNC_STATUS_NONE;
case fileapi::SYNC_FILE_STATUS_SYNCED:
- return api::sync_file_system::SYNC_FILE_SYSTEM_FILE_SYNC_STATUS_SYNCED;
+ return api::sync_file_system::FILE_SYNC_STATUS_SYNCED;
case fileapi::SYNC_FILE_STATUS_HAS_PENDING_CHANGES:
- return api::sync_file_system::SYNC_FILE_SYSTEM_FILE_SYNC_STATUS_PENDING;
+ return api::sync_file_system::FILE_SYNC_STATUS_PENDING;
case fileapi::SYNC_FILE_STATUS_CONFLICTING:
return api::sync_file_system::
- SYNC_FILE_SYSTEM_FILE_SYNC_STATUS_CONFLICTING;
+ FILE_SYNC_STATUS_CONFLICTING;
}
NOTREACHED();
- return api::sync_file_system::SYNC_FILE_SYSTEM_FILE_SYNC_STATUS_NONE;
+ return api::sync_file_system::FILE_SYNC_STATUS_NONE;
}
sync_file_system::SyncFileSystemService* GetSyncFileSystemService(

Powered by Google App Engine
This is Rietveld 408576698