MCPcopy Create free account
hub / github.com/ChromiumWebApps/chromium / UpdateContainsNewVersion

Function UpdateContainsNewVersion

sync/engine/process_updates_util.cc:47–76  ·  view source on GitHub ↗

This function attempts to determine whether or not this update is genuinely new, or if it is a reflection of one of our own commits. There is a known inaccuracy in its implementation. If this update ends up being applied to a local item with a different ID, we will count the change as being a non-reflection update. Fortunately, the server usually updates our IDs correctly in its commit response

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

ProcessDownloadedUpdatesFunction · 0.85

Calls 4

SyncableIdFromProtoFunction · 0.85
deletedMethod · 0.45
emptyMethod · 0.45
versionMethod · 0.45

Tested by

no test coverage detected