HomeSort by relevance Sort by last modified time
    Searched refs:encrypted_types (Results 1 - 25 of 62) sorted by null

1 2 3

  /external/chromium/chrome/browser/sync/syncable/
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.erase(syncable::SESSIONS)
    [all...]
nigori_util.h 38 // |encrypted_types|.
45 const ModelTypeSet& encrypted_types);
48 // or unencrypted, based on |encrypted_types|.
51 const syncable::ModelTypeSet& encrypted_types,
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.insert(APPS)
    [all...]
  /external/chromium_org/sync/syncable/
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));
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,
78 return SpecificsNeedsEncryption(encrypted_types, entry.GetSpecifics()) ||
79 (encrypted_types.Has(type) &&
83 bool SpecificsNeedsEncryption(ModelTypeSet encrypted_types,
88 if (!encrypted_types.Has(type))
158 const ModelTypeSet encrypted_types = nigori_handler->GetEncryptedTypes(trans) local
    [all...]
nigori_util.h 32 // |encrypted_types|.
39 ModelTypeSet encrypted_types);
42 // or unencrypted, based on |encrypted_types|.
49 bool EntryNeedsEncryption(ModelTypeSet encrypted_types,
54 ModelTypeSet encrypted_types,
71 // Updates |nigori| to match the encryption state specified by |encrypted_types|
74 ModelTypeSet encrypted_types,
  /external/chromium/chrome/browser/sync/glue/
theme_model_associator.cc 99 syncable::ModelTypeSet encrypted_types; local
100 sync_service_->GetEncryptedDataTypes(&encrypted_types);
101 return encrypted_types.count(syncable::THEMES) == 0 ||
extension_model_associator.cc 63 const syncable::ModelTypeSet& encrypted_types = local
65 return encrypted_types.count(traits_.model_type) == 0 ||
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);
  /external/chromium_org/chrome/browser/sync/glue/
sync_frontend.h 84 // |encrypted_types| will always be a superset of
86 // true, |encrypted_types| will be the set of all known types.
92 syncer::ModelTypeSet encrypted_types,
data_type_manager_impl.cc 34 GenerateCryptoErrorsForTypes(syncer::ModelTypeSet encrypted_types) {
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);
  /external/chromium_org/sync/internal_api/
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
js_sync_encryption_handler_observer.h 44 ModelTypeSet encrypted_types,
js_sync_encryption_handler_observer.cc 65 ModelTypeSet encrypted_types,
72 ModelTypeSetToValue(encrypted_types));
sync_encryption_handler_impl.cc 200 ModelTypeSet encrypted_types)
202 encrypted_types(encrypted_types) {
305 UnlockVault(trans.GetWrappedTrans()).encrypted_types,
670 syncable::UpdateNigoriFromEncryptedTypes(UnlockVault(trans).encrypted_types,
752 return UnlockVault(trans).encrypted_types;
762 return vault_unsafe_.encrypted_types;
1067 ModelTypeSet* encrypted_types = &UnlockVaultMutable(trans)->encrypted_types; local
1272 ModelTypeSet* encrypted_types = &UnlockVaultMutable(trans)->encrypted_types; local
1554 ModelTypeSet* encrypted_types = &UnlockVaultMutable(trans)->encrypted_types; local
    [all...]
sync_encryption_handler_impl.h 129 Vault(Encryptor* encryptor, ModelTypeSet encrypted_types);
135 ModelTypeSet encrypted_types; member in struct:syncer::SyncEncryptionHandlerImpl::Vault
debug_info_event_listener.h 64 ModelTypeSet encrypted_types,
  /external/chromium_org/sync/engine/
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...]
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,
  /external/chromium/chrome/browser/sync/engine/
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, GetEncryptedDataTypes(&trans))
460 syncable::ModelTypeSet encrypted_types; local
    [all...]
  /external/chromium/chrome/browser/sync/
js_sync_manager_observer.h 41 const syncable::ModelTypeSet& encrypted_types);
js_sync_manager_observer.cc 94 const syncable::ModelTypeSet& encrypted_types) {
96 return_args.Append(syncable::ModelTypeSetToValue(encrypted_types));
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_org/sync/internal_api/public/engine/
sync_status.h 86 ModelTypeSet encrypted_types; member in struct:syncer::SyncStatus
  /external/chromium_org/sync/internal_api/public/
sync_encryption_handler.h 96 // |encrypted_types| will always be a superset of
98 // true, |encrypted_types| will be the set of all known types.
104 ModelTypeSet encrypted_types,

Completed in 1105 milliseconds

1 2 3