/external/chromium/chrome/browser/sync/syncable/ |
H A D | nigori_util_unittest.cc | 14 ModelTypeSet encrypted_types; local 15 FillNigoriEncryptedTypes(encrypted_types, &nigori); 17 EXPECT_EQ(encrypted_types, test_types); 20 encrypted_types.insert(ModelTypeFromInt(i)); 22 FillNigoriEncryptedTypes(encrypted_types, &nigori); 24 encrypted_types.erase(syncable::NIGORI); // Should not get set. 25 encrypted_types.erase(syncable::PASSWORDS); // Should not get set. 26 EXPECT_EQ(encrypted_types, test_types); 28 encrypted_types.erase(syncable::BOOKMARKS); 29 encrypted_types [all...] |
H A D | nigori_util.cc | 38 ModelTypeSet encrypted_types; local 40 encrypted_types.insert(BOOKMARKS); 42 encrypted_types.insert(PREFERENCES); 44 encrypted_types.insert(AUTOFILL_PROFILE); 46 encrypted_types.insert(AUTOFILL); 48 encrypted_types.insert(THEMES); 50 encrypted_types.insert(TYPED_URLS); 52 encrypted_types.insert(EXTENSIONS); 54 encrypted_types.insert(SESSIONS); 56 encrypted_types 74 ProcessUnsyncedChangesForEncryption( WriteTransaction* const trans, const ModelTypeSet& encrypted_types, browser_sync::Cryptographer* cryptographer) argument 125 VerifyUnsyncedChangesAreEncrypted( BaseTransaction* const trans, const ModelTypeSet& encrypted_types) argument [all...] |
/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)) 158 const ModelTypeSet encrypted_types local 51 VerifyUnsyncedChangesAreEncrypted( BaseTransaction* const trans, ModelTypeSet encrypted_types) argument 241 UpdateNigoriFromEncryptedTypes(ModelTypeSet encrypted_types, bool encrypt_everything, sync_pb::NigoriSpecifics* nigori) argument [all...] |
/external/chromium/chrome/browser/sync/glue/ |
H A D | extension_model_associator.cc | 63 const syncable::ModelTypeSet& encrypted_types = local 65 return encrypted_types.count(traits_.model_type) == 0 ||
|
H A D | theme_model_associator.cc | 99 syncable::ModelTypeSet encrypted_types; local 100 sync_service_->GetEncryptedDataTypes(&encrypted_types); 101 return encrypted_types.count(syncable::THEMES) == 0 ||
|
H A D | autofill_profile_model_associator.cc | 510 syncable::ModelTypeSet encrypted_types; local 511 sync_service_->GetEncryptedDataTypes(&encrypted_types); 512 return encrypted_types.count(syncable::AUTOFILL_PROFILE) == 0 ||
|
H A D | preference_model_associator.cc | 332 syncable::ModelTypeSet encrypted_types; local 333 sync_service_->GetEncryptedDataTypes(&encrypted_types); 334 return encrypted_types.count(syncable::PREFERENCES) == 0 ||
|
H A D | typed_url_model_associator.cc | 493 syncable::ModelTypeSet encrypted_types; local 494 sync_service_->GetEncryptedDataTypes(&encrypted_types); 495 return encrypted_types.count(syncable::TYPED_URLS) == 0 ||
|
H A D | bookmark_model_associator.cc | 555 const syncable::ModelTypeSet& encrypted_types = local 557 return encrypted_types.count(syncable::BOOKMARKS) == 0 ||
|
/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 | 65 ModelTypeSet encrypted_types, 72 ModelTypeSetToValue(encrypted_types)); 64 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 | 93 ModelTypeSet encrypted_types, 92 OnEncryptedTypesChanged( ModelTypeSet encrypted_types, bool encrypt_everything) argument
|
/external/chromium/chrome/browser/sync/ |
H A D | js_sync_manager_observer_unittest.cc | 152 syncable::ModelTypeSet encrypted_types; local 158 encrypted_types.insert(type); 167 sync_manager_observer_.OnEncryptionComplete(encrypted_types);
|
H A D | js_sync_manager_observer.cc | 94 const syncable::ModelTypeSet& encrypted_types) { 96 return_args.Append(syncable::ModelTypeSetToValue(encrypted_types)); 93 OnEncryptionComplete( const syncable::ModelTypeSet& encrypted_types) argument
|
H A D | profile_sync_service_harness.cc | 604 syncable::ModelTypeSet encrypted_types; local 605 service_->GetEncryptedDataTypes(&encrypted_types); 606 if (encrypted_types.count(type) > 0) 608 encrypted_types.insert(type); 609 service_->EncryptDataTypes(encrypted_types); 627 syncable::ModelTypeSet encrypted_types; local 628 service_->GetEncryptedDataTypes(&encrypted_types); 629 if (encrypted_types.count(type) == 0) {
|
/external/chromium/chrome/browser/sync/engine/ |
H A D | apply_updates_command_unittest.cc | 322 syncable::ModelTypeSet encrypted_types; local 327 EXPECT_EQ(encrypted_types, GetEncryptedDataTypes(&trans)); 342 encrypted_types.insert(syncable::BOOKMARKS); 366 syncable::ModelTypeSet encrypted_types; local 371 EXPECT_EQ(encrypted_types, GetEncryptedDataTypes(&trans)); 375 // With empty encrypted_types, this should be true. 376 EXPECT_TRUE(VerifyUnsyncedChangesAreEncrypted(&trans, encrypted_types)); 410 encrypted_types.insert(syncable::BOOKMARKS); 421 EXPECT_FALSE(VerifyUnsyncedChangesAreEncrypted(&trans, encrypted_types)); 447 EXPECT_EQ(encrypted_types, GetEncryptedDataType 460 syncable::ModelTypeSet encrypted_types; local [all...] |
H A D | syncer_util.cc | 306 syncable::ModelTypeSet encrypted_types = local 308 if (!VerifyUnsyncedChangesAreEncrypted(trans, encrypted_types) && 310 !syncable::ProcessUnsyncedChangesForEncryption(trans, encrypted_types,
|
/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)); 224 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, 116 ModelTypeSet encrypted_types, 127 if ((type != NIGORI) && encrypted_types.Has(type) && 129 syncable::EntryNeedsEncryption(encrypted_types, entry))) { 173 ModelTypeSet encrypted_types, 181 encrypted_types, 115 IsEntryReadyForCommit(ModelTypeSet requested_types, ModelTypeSet encrypted_types, bool passphrase_missing, const syncable::Entry& entry) argument 170 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 | 86 ModelTypeSet encrypted_types; member in struct:syncer::SyncStatus
|
/external/chromium_org/chrome/browser/sync/glue/ |
H A D | generic_change_processor.cc | 457 syncer::ModelTypeSet encrypted_types(trans.GetEncryptedTypes()); 462 const bool agreement = encrypted_types.Has(type); 561 const syncer::ModelTypeSet encrypted_types = trans.GetEncryptedTypes(); local 562 return !encrypted_types.Has(type) ||
|
H A D | data_type_manager_impl.cc | 34 GenerateCryptoErrorsForTypes(syncer::ModelTypeSet encrypted_types) { argument 36 for (syncer::ModelTypeSet::Iterator iter = encrypted_types.First(); 193 syncer::ModelTypeSet encrypted_types = local 195 encrypted_types.RetainAll(last_requested_types_); 196 encrypted_types.RemoveAll( 199 GenerateCryptoErrorsForTypes(encrypted_types); 412 syncer::ModelTypeSet encrypted_types = result.needs_crypto; local 413 encrypted_types.RemoveAll( 416 GenerateCryptoErrorsForTypes(encrypted_types);
|
H A D | data_type_manager_impl_unittest.cc | 127 void set_encrypted_types(syncer::ModelTypeSet encrypted_types) { argument 128 encrypted_types_ = encrypted_types; 259 void FailEncryptionFor(syncer::ModelTypeSet encrypted_types) { argument 261 encryption_handler_.set_encrypted_types(encrypted_types);
|