/external/chromium_org/sync/syncable/ |
H A D | nigori_util_unittest.cc | 17 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 D | nigori_util.cc | 26 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 D | sync_encryption_handler_impl.h | 129 Vault(Encryptor* encryptor, ModelTypeSet encrypted_types); 135 ModelTypeSet encrypted_types; member in struct:syncer::SyncEncryptionHandlerImpl::Vault
|
H A D | js_sync_encryption_handler_observer.cc | 64 ModelTypeSet encrypted_types, 71 ModelTypeSetToValue(encrypted_types)); 63 OnEncryptedTypesChanged( ModelTypeSet encrypted_types, bool encrypt_everything) argument
|
H A D | js_sync_encryption_handler_observer_unittest.cc | 118 ModelTypeSet encrypted_types; local 122 encrypted_types.Put(type); 132 encrypted_types, encrypt_everything); 143 ModelTypeSet encrypted_types; local
|
H A D | debug_info_event_listener.cc | 87 ModelTypeSet encrypted_types, 86 OnEncryptedTypesChanged( ModelTypeSet encrypted_types, bool encrypt_everything) argument
|
H A D | sync_encryption_handler_impl_unittest.cc | 356 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 D | sync_encryption_handler_impl.cc | 200 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 D | sync_manager_impl.cc | 385 void SyncManagerImpl::OnEncryptedTypesChanged(ModelTypeSet encrypted_types, argument 387 allstatus_.SetEncryptedTypes(encrypted_types);
|
H A D | sync_manager_impl_unittest.cc | 1047 const ModelTypeSet encrypted_types = GetEncryptedTypes(); local 1048 EXPECT_TRUE(encrypted_types.Has(PASSWORDS)); 1076 const ModelTypeSet encrypted_types = GetEncryptedTypes(); local 1077 EXPECT_TRUE(encrypted_types.Has(PASSWORDS)); // Hardcoded. 1092 const ModelTypeSet encrypted_types = GetEncryptedTypes(); local 1093 EXPECT_TRUE(encrypted_types.Has(PASSWORDS)); // Hardcoded.
|
/external/chromium_org/sync/engine/ |
H A D | apply_control_data_updates_unittest.cc | 68 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 D | get_commit_ids.cc | 35 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
|
/external/chromium_org/sync/internal_api/public/engine/ |
H A D | sync_status.h | 72 ModelTypeSet encrypted_types; member in struct:syncer::SyncStatus
|
/external/chromium_org/chrome/browser/sync/ |
H A D | profile_sync_service_android.cc | 248 const syncer::ModelTypeSet encrypted_types = local 250 return !encrypted_types.Equals(syncer::ModelTypeSet(syncer::PASSWORDS));
|
H A D | profile_sync_service.cc | 545 const syncer::ModelTypeSet encrypted_types = GetEncryptedDataTypes(); local 546 DCHECK(encrypted_types.Has(syncer::PASSWORDS)); 547 return !Intersection(preferred_types, encrypted_types).Empty(); 1365 syncer::ModelTypeSet encrypted_types, 1367 encrypted_types_ = encrypted_types; 1364 OnEncryptedTypesChanged( syncer::ModelTypeSet encrypted_types, bool encrypt_everything) argument
|
/external/chromium_org/components/sync_driver/ |
H A D | data_type_manager_impl.cc | 29 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 D | generic_change_processor.cc | 602 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();
|
H A D | data_type_manager_impl_unittest.cc | 196 void set_encrypted_types(ModelTypeSet encrypted_types) { argument 197 encrypted_types_ = encrypted_types; 329 void FailEncryptionFor(ModelTypeSet encrypted_types) { argument 331 encryption_handler_.set_encrypted_types(encrypted_types);
|
/external/chromium_org/sync/sessions/ |
H A D | model_type_registry.cc | 319 void ModelTypeRegistry::OnEncryptedTypesChanged(ModelTypeSet encrypted_types, argument 321 encrypted_types_ = encrypted_types;
|
/external/chromium_org/chrome/browser/sync/glue/ |
H A D | bookmark_model_associator.cc | 757 const syncer::ModelTypeSet encrypted_types = trans.GetEncryptedTypes(); local 758 return !encrypted_types.Has(syncer::BOOKMARKS) ||
|
H A D | typed_url_model_associator.cc | 837 const syncer::ModelTypeSet encrypted_types = trans.GetEncryptedTypes(); local 838 return !encrypted_types.Has(syncer::TYPED_URLS) ||
|
H A D | sync_backend_host_core.cc | 272 syncer::ModelTypeSet encrypted_types, 281 encrypted_types, encrypt_everything); 271 OnEncryptedTypesChanged( syncer::ModelTypeSet encrypted_types, bool encrypt_everything) argument
|
H A D | sync_backend_host_impl.cc | 800 syncer::ModelTypeSet encrypted_types, 807 encrypted_types, encrypt_everything); 799 NotifyEncryptedTypesChanged( syncer::ModelTypeSet encrypted_types, bool encrypt_everything) argument
|
/external/chromium_org/chrome/browser/autocomplete/ |
H A D | search_provider_unittest.cc | 3218 syncer::ModelTypeSet encrypted_types = service->GetEncryptedDataTypes(); local 3219 encrypted_types.Put(syncer::SESSIONS); 3220 service->OnEncryptedTypesChanged(encrypted_types, false); 3225 encrypted_types.Remove(syncer::SESSIONS); 3226 service->OnEncryptedTypesChanged(encrypted_types, false);
|