Home | History | Annotate | Download | only in engine

Lines Matching full:specifics

97 using syncable::SPECIFICS;
202 const sync_pb::EntitySpecifics& specifics, Cryptographer* crypto) {
203 if (!specifics.HasExtension(sync_pb::password))
206 specifics.GetExtension(sync_pb::password);
219 const sync_pb::EntitySpecifics& specifics =
220 entry->Get(syncable::SPECIFICS);
221 if (specifics.HasExtension(sync_pb::password)) {
224 specifics, GetTransaction()->GetCryptographer()));
232 if (!specifics.has_encrypted())
236 specifics.encrypted();
251 const sync_pb::EntitySpecifics& specifics = entry->Get(SPECIFICS);
252 if (specifics.has_encrypted()) {
259 return specifics;
325 // Specifics are already in the Entry value, so no need to duplicate
448 // This specifics is already encrypted, our work is done.
450 << " specifics of type " << syncable::ModelTypeToString(type)
456 VLOG(2) << "Encrypted specifics of type " << syncable::ModelTypeToString(type)
568 GetEntry()->Get(SPECIFICS).GetExtension(sync_pb::password).encrypted();
570 DecryptPasswordSpecifics(GetEntry()->Get(SPECIFICS), cryptographer));
677 const sync_pb::EntitySpecifics& specifics) {
679 if (specifics.SerializeAsString() ==
680 entry_->Get(SPECIFICS).SerializeAsString()) {
683 entry_->Put(SPECIFICS, specifics);
745 // Set an empty specifics of the appropriate datatype. The presence
750 sync_pb::EntitySpecifics specifics;
751 syncable::AddDefaultExtensionValue(model_type, &specifics);
752 PutSpecificsAndMarkForSyncing(specifics);
830 // SPECIFICS: Reset it.
860 // Will clear specifics data.
1080 node_dict->Set("specifics",
1081 browser_sync::EntitySpecificsToValue(specifics));
1103 const sync_pb::EntitySpecifics& specifics = GetEntry()->Get(SPECIFICS);
1107 specifics.SerializeToString(&temp);
1310 // |buffer|'s specifics field to contain the unencrypted data.
1449 if (a.ref(SPECIFICS).has_encrypted()) {
1450 const sync_pb::EncryptedData& encrypted = a.ref(SPECIFICS).encrypted();
1453 a_str = a.ref(SPECIFICS).SerializeAsString();
1455 if (b.Get(SPECIFICS).has_encrypted()) {
1456 const sync_pb::EncryptedData& encrypted = b.Get(SPECIFICS).encrypted();
1459 b_str = b.Get(SPECIFICS).SerializeAsString();
1940 sync_pb::NigoriSpecifics specifics(node.GetNigoriSpecifics());
1941 specifics.set_using_explicit_passphrase(true);
1942 node.SetNigoriSpecifics(specifics);
1989 sync_pb::NigoriSpecifics specifics(node.GetNigoriSpecifics());
1990 specifics.clear_encrypted();
1991 cryptographer->GetKeys(specifics.mutable_encrypted());
1992 specifics.set_using_explicit_passphrase(is_explicit);
1993 node.SetNigoriSpecifics(specifics);
2132 // Rewrite the specifics of the node with encrypted data if necessary.
2384 sync_pb::EntitySpecifics original_specifics(original.ref(SPECIFICS));
2395 // All other datatypes can just create a new unencrypted specifics and