Searched refs:local_entry (Results 1 – 6 of 6) sorted by relevance
/external/chromium/chrome/browser/sync/engine/ |
D | process_commit_response_command.cc | 218 MutableEntry local_entry(trans, GET_BY_ID, pre_commit_id); in ProcessSingleCommitResponse() local 219 CHECK(local_entry.good()); in ProcessSingleCommitResponse() 220 bool syncing_was_set = local_entry.Get(SYNCING); in ProcessSingleCommitResponse() 221 local_entry.Put(SYNCING, false); in ProcessSingleCommitResponse() 231 VLOG(1) << "Transient Error Committing: " << local_entry; in ProcessSingleCommitResponse() 236 LOG(ERROR) << "Error Commiting: " << local_entry; in ProcessSingleCommitResponse() 241 VLOG(1) << "Conflict Committing: " << local_entry; in ProcessSingleCommitResponse() 243 if (!pre_commit_id.ServerKnows() && local_entry.Get(IS_DIR)) { in ProcessSingleCommitResponse() 249 VLOG(1) << "Retry Committing: " << local_entry; in ProcessSingleCommitResponse() 253 LOG(WARNING) << "Hit deprecated OVER_QUOTA Committing: " << local_entry; in ProcessSingleCommitResponse() [all …]
|
D | syncer_proto_util.cc | 258 bool SyncerProtoUtil::Compare(const syncable::Entry& local_entry, in Compare() argument 262 CHECK(local_entry.Get(ID) == server_entry.id()) << in Compare() 264 CHECK(server_entry.version() == local_entry.Get(BASE_VERSION)) << in Compare() 266 CHECK(!local_entry.Get(IS_UNSYNCED)) << in Compare() 269 if (local_entry.Get(IS_DEL) && server_entry.deleted()) in Compare() 271 if (!ClientAndServerTimeMatch(local_entry.Get(CTIME), server_entry.ctime())) { in Compare() 278 string client_name = local_entry.Get(syncable::NON_UNIQUE_NAME); in Compare() 283 if (local_entry.Get(PARENT_ID) != server_entry.parent_id()) { in Compare() 287 if (local_entry.Get(IS_DIR) != server_entry.IsFolder()) { in Compare() 291 if (local_entry.Get(IS_DEL) != server_entry.deleted()) { in Compare() [all …]
|
D | process_commit_response_command.h | 49 const syncable::Id& pre_commit_id, syncable::MutableEntry* local_entry, 58 syncable::MutableEntry* local_entry); 65 syncable::MutableEntry* local_entry); 72 syncable::MutableEntry* local_entry); 83 syncable::MutableEntry* local_entry);
|
D | syncer_util.cc | 159 syncable::Entry local_entry(trans, syncable::GET_BY_CLIENT_TAG, in FindLocalIdToUpdate() local 165 if (local_entry.good()) { in FindLocalIdToUpdate() 166 if (local_entry.Get(ID).ServerKnows()) { in FindLocalIdToUpdate() 167 if (local_entry.Get(ID) != update.id()) { in FindLocalIdToUpdate() 170 if (local_entry.Get(ID) < update.id()) { in FindLocalIdToUpdate() 181 return local_entry.Get(ID); in FindLocalIdToUpdate() 188 DCHECK(0 == local_entry.Get(BASE_VERSION) || in FindLocalIdToUpdate() 189 CHANGES_VERSION == local_entry.Get(BASE_VERSION)); in FindLocalIdToUpdate() 190 return local_entry.Get(ID); in FindLocalIdToUpdate() 216 syncable::Entry local_entry(trans, GET_BY_ID, client_item_id); in FindLocalIdToUpdate() local [all …]
|
D | syncer_proto_util.h | 57 static bool Compare(const syncable::Entry& local_entry,
|
D | syncer_util.h | 64 syncable::MutableEntry* local_entry,
|