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

1 2

  /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.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/chrome/browser/sync/glue/
extension_model_associator.cc 63 const syncable::ModelTypeSet& encrypted_types = local
65 return encrypted_types.count(traits_.model_type) == 0 ||
theme_model_associator.cc 99 syncable::ModelTypeSet encrypted_types; local
100 sync_service_->GetEncryptedDataTypes(&encrypted_types);
101 return encrypted_types.count(syncable::THEMES) == 0 ||
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 ||
autofill_model_associator.cc 584 syncable::ModelTypeSet encrypted_types; local
585 sync_service_->GetEncryptedDataTypes(&encrypted_types);
586 return encrypted_types.count(syncable::AUTOFILL) == 0 ||
bookmark_model_associator.cc 555 const syncable::ModelTypeSet& encrypted_types = local
557 return encrypted_types.count(syncable::BOOKMARKS) == 0 ||
preference_model_associator.cc 332 syncable::ModelTypeSet encrypted_types; local
333 sync_service_->GetEncryptedDataTypes(&encrypted_types);
334 return encrypted_types.count(syncable::PREFERENCES) == 0 ||
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 ||
  /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...]
  /external/chromium_org/sync/internal_api/
sync_encryption_handler_impl.h 129 Vault(Encryptor* encryptor, ModelTypeSet encrypted_types);
135 ModelTypeSet encrypted_types; member in struct:syncer::SyncEncryptionHandlerImpl::Vault
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
  /external/chromium/chrome/browser/sync/
js_sync_manager_observer_unittest.cc 152 syncable::ModelTypeSet encrypted_types; local
158 encrypted_types.insert(type);
167 sync_manager_observer_.OnEncryptionComplete(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/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...]
syncer_util.cc 306 syncable::ModelTypeSet encrypted_types = local
308 if (!VerifyUnsyncedChangesAreEncrypted(trans, encrypted_types) &&
310 !syncable::ProcessUnsyncedChangesForEncryption(trans, encrypted_types,
    [all...]
  /external/chromium_org/chrome/browser/sync/glue/
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) ||
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);
bookmark_model_associator.cc 710 const syncer::ModelTypeSet encrypted_types = trans.GetEncryptedTypes(); local
711 return !encrypted_types.Has(syncer::BOOKMARKS) ||
typed_url_model_associator.cc 837 const syncer::ModelTypeSet encrypted_types = trans.GetEncryptedTypes(); local
838 return !encrypted_types.Has(syncer::TYPED_URLS) ||
  /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_org/sync/internal_api/public/engine/
sync_status.h 86 ModelTypeSet encrypted_types; member in struct:syncer::SyncStatus
  /external/chromium_org/chrome/browser/sync/
profile_sync_service_android.cc 240 const syncer::ModelTypeSet encrypted_types = local
242 return !encrypted_types.Equals(syncer::ModelTypeSet(syncer::PASSWORDS));

Completed in 615 milliseconds

1 2