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

Unified Diff: chrome/browser/sync_file_system/drive_file_sync_util.cc

Issue 11299008: Remote service state handling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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/sync_file_system/drive_file_sync_util.cc
diff --git a/chrome/browser/sync_file_system/drive_file_sync_util.cc b/chrome/browser/sync_file_system/drive_file_sync_util.cc
index d5b1daa2d27ccad522e14d60a058e857e3e93ede..47992215190b7cd7bf538d314538d32db99fe63d 100644
--- a/chrome/browser/sync_file_system/drive_file_sync_util.cc
+++ b/chrome/browser/sync_file_system/drive_file_sync_util.cc
@@ -10,6 +10,8 @@ namespace sync_file_system {
fileapi::SyncStatusCode GDataErrorCodeToSyncStatusCode(
google_apis::GDataErrorCode error) {
+ // NOTE: Please update DriveFileSyncService::UpdateServiceState when you add
+ // more error code mapping.
switch (error) {
case google_apis::HTTP_SUCCESS:
case google_apis::HTTP_CREATED:

Powered by Google App Engine
This is Rietveld 408576698