Home
last modified time | relevance | path

Searched refs:encrypted_types (Results 1 – 25 of 26) sorted by relevance

12

/external/chromium/chrome/browser/sync/syncable/
Dnigori_util_unittest.cc14 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 …]
Dnigori_util.cc38 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 …]
Dnigori_util.h45 const ModelTypeSet& encrypted_types);
51 const syncable::ModelTypeSet& encrypted_types,
/external/chromium/chrome/browser/sync/engine/
Dapply_updates_command_unittest.cc322 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 …]
Dsyncapi_unittest.cc1062 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 …]
Dsyncapi.cc440 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 …]
Dsyncapi.h824 const syncable::ModelTypeSet& encrypted_types) = 0;
912 void EncryptDataTypes(const syncable::ModelTypeSet& encrypted_types);
Dsyncer_util.cc306 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/
Dtheme_model_associator.cc99 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()
Dextension_model_associator.cc63 const syncable::ModelTypeSet& encrypted_types = in CryptoReadyIfNecessary() local
65 return encrypted_types.count(traits_.model_type) == 0 || in CryptoReadyIfNecessary()
Dsync_backend_host.h96 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);
Dsync_backend_host.cc475 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()
Dpreference_model_associator.cc332 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()
Dautofill_profile_model_associator.cc510 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()
Dautofill_model_associator.cc584 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()
Dtyped_url_model_associator.cc493 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()
Dbookmark_model_associator.cc555 const syncable::ModelTypeSet& encrypted_types = in CryptoReadyIfNecessary() local
557 return encrypted_types.count(syncable::BOOKMARKS) == 0 || in CryptoReadyIfNecessary()
/external/chromium/chrome/browser/sync/
Dprofile_sync_service_harness.cc604 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()
Djs_sync_manager_observer.cc94 const syncable::ModelTypeSet& encrypted_types) { in OnEncryptionComplete() argument
96 return_args.Append(syncable::ModelTypeSetToValue(encrypted_types)); in OnEncryptionComplete()
Djs_sync_manager_observer_unittest.cc152 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()
Dprofile_sync_service.h200 const syncable::ModelTypeSet& encrypted_types);
447 const syncable::ModelTypeSet& encrypted_types);
451 syncable::ModelTypeSet* encrypted_types) const;
Dprofile_sync_service.cc662 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()
Djs_sync_manager_observer.h41 const syncable::ModelTypeSet& encrypted_types);
/external/chromium/chrome/browser/resources/sync_internals/
Dsync_log.js90 chrome.sync.onEncryptionComplete.addListener(function (encrypted_types) { argument
92 encrypted_types: encrypted_types property
Dchrome_sync.js191 function onEncryptionComplete(encrypted_types) { argument
192 chrome.sync.onEncryptionComplete.dispatch_(encrypted_types);

12