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

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

Issue 10553042: sync: don't make DataTypeErrorHandler inherit UnrecoverableErrorHandler (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test Created 8 years, 6 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 26ce523e3d3fab0c68bdc18d6fab6f52f18bd16e..58f40e9c3e5bb410002aede395e6f705e3a2fbbb 100644
--- a/chrome/browser/sync/glue/password_change_processor.cc
+++ b/chrome/browser/sync/glue/password_change_processor.cc
@@ -68,7 +68,7 @@ void PasswordChangeProcessor::Observe(
sync_api::ReadNode password_root(&trans);
if (password_root.InitByTagLookup(kPasswordTag) !=
sync_api::BaseNode::INIT_OK) {
- error_handler()->OnUnrecoverableError(FROM_HERE,
+ error_handler()->OnSingleDatatypeUnrecoverableError(FROM_HERE,
"Server did not create the top-level password node. "
"We might be running against an out-of-date server.");
return;
@@ -174,7 +174,7 @@ void PasswordChangeProcessor::ApplyChangesFromSyncModel(
sync_api::ReadNode password_root(trans);
if (password_root.InitByTagLookup(kPasswordTag) !=
sync_api::BaseNode::INIT_OK) {
- error_handler()->OnUnrecoverableError(FROM_HERE,
+ error_handler()->OnSingleDatatypeUnrecoverableError(FROM_HERE,
"Password root node lookup failed.");
return;
}

Powered by Google App Engine
This is Rietveld 408576698