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

Unified Diff: chrome/browser/chromeos/drive/change_list_processor.cc

Issue 14189022: chromeos: Fix wrong error handling of SetLargestChangestamp (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 8 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/drive/change_list_processor.cc
diff --git a/chrome/browser/chromeos/drive/change_list_processor.cc b/chrome/browser/chromeos/drive/change_list_processor.cc
index d2536163309ea3dbc1bda58595c2b73f5bc3ae3d..9b357b402efd0ef771b2740a5a58024d2ecd8b85 100644
--- a/chrome/browser/chromeos/drive/change_list_processor.cc
+++ b/chrome/browser/chromeos/drive/change_list_processor.cc
@@ -26,8 +26,8 @@ void RunOnCompleteCallback(const base::Closure& on_complete_callback,
DriveFileError error) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
DCHECK(!on_complete_callback.is_null());
- DCHECK_EQ(DRIVE_FILE_OK, error);
-
+ DLOG_IF(ERROR, error != DRIVE_FILE_OK) << "SetLargestChangeStamp failed: "
+ << DriveFileErrorToString(error);
on_complete_callback.Run();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698