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

Unified Diff: chrome/browser/sync/glue/password_change_processor.cc

Issue 9978017: [Sync] - Upload the callstacks for errors so that the line number of error is in callstack. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
Index: chrome/browser/sync/glue/password_change_processor.cc
diff --git a/chrome/browser/sync/glue/password_change_processor.cc b/chrome/browser/sync/glue/password_change_processor.cc
index 747c55910a92c0106289f17ebc465236491d8fb8..f182fb131cd64d921af9f48b07ac980ee27077e1 100644
--- a/chrome/browser/sync/glue/password_change_processor.cc
+++ b/chrome/browser/sync/glue/password_change_processor.cc
@@ -221,9 +221,11 @@ void PasswordChangeProcessor::CommitChangesFromSyncModel() {
return;
ScopedStopObserving<PasswordChangeProcessor> stop_observing(this);
- if (!model_associator_->WriteToPasswordStore(&new_passwords_,
- &updated_passwords_,
- &deleted_passwords_)) {
+ SyncError error = model_associator_->WriteToPasswordStore(
+ &new_passwords_,
+ &updated_passwords_,
+ &deleted_passwords_);
+ if (error.IsSet()) {
error_handler()->OnSingleDatatypeUnrecoverableError(FROM_HERE,
"Error writing passwords");
return;

Powered by Google App Engine
This is Rietveld 408576698