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

Unified Diff: trunk/src/chrome/browser/sync/glue/bookmark_model_associator.cc

Issue 465113002: Revert 288557 "[Sync] Use OnSingleDataTypeUnrecoverableError for..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 4 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: trunk/src/chrome/browser/sync/glue/bookmark_model_associator.cc
===================================================================
--- trunk/src/chrome/browser/sync/glue/bookmark_model_associator.cc (revision 289111)
+++ trunk/src/chrome/browser/sync/glue/bookmark_model_associator.cc (working copy)
@@ -730,12 +730,9 @@
int64 sync_id = *iter;
syncer::WriteNode sync_node(&trans);
if (sync_node.InitByIdLookup(sync_id) != syncer::BaseNode::INIT_OK) {
- syncer::SyncError error(
+ unrecoverable_error_handler_->OnSingleDatatypeUnrecoverableError(
FROM_HERE,
- syncer::SyncError::DATATYPE_ERROR,
- "Could not lookup bookmark node for ID persistence.",
- syncer::BOOKMARKS);
- unrecoverable_error_handler_->OnSingleDataTypeUnrecoverableError(error);
+ "Could not lookup bookmark node for ID persistence.");
return;
}
const BookmarkNode* node = GetChromeNodeFromSyncId(sync_id);

Powered by Google App Engine
This is Rietveld 408576698