| Index: chrome/browser/sync/glue/typed_url_model_associator.cc
|
| diff --git a/chrome/browser/sync/glue/typed_url_model_associator.cc b/chrome/browser/sync/glue/typed_url_model_associator.cc
|
| index bcb1a434f67bfb8d6f132602e59d350e216fa968..03965d6355fdc45f970f37280d5e6d8c1d1a9925 100644
|
| --- a/chrome/browser/sync/glue/typed_url_model_associator.cc
|
| +++ b/chrome/browser/sync/glue/typed_url_model_associator.cc
|
| @@ -265,8 +265,14 @@ bool TypedUrlModelAssociator::AssociateModels(SyncError* error) {
|
| // this is the only thread that writes to the database. We also don't have
|
| // to worry about the sync model getting out of sync, because changes are
|
| // propagated to the ChangeProcessor on this thread.
|
| - return WriteToHistoryBackend(&titles, &new_urls, &updated_urls,
|
| - &new_visits, NULL);
|
| + if (!WriteToHistoryBackend(&titles, &new_urls, &updated_urls,
|
| + &new_visits, NULL)) {
|
| + error->Reset(FROM_HERE,
|
| + "Failed to write to history backend",
|
| + model_type());
|
| + return false;
|
| + }
|
| + return true;
|
| }
|
|
|
| bool TypedUrlModelAssociator::DeleteAllNodes(
|
|
|