/external/chromium/chrome/browser/sync/syncable/ |
D | nigori_util_unittest.cc | 14 ModelTypeSet encrypted_types; in TEST_F() local 15 FillNigoriEncryptedTypes(encrypted_types, &nigori); in TEST_F() 17 EXPECT_EQ(encrypted_types, test_types); in TEST_F() 20 encrypted_types.insert(ModelTypeFromInt(i)); in TEST_F() 22 FillNigoriEncryptedTypes(encrypted_types, &nigori); in TEST_F() 24 encrypted_types.erase(syncable::NIGORI); // Should not get set. in TEST_F() 25 encrypted_types.erase(syncable::PASSWORDS); // Should not get set. in TEST_F() 26 EXPECT_EQ(encrypted_types, test_types); in TEST_F() 28 encrypted_types.erase(syncable::BOOKMARKS); in TEST_F() 29 encrypted_types.erase(syncable::SESSIONS); in TEST_F() [all …]
|
D | nigori_util.cc | 38 ModelTypeSet encrypted_types; in GetEncryptedDataTypesFromNigori() local 40 encrypted_types.insert(BOOKMARKS); in GetEncryptedDataTypesFromNigori() 42 encrypted_types.insert(PREFERENCES); in GetEncryptedDataTypesFromNigori() 44 encrypted_types.insert(AUTOFILL_PROFILE); in GetEncryptedDataTypesFromNigori() 46 encrypted_types.insert(AUTOFILL); in GetEncryptedDataTypesFromNigori() 48 encrypted_types.insert(THEMES); in GetEncryptedDataTypesFromNigori() 50 encrypted_types.insert(TYPED_URLS); in GetEncryptedDataTypesFromNigori() 52 encrypted_types.insert(EXTENSIONS); in GetEncryptedDataTypesFromNigori() 54 encrypted_types.insert(SESSIONS); in GetEncryptedDataTypesFromNigori() 56 encrypted_types.insert(APPS); in GetEncryptedDataTypesFromNigori() [all …]
|
D | nigori_util.h | 45 const ModelTypeSet& encrypted_types); 51 const syncable::ModelTypeSet& encrypted_types,
|
/external/chromium/chrome/browser/sync/engine/ |
D | apply_updates_command_unittest.cc | 322 syncable::ModelTypeSet encrypted_types; in TEST_F() local 327 EXPECT_EQ(encrypted_types, GetEncryptedDataTypes(&trans)); in TEST_F() 342 encrypted_types.insert(syncable::BOOKMARKS); in TEST_F() 366 syncable::ModelTypeSet encrypted_types; in TEST_F() local 371 EXPECT_EQ(encrypted_types, GetEncryptedDataTypes(&trans)); in TEST_F() 376 EXPECT_TRUE(VerifyUnsyncedChangesAreEncrypted(&trans, encrypted_types)); in TEST_F() 410 encrypted_types.insert(syncable::BOOKMARKS); in TEST_F() 421 EXPECT_FALSE(VerifyUnsyncedChangesAreEncrypted(&trans, encrypted_types)); in TEST_F() 447 EXPECT_EQ(encrypted_types, GetEncryptedDataTypes(&trans)); in TEST_F() 448 EXPECT_TRUE(VerifyUnsyncedChangesAreEncrypted(&trans, encrypted_types)); in TEST_F() [all …]
|
D | syncapi_unittest.cc | 1062 ModelTypeSet encrypted_types; in TEST_F() local 1063 encrypted_types.insert(syncable::BOOKMARKS); in TEST_F() 1066 ModelTypeSet expected_types = encrypted_types; in TEST_F() 1069 sync_manager_.EncryptDataTypes(encrypted_types); in TEST_F() 1072 EXPECT_EQ(encrypted_types, in TEST_F() 1118 ModelTypeSet encrypted_types; in TEST_F() local 1119 encrypted_types.insert(syncable::BOOKMARKS); in TEST_F() 1120 encrypted_types.insert(syncable::SESSIONS); in TEST_F() 1121 encrypted_types.insert(syncable::PASSWORDS); in TEST_F() 1122 EXPECT_CALL(observer_, OnEncryptionComplete(encrypted_types)); in TEST_F() [all …]
|
D | syncapi.cc | 440 syncable::ModelTypeSet encrypted_types = in EncryptIfNecessary() local 442 if (encrypted_types.count(type) == 0) { in EncryptIfNecessary() 1229 void EncryptDataTypes(const syncable::ModelTypeSet& encrypted_types); 1660 const syncable::ModelTypeSet& encrypted_types) { in EncryptDataTypes() argument 1661 data_->EncryptDataTypes(encrypted_types); in EncryptDataTypes() 1800 syncable::ModelTypeSet encrypted_types = in BootstrapEncryption() local 1804 EncryptDataTypes(encrypted_types); in BootstrapEncryption() 2016 const syncable::ModelTypeSet& encrypted_types) { in EncryptDataTypes() argument 2018 << syncable::ModelTypeSetToString(encrypted_types); in EncryptDataTypes() 2038 encrypted_types.begin(), encrypted_types.end(), in EncryptDataTypes() [all …]
|
D | syncapi.h | 824 const syncable::ModelTypeSet& encrypted_types) = 0; 912 void EncryptDataTypes(const syncable::ModelTypeSet& encrypted_types);
|
D | syncer_util.cc | 306 syncable::ModelTypeSet encrypted_types = in AttemptToUpdateEntry() local 308 if (!VerifyUnsyncedChangesAreEncrypted(trans, encrypted_types) && in AttemptToUpdateEntry() 310 !syncable::ProcessUnsyncedChangesForEncryption(trans, encrypted_types, in AttemptToUpdateEntry()
|
/external/chromium/chrome/browser/sync/glue/ |
D | theme_model_associator.cc | 99 syncable::ModelTypeSet encrypted_types; in CryptoReadyIfNecessary() local 100 sync_service_->GetEncryptedDataTypes(&encrypted_types); in CryptoReadyIfNecessary() 101 return encrypted_types.count(syncable::THEMES) == 0 || in CryptoReadyIfNecessary()
|
D | extension_model_associator.cc | 63 const syncable::ModelTypeSet& encrypted_types = in CryptoReadyIfNecessary() local 65 return encrypted_types.count(traits_.model_type) == 0 || in CryptoReadyIfNecessary()
|
D | sync_backend_host.h | 96 const syncable::ModelTypeSet& encrypted_types) = 0; 180 const syncable::ModelTypeSet& encrypted_types); 288 const syncable::ModelTypeSet& encrypted_types); 366 void DoEncryptDataTypes(const syncable::ModelTypeSet& encrypted_types); 471 encrypted_types);
|
D | sync_backend_host.cc | 475 const syncable::ModelTypeSet& encrypted_types) { in EncryptDataTypes() argument 479 encrypted_types)); in EncryptDataTypes() 579 const syncable::ModelTypeSet& encrypted_types) { in NotifyEncryptionComplete() argument 583 host_->frontend_->OnEncryptionComplete(encrypted_types); in NotifyEncryptionComplete() 777 const syncable::ModelTypeSet& encrypted_types) { in DoEncryptDataTypes() argument 779 syncapi_->EncryptDataTypes(encrypted_types); in DoEncryptDataTypes() 1011 const syncable::ModelTypeSet& encrypted_types) { in OnEncryptionComplete() argument 1015 encrypted_types)); in OnEncryptionComplete()
|
D | preference_model_associator.cc | 332 syncable::ModelTypeSet encrypted_types; in CryptoReadyIfNecessary() local 333 sync_service_->GetEncryptedDataTypes(&encrypted_types); in CryptoReadyIfNecessary() 334 return encrypted_types.count(syncable::PREFERENCES) == 0 || in CryptoReadyIfNecessary()
|
D | autofill_profile_model_associator.cc | 510 syncable::ModelTypeSet encrypted_types; in CryptoReadyIfNecessary() local 511 sync_service_->GetEncryptedDataTypes(&encrypted_types); in CryptoReadyIfNecessary() 512 return encrypted_types.count(syncable::AUTOFILL_PROFILE) == 0 || in CryptoReadyIfNecessary()
|
D | autofill_model_associator.cc | 584 syncable::ModelTypeSet encrypted_types; in CryptoReadyIfNecessary() local 585 sync_service_->GetEncryptedDataTypes(&encrypted_types); in CryptoReadyIfNecessary() 586 return encrypted_types.count(syncable::AUTOFILL) == 0 || in CryptoReadyIfNecessary()
|
D | typed_url_model_associator.cc | 493 syncable::ModelTypeSet encrypted_types; in CryptoReadyIfNecessary() local 494 sync_service_->GetEncryptedDataTypes(&encrypted_types); in CryptoReadyIfNecessary() 495 return encrypted_types.count(syncable::TYPED_URLS) == 0 || in CryptoReadyIfNecessary()
|
D | bookmark_model_associator.cc | 555 const syncable::ModelTypeSet& encrypted_types = in CryptoReadyIfNecessary() local 557 return encrypted_types.count(syncable::BOOKMARKS) == 0 || in CryptoReadyIfNecessary()
|
/external/chromium/chrome/browser/sync/ |
D | profile_sync_service_harness.cc | 604 syncable::ModelTypeSet encrypted_types; in EnableEncryptionForType() local 605 service_->GetEncryptedDataTypes(&encrypted_types); in EnableEncryptionForType() 606 if (encrypted_types.count(type) > 0) in EnableEncryptionForType() 608 encrypted_types.insert(type); in EnableEncryptionForType() 609 service_->EncryptDataTypes(encrypted_types); in EnableEncryptionForType() 627 syncable::ModelTypeSet encrypted_types; in IsTypeEncrypted() local 628 service_->GetEncryptedDataTypes(&encrypted_types); in IsTypeEncrypted() 629 if (encrypted_types.count(type) == 0) { in IsTypeEncrypted()
|
D | js_sync_manager_observer.cc | 94 const syncable::ModelTypeSet& encrypted_types) { in OnEncryptionComplete() argument 96 return_args.Append(syncable::ModelTypeSetToValue(encrypted_types)); in OnEncryptionComplete()
|
D | js_sync_manager_observer_unittest.cc | 152 syncable::ModelTypeSet encrypted_types; in TEST_F() local 158 encrypted_types.insert(type); in TEST_F() 167 sync_manager_observer_.OnEncryptionComplete(encrypted_types); in TEST_F()
|
D | profile_sync_service.h | 200 const syncable::ModelTypeSet& encrypted_types); 447 const syncable::ModelTypeSet& encrypted_types); 451 syncable::ModelTypeSet* encrypted_types) const;
|
D | profile_sync_service.cc | 662 const syncable::ModelTypeSet& encrypted_types) { in OnEncryptionComplete() argument 663 if (encrypted_types_ != encrypted_types) { in OnEncryptionComplete() 664 encrypted_types_ = encrypted_types; in OnEncryptionComplete() 1123 const syncable::ModelTypeSet& encrypted_types) { in EncryptDataTypes() argument 1124 backend_->EncryptDataTypes(encrypted_types); in EncryptDataTypes() 1128 syncable::ModelTypeSet* encrypted_types) const { in GetEncryptedDataTypes() 1129 *encrypted_types = encrypted_types_; in GetEncryptedDataTypes()
|
D | js_sync_manager_observer.h | 41 const syncable::ModelTypeSet& encrypted_types);
|
/external/chromium/chrome/browser/resources/sync_internals/ |
D | sync_log.js | 90 chrome.sync.onEncryptionComplete.addListener(function (encrypted_types) { argument 92 encrypted_types: encrypted_types property
|
D | chrome_sync.js | 191 function onEncryptionComplete(encrypted_types) { argument 192 chrome.sync.onEncryptionComplete.dispatch_(encrypted_types);
|