Searched defs:encrypted_types (Results 1 - 23 of 23) sorted by relevance

/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...]
/external/chromium_org/sync/internal_api/
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 Djs_sync_encryption_handler_observer.cc64 ModelTypeSet encrypted_types,
71 ModelTypeSetToValue(encrypted_types));
63 OnEncryptedTypesChanged( ModelTypeSet encrypted_types, bool encrypt_everything) argument
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 Ddebug_info_event_listener.cc88 ModelTypeSet encrypted_types,
87 OnEncryptedTypesChanged( ModelTypeSet encrypted_types, bool encrypt_everything) argument
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 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 Dsync_manager_impl.cc466 void SyncManagerImpl::OnEncryptedTypesChanged(ModelTypeSet encrypted_types, argument
468 allstatus_.SetEncryptedTypes(encrypted_types);
H A Dsync_manager_impl_unittest.cc1052 const ModelTypeSet encrypted_types = GetEncryptedTypes(); local
1053 EXPECT_TRUE(encrypted_types.Has(PASSWORDS));
1081 const ModelTypeSet encrypted_types = GetEncryptedTypes(); local
1082 EXPECT_TRUE(encrypted_types.Has(PASSWORDS)); // Hardcoded.
1097 const ModelTypeSet encrypted_types = GetEncryptedTypes(); local
1098 EXPECT_TRUE(encrypted_types.Has(PASSWORDS)); // Hardcoded.
/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,
129 ModelTypeSet encrypted_types,
140 if ((type != NIGORI) && encrypted_types.Has(type) &&
142 syncable::EntryNeedsEncryption(encrypted_types, entry))) {
193 ModelTypeSet encrypted_types,
206 encrypted_types,
128 IsEntryReadyForCommit(ModelTypeSet requested_types, ModelTypeSet encrypted_types, bool passphrase_missing, const syncable::Entry& entry) argument
190 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
/external/chromium_org/sync/internal_api/public/engine/
H A Dsync_status.h72 ModelTypeSet encrypted_types; member in struct:syncer::SyncStatus
/external/chromium_org/chrome/browser/sync/
H A Dprofile_sync_service_android.cc241 const syncer::ModelTypeSet encrypted_types = local
243 return !encrypted_types.Equals(syncer::ModelTypeSet(syncer::PASSWORDS));
H A Dprofile_sync_service.cc580 const syncer::ModelTypeSet encrypted_types = GetEncryptedDataTypes(); local
581 DCHECK(encrypted_types.Has(syncer::PASSWORDS));
582 return !Intersection(preferred_types, encrypted_types).Empty();
1364 syncer::ModelTypeSet encrypted_types,
1366 encrypted_types_ = encrypted_types;
1363 OnEncryptedTypesChanged( syncer::ModelTypeSet encrypted_types, bool encrypt_everything) argument
/external/chromium_org/components/sync_driver/
H A Ddata_type_manager_impl.cc29 GenerateCryptoErrorsForTypes(syncer::ModelTypeSet encrypted_types) { argument
31 for (syncer::ModelTypeSet::Iterator iter = encrypted_types.First();
218 syncer::ModelTypeSet encrypted_types = local
220 encrypted_types.RetainAll(last_requested_types_);
221 encrypted_types.RemoveAll(
224 GenerateCryptoErrorsForTypes(encrypted_types);
457 syncer::ModelTypeSet encrypted_types = result.needs_crypto; local
458 encrypted_types.RemoveAll(
461 GenerateCryptoErrorsForTypes(encrypted_types);
H A Ddata_type_manager_impl_unittest.cc123 void set_encrypted_types(syncer::ModelTypeSet encrypted_types) { argument
124 encrypted_types_ = encrypted_types;
255 void FailEncryptionFor(syncer::ModelTypeSet encrypted_types) { argument
257 encryption_handler_.set_encrypted_types(encrypted_types);
H A Dgeneric_change_processor.cc619 syncer::ModelTypeSet encrypted_types(trans.GetEncryptedTypes());
624 const bool agreement = encrypted_types.Has(type);
721 const syncer::ModelTypeSet encrypted_types = trans.GetEncryptedTypes(); local
722 return !encrypted_types.Has(type) ||
/external/chromium_org/chrome/browser/sync/glue/
H A Dbookmark_model_associator.cc747 const syncer::ModelTypeSet encrypted_types = trans.GetEncryptedTypes(); local
748 return !encrypted_types.Has(syncer::BOOKMARKS) ||
H A Dtyped_url_model_associator.cc844 const syncer::ModelTypeSet encrypted_types = trans.GetEncryptedTypes(); local
845 return !encrypted_types.Has(syncer::TYPED_URLS) ||
H A Dsync_backend_host_core.cc270 syncer::ModelTypeSet encrypted_types,
279 encrypted_types, encrypt_everything);
269 OnEncryptedTypesChanged( syncer::ModelTypeSet encrypted_types, bool encrypt_everything) argument
H A Dsync_backend_host_impl.cc804 syncer::ModelTypeSet encrypted_types,
811 encrypted_types, encrypt_everything);
803 NotifyEncryptedTypesChanged( syncer::ModelTypeSet encrypted_types, bool encrypt_everything) argument
/external/chromium_org/chrome/browser/autocomplete/
H A Dsearch_provider_unittest.cc3002 syncer::ModelTypeSet encrypted_types = service->GetEncryptedDataTypes(); local
3003 encrypted_types.Put(syncer::SESSIONS);
3004 service->OnEncryptedTypesChanged(encrypted_types, false);
3009 encrypted_types.Remove(syncer::SESSIONS);
3010 service->OnEncryptedTypesChanged(encrypted_types, false);

Completed in 689 milliseconds