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

Method InitUniqueByCreation

sync/internal_api/write_node.cc:365–440  ·  view source on GitHub ↗

Create a new node with default properties and a client defined unique tag, and bind this WriteNode to it. Return true on success. If the tag exists in the database, then we will attempt to undelete the node. TODO(chron): Code datatype into hash tag. TODO(chron): Is model type ever lost?

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

AddPasswordSyncNodeMethod · 0.80
AddAutofillSyncNodeMethod · 0.80
TEST_FFunction · 0.80
AddTypedUrlSyncNodeMethod · 0.80
SetSyncedValueMethod · 0.80
WriteDeviceInfoMethod · 0.80
GetFreeTabNodeMethod · 0.80
AssociateModelsMethod · 0.80
AssociateModelsMethod · 0.80
HandleActionAddMethod · 0.80
OnLoginsChangedMethod · 0.80

Calls 11

GenerateSyncableHashFunction · 0.85
PutIsDelMethod · 0.80
PutNonUniqueNameMethod · 0.80
PutParentIdMethod · 0.80
PutUniqueClientTagMethod · 0.80
PutIsDirMethod · 0.80
LOGFunction · 0.50
emptyMethod · 0.45
GetIdMethod · 0.45
GetEntryMethod · 0.45
releaseMethod · 0.45

Tested by 8

AddPasswordSyncNodeMethod · 0.64
AddAutofillSyncNodeMethod · 0.64
TEST_FFunction · 0.64
AddTypedUrlSyncNodeMethod · 0.64
SetSyncedValueMethod · 0.64
BuildChildNodesMethod · 0.64
MakeNodeFunction · 0.64
TEST_FFunction · 0.64