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

Unified Diff: chrome/browser/sync/glue/bookmark_model_associator.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/bookmark_model_associator.cc
diff --git a/chrome/browser/sync/glue/bookmark_model_associator.cc b/chrome/browser/sync/glue/bookmark_model_associator.cc
index 2ff53b8d4d33530eb09e553ddf448bcba2b616af..6b8dbf11734fcfa00a0991244800b571ca5d08f5 100644
--- a/chrome/browser/sync/glue/bookmark_model_associator.cc
+++ b/chrome/browser/sync/glue/bookmark_model_associator.cc
@@ -553,7 +553,8 @@ void BookmarkModelAssociator::PersistAssociations() {
int64 sync_id = *iter;
sync_api::WriteNode sync_node(&trans);
if (sync_node.InitByIdLookup(sync_id) != sync_api::BaseNode::INIT_OK) {
- unrecoverable_error_handler_->OnUnrecoverableError(FROM_HERE,
+ unrecoverable_error_handler_->OnSingleDatatypeUnrecoverableError(
+ FROM_HERE,
"Could not lookup bookmark node for ID persistence.");
return;
}

Powered by Google App Engine
This is Rietveld 408576698