Home
last modified time | relevance | path

Searched refs:nigori_node (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/sync/internal_api/
Dsync_encryption_handler_impl_unittest.cc148 ReadNode nigori_node(&trans); in VerifyMigratedNigoriWithTimestamp() local
149 ASSERT_EQ(nigori_node.InitTypeRoot(NIGORI), BaseNode::INIT_OK); in VerifyMigratedNigoriWithTimestamp()
150 const sync_pb::NigoriSpecifics& nigori = nigori_node.GetNigoriSpecifics(); in VerifyMigratedNigoriWithTimestamp()
241 WriteNode nigori_node(&trans); in InitKeystoreMigratedNigori() local
242 ASSERT_EQ(nigori_node.InitTypeRoot(NIGORI), BaseNode::INIT_OK); in InitKeystoreMigratedNigori()
248 nigori_node.SetNigoriSpecifics(nigori); in InitKeystoreMigratedNigori()
274 WriteNode nigori_node(&trans); in InitCustomPassMigratedNigori() local
275 ASSERT_EQ(nigori_node.InitTypeRoot(NIGORI), BaseNode::INIT_OK); in InitCustomPassMigratedNigori()
281 nigori_node.SetNigoriSpecifics(nigori); in InitCustomPassMigratedNigori()
311 WriteNode nigori_node(&trans); in InitUnmigratedNigori() local
[all …]
Dsync_encryption_handler_impl.cc767 ReadNode nigori_node(&trans); in MigratedToKeystore() local
768 if (nigori_node.InitTypeRoot(NIGORI) != BaseNode::INIT_OK) in MigratedToKeystore()
770 return IsNigoriMigratedToKeystore(nigori_node.GetNigoriSpecifics()); in MigratedToKeystore()
1010 WriteNode nigori_node(trans); in WriteEncryptionStateToNigori() local
1012 if (nigori_node.InitTypeRoot(NIGORI) != BaseNode::INIT_OK) in WriteEncryptionStateToNigori()
1015 sync_pb::NigoriSpecifics nigori = nigori_node.GetNigoriSpecifics(); in WriteEncryptionStateToNigori()
1021 if (!AttemptToMigrateNigoriToKeystore(trans, &nigori_node)) { in WriteEncryptionStateToNigori()
1055 nigori_node.SetNigoriSpecifics(nigori); in WriteEncryptionStateToNigori()
1100 WriteNode* nigori_node) { in SetCustomPassphrase() argument
1102 DCHECK(IsNigoriMigratedToKeystore(nigori_node->GetNigoriSpecifics())); in SetCustomPassphrase()
[all …]
Dsync_encryption_handler_impl.h181 WriteNode* nigori_node);
188 WriteNode* nigori_node);
204 WriteNode* nigori_node);
231 WriteNode* nigori_node);
Dsync_manager_impl.cc946 ReadNode nigori_node(&trans); in ReceivedExperiment() local
947 if (nigori_node.InitTypeRoot(NIGORI) != BaseNode::INIT_OK) { in ReceivedExperiment()