| Index: chrome/browser/sync/engine/syncer_util.cc
|
| diff --git a/chrome/browser/sync/engine/syncer_util.cc b/chrome/browser/sync/engine/syncer_util.cc
|
| index bf1456e662da5ebf12deedafce8c683dbf9486d9..6bb410b5ef25bb8bd25a7777090dbbc6212f060c 100644
|
| --- a/chrome/browser/sync/engine/syncer_util.cc
|
| +++ b/chrome/browser/sync/engine/syncer_util.cc
|
| @@ -543,27 +543,6 @@ void SyncerUtil::UpdateLocalDataFromServerData(
|
| }
|
|
|
| // static
|
| -VerifyCommitResult SyncerUtil::ValidateCommitEntry(
|
| - syncable::Entry* entry) {
|
| - syncable::Id id = entry->Get(ID);
|
| - if (id == entry->Get(PARENT_ID)) {
|
| - CHECK(id.IsRoot()) << "Non-root item is self parenting." << *entry;
|
| - // If the root becomes unsynced it can cause us problems.
|
| - LOG(ERROR) << "Root item became unsynced " << *entry;
|
| - return VERIFY_UNSYNCABLE;
|
| - }
|
| - if (entry->IsRoot()) {
|
| - LOG(ERROR) << "Permanent item became unsynced " << *entry;
|
| - return VERIFY_UNSYNCABLE;
|
| - }
|
| - if (entry->Get(IS_DEL) && !entry->Get(ID).ServerKnows()) {
|
| - // Drop deleted uncommitted entries.
|
| - return VERIFY_UNSYNCABLE;
|
| - }
|
| - return VERIFY_OK;
|
| -}
|
| -
|
| -// static
|
| bool SyncerUtil::AddItemThenPredecessors(
|
| syncable::BaseTransaction* trans,
|
| syncable::Entry* item,
|
|
|