Searched refs:encrypted_types (Results 1 - 25 of 36) sorted by relevance

12

/external/chromium_org/sync/syncable/
H A Dnigori_util_unittest.cc17 ModelTypeSet encrypted_types; local
18 encrypted_types.Put(BOOKMARKS);
19 encrypted_types.Put(PASSWORDS);
23 EXPECT_FALSE(SpecificsNeedsEncryption(encrypted_types, specifics));
26 EXPECT_FALSE(SpecificsNeedsEncryption(encrypted_types, specifics));
30 EXPECT_TRUE(SpecificsNeedsEncryption(encrypted_types, bookmark_specifics));
34 EXPECT_TRUE(SpecificsNeedsEncryption(encrypted_types, bookmark_specifics));
38 EXPECT_FALSE(SpecificsNeedsEncryption(encrypted_types, bookmark_specifics));
43 EXPECT_FALSE(SpecificsNeedsEncryption(encrypted_types, password_specifics));
H A Dnigori_util.cc26 ModelTypeSet encrypted_types = nigori_handler->GetEncryptedTypes(trans); local
43 if (!SpecificsNeedsEncryption(encrypted_types, specifics))
53 ModelTypeSet encrypted_types) {
62 if (EntryNeedsEncryption(encrypted_types, entry))
68 bool EntryNeedsEncryption(ModelTypeSet encrypted_types, argument
78 return SpecificsNeedsEncryption(encrypted_types, entry.GetSpecifics()) ||
79 (encrypted_types.Has(type) &&
83 bool SpecificsNeedsEncryption(ModelTypeSet encrypted_types, argument
88 if (!encrypted_types.Has(type))
157 const ModelTypeSet encrypted_types local
51 VerifyUnsyncedChangesAreEncrypted( BaseTransaction* const trans, ModelTypeSet encrypted_types) argument
242 UpdateNigoriFromEncryptedTypes(ModelTypeSet encrypted_types, bool encrypt_everything, sync_pb::NigoriSpecifics* nigori) argument
[all...]
H A Dnigori_util.h32 // |encrypted_types|.
39 ModelTypeSet encrypted_types);
42 // or unencrypted, based on |encrypted_types|.
49 bool EntryNeedsEncryption(ModelTypeSet encrypted_types,
54 ModelTypeSet encrypted_types,
71 // Updates |nigori| to match the encryption state specified by |encrypted_types|
74 ModelTypeSet encrypted_types,
/external/chromium_org/sync/internal_api/
H A Djs_sync_encryption_handler_observer_unittest.cc118 ModelTypeSet encrypted_types; local
122 encrypted_types.Put(type);
132 encrypted_types, encrypt_everything);
143 ModelTypeSet encrypted_types; local
H A Djs_sync_encryption_handler_observer.cc64 ModelTypeSet encrypted_types,
71 ModelTypeSetToValue(encrypted_types));
63 OnEncryptedTypesChanged( ModelTypeSet encrypted_types, bool encrypt_everything) argument
H A Dsync_encryption_handler_impl.cc200 ModelTypeSet encrypted_types)
202 encrypted_types(encrypted_types) {
305 UnlockVault(trans.GetWrappedTrans()).encrypted_types,
669 syncable::UpdateNigoriFromEncryptedTypes(UnlockVault(trans).encrypted_types,
751 return UnlockVault(trans).encrypted_types;
761 return vault_unsafe_.encrypted_types;
790 UnlockVault(trans->GetWrappedTrans()).encrypted_types.First();
1046 UnlockVault(trans->GetWrappedTrans()).encrypted_types,
1063 ModelTypeSet* encrypted_types local
198 Vault( Encryptor* encryptor, ModelTypeSet encrypted_types) argument
1268 ModelTypeSet* encrypted_types = &UnlockVaultMutable(trans)->encrypted_types; local
1550 ModelTypeSet* encrypted_types = &UnlockVaultMutable(trans)->encrypted_types; local
[all...]
H A Djs_sync_encryption_handler_observer.h44 ModelTypeSet encrypted_types,
H A Dsync_encryption_handler_impl.h129 Vault(Encryptor* encryptor, ModelTypeSet encrypted_types);
135 ModelTypeSet encrypted_types; member in struct:syncer::SyncEncryptionHandlerImpl::Vault
H A Ddebug_info_event_listener.h65 ModelTypeSet encrypted_types,
H A Dsync_encryption_handler_impl_unittest.cc356 ModelTypeSet encrypted_types(SyncEncryptionHandler::SensitiveTypes());
360 encrypted_types,
367 EXPECT_TRUE(encrypted_types.Equals(
369 EXPECT_TRUE(encrypted_types.Equals(
385 encrypted_types = EncryptableUserTypes();
389 encrypted_types,
396 EXPECT_TRUE(encrypted_types.Equals(
398 EXPECT_TRUE(encrypted_types.Equals(handler2.GetEncryptedTypesUnsafe()));
409 EXPECT_TRUE(encrypted_types.Equals(
424 ModelTypeSet encrypted_types local
460 ModelTypeSet encrypted_types = local
504 ModelTypeSet encrypted_types = local
537 ModelTypeSet encrypted_types = EncryptableUserTypes(); local
[all...]
H A Ddebug_info_event_listener.cc87 ModelTypeSet encrypted_types,
86 OnEncryptedTypesChanged( ModelTypeSet encrypted_types, bool encrypt_everything) argument
/external/chromium_org/sync/internal_api/public/engine/
H A Dsync_status.h72 ModelTypeSet encrypted_types; member in struct:syncer::SyncStatus
/external/chromium_org/sync/engine/
H A Dapply_control_data_updates_unittest.cc68 ModelTypeSet encrypted_types; local
69 encrypted_types.PutAll(SyncEncryptionHandler::SensitiveTypes());
75 .Equals(encrypted_types));
111 ModelTypeSet encrypted_types; local
112 encrypted_types.PutAll(SyncEncryptionHandler::SensitiveTypes());
117 .Equals(encrypted_types));
119 // With default encrypted_types, this should be true.
120 EXPECT_TRUE(VerifyUnsyncedChangesAreEncrypted(&trans, encrypted_types));
154 encrypted_types.Put(BOOKMARKS);
163 EXPECT_FALSE(VerifyUnsyncedChangesAreEncrypted(&trans, encrypted_types));
223 ModelTypeSet encrypted_types; local
[all...]
H A Dget_commit_ids.cc35 ModelTypeSet encrypted_types,
66 ModelTypeSet encrypted_types; local
70 encrypted_types = dir->GetNigoriHandler()->GetEncryptedTypes(trans);
80 encrypted_types,
128 ModelTypeSet encrypted_types,
139 if ((type != NIGORI) && encrypted_types.Has(type) &&
141 syncable::EntryNeedsEncryption(encrypted_types, entry))) {
192 ModelTypeSet encrypted_types,
205 encrypted_types,
127 IsEntryReadyForCommit(ModelTypeSet requested_types, ModelTypeSet encrypted_types, bool passphrase_missing, const syncable::Entry& entry) argument
189 FilterUnreadyEntries( syncable::BaseTransaction* trans, ModelTypeSet requested_types, ModelTypeSet encrypted_types, bool passphrase_missing, const syncable::Directory::Metahandles& unsynced_handles, std::set<int64>* ready_unsynced_set) argument
H A Dall_status.cc127 status_.encrypted_types = types;
/external/chromium_org/components/sync_driver/
H A Dsync_frontend.h117 // |encrypted_types| will always be a superset of
119 // true, |encrypted_types| will be the set of all known types.
125 syncer::ModelTypeSet encrypted_types,
H A Ddata_type_manager_impl.cc29 GenerateCryptoErrorsForTypes(syncer::ModelTypeSet encrypted_types) { argument
31 for (syncer::ModelTypeSet::Iterator iter = encrypted_types.First();
240 syncer::ModelTypeSet encrypted_types = local
242 encrypted_types.RetainAll(last_requested_types_);
243 encrypted_types.RemoveAll(
246 GenerateCryptoErrorsForTypes(encrypted_types);
H A Dgeneric_change_processor.cc602 syncer::ModelTypeSet encrypted_types(trans.GetEncryptedTypes());
607 const bool agreement = encrypted_types.Has(type_);
693 const syncer::ModelTypeSet encrypted_types = trans.GetEncryptedTypes(); local
694 return !encrypted_types.Has(type_) || trans.GetCryptographer()->is_ready();
/external/chromium_org/sync/internal_api/public/
H A Dsync_encryption_handler.h96 // |encrypted_types| will always be a superset of
98 // true, |encrypted_types| will be the set of all known types.
104 ModelTypeSet encrypted_types,
/external/chromium_org/sync/sessions/
H A Dmodel_type_registry.h80 virtual void OnEncryptedTypesChanged(ModelTypeSet encrypted_types,
H A Dmodel_type_registry.cc319 void ModelTypeRegistry::OnEncryptedTypesChanged(ModelTypeSet encrypted_types, argument
321 encrypted_types_ = encrypted_types;
/external/chromium_org/chrome/browser/sync/
H A Dabout_sync_util.cc267 StringSyncStat encrypted_types(section_encryption, "Encrypted Types");
386 encrypted_types.SetValue(
387 ModelTypeSetToString(full_status.encrypted_types));
/external/chromium_org/chrome/browser/sync/glue/
H A Dsync_backend_host_core.h117 syncer::ModelTypeSet encrypted_types,
H A Dsync_backend_host_impl.h275 syncer::ModelTypeSet encrypted_types,
H A Dbookmark_model_associator.cc757 const syncer::ModelTypeSet encrypted_types = trans.GetEncryptedTypes(); local
758 return !encrypted_types.Has(syncer::BOOKMARKS) ||

Completed in 278 milliseconds

12