/external/chromium_org/sync/internal_api/public/engine/ |
model_safe_worker_unittest.cc | 20 routing_info[NIGORI] = GROUP_UI; 34 routing_info[NIGORI] = GROUP_UI; 45 routing_info[NIGORI] = GROUP_UI; 47 const ModelTypeSet expected_types(BOOKMARKS, NIGORI, PREFERENCES);
|
/external/chromium_org/chrome/browser/sync/ |
profile_sync_service_model_type_selection_android.h | 31 DEFINE_MODEL_TYPE_SELECTION(NIGORI, 1<<10)
|
profile_sync_service_android.cc | 499 if (types.Has(syncer::NIGORI)) { 500 model_type_selection |= NIGORI;
|
backend_migrator_unittest.cc | 154 // Test that in the normal case with Nigori a migration transitions through 158 to_migrate.Put(syncer::NIGORI);
|
/external/chromium_org/sync/sessions/ |
model_type_registry_unittest.cc | 85 routing_info.insert(std::make_pair(NIGORI, GROUP_PASSIVE)); 98 routing_info1.insert(std::make_pair(NIGORI, GROUP_PASSIVE)); 105 routing_info2.insert(std::make_pair(NIGORI, GROUP_PASSIVE)); 118 routing_info1.insert(std::make_pair(NIGORI, GROUP_PASSIVE)); 134 routing_info1.insert(std::make_pair(NIGORI, GROUP_PASSIVE)); 187 routing_info1.insert(std::make_pair(NIGORI, GROUP_PASSIVE));
|
/external/chromium_org/chrome/browser/sync/test/integration/ |
migration_test.cc | 248 // Nigori is handled specially, so we test that separately. 269 // Two data types with one being nigori. 275 MakeList(syncer::PREFERENCES, syncer::NIGORI), 281 MakeList(MakeSet(syncer::PREFERENCES, syncer::NIGORI)), 323 // All data types plus nigori. 330 migration_list.push_front(MakeSet(syncer::NIGORI)); 337 all_types.Put(syncer::NIGORI); 415 ASSERT_FALSE(migration_list.back().Equals(MakeSet(syncer::NIGORI))); 416 migration_list.back() = MakeSet(syncer::NIGORI);
|
/external/chromium_org/sync/util/ |
data_type_histogram.h | 63 case ::syncer::NIGORI: \ 64 PER_DATA_TYPE_MACRO("Nigori"); \
|
/external/chromium_org/chrome/browser/sync/glue/ |
sync_backend_registrar_unittest.cc | 32 using syncer::NIGORI; 125 const ModelTypeSet initial_types(BOOKMARKS, NIGORI, PASSWORDS); 136 expected_routing_info[NIGORI] = syncer::GROUP_PASSIVE; 147 const ModelTypeSet types1(BOOKMARKS, NIGORI, AUTOFILL); 153 expected_routing_info[NIGORI] = syncer::GROUP_PASSIVE;
|
sync_backend_host_impl_unittest.cc | 180 enabled_types_.Put(syncer::NIGORI); 300 // Only the nigori should be configured. 366 // markers, but nigori and bookmarks are missing initial sync ended. 367 syncer::ModelTypeSet partial_types(syncer::NIGORI, syncer::BOOKMARKS); 374 // download the Nigori. 377 syncer::ModelTypeSet(syncer::NIGORI))); 380 Union(full_types, syncer::ModelTypeSet(syncer::NIGORI)))); 383 Difference(partial_types, syncer::ModelTypeSet(syncer::NIGORI)))); 404 // Initialization should fetch the Nigori node. Everything else should be 496 // Only those datatypes added should be downloaded (plus nigori). Nothin [all...] |
sync_backend_registrar.cc | 141 return routing_info_.find(syncer::NIGORI) != routing_info_.end();
|
/external/chromium_org/sync/syncable/ |
model_type.cc | 59 case NIGORI: 157 case NIGORI: 265 return NIGORI; 483 case NIGORI: 576 case NIGORI: 658 return NIGORI; 779 case NIGORI: 844 const char kNigoriNotificationType[] = "NIGORI"; 893 case NIGORI: 990 *model_type = NIGORI; [all...] |
/external/chromium_org/sync/engine/ |
apply_control_data_updates.cc | 49 if (type == NIGORI) { 50 // Nigori node applications never fail. 81 // Update the nigori handler with the server's nigori node. 83 // If we have a locally modified nigori node, we merge them manually. This 90 // local passphrase, while the nigori node will preserve the server encryption 97 // We apply the nigori update regardless of whether there's a conflict or 102 const sync_pb::NigoriSpecifics& nigori = local 103 entry->GetServerSpecifics().nigori(); 104 trans->directory()->GetNigoriHandler()->ApplyNigoriUpdate(nigori, trans) [all...] |
apply_control_data_updates_unittest.cc | 62 // Verify that applying a nigori node sets initial sync ended properly, 78 // Nigori node updates should update the Cryptographer. 84 sync_pb::NigoriSpecifics* nigori = specifics.mutable_nigori(); local 85 other_cryptographer.GetKeys(nigori->mutable_encryption_keybag()); 86 nigori->set_encrypt_everything(true); 88 ModelTypeToRootTag(NIGORI), specifics, true); 102 // Create some local unsynced and unencrypted data. Apply a nigori update that 104 // data as part of the nigori update. Apply another nigori update with no 151 sync_pb::NigoriSpecifics* nigori = specifics.mutable_nigori() local 267 sync_pb::NigoriSpecifics* nigori = specifics.mutable_nigori(); local [all...] |
get_commit_ids.cc | 136 // We special case the nigori node because even though it is considered an 137 // "encrypted type", not all nigori node changes require valid encryption 139 if ((type != NIGORI) && encrypted_types.Has(type) &&
|
/external/chromium_org/sync/internal_api/public/base/ |
model_type.h | 127 // An object representing a set of Nigori keys. 128 NIGORI, 129 FIRST_CONTROL_MODEL_TYPE = NIGORI,
|
/external/chromium_org/sync/internal_api/ |
js_sync_manager_observer_unittest.cc | 51 restored_types.Put(NIGORI);
|
sync_encryption_handler_impl_unittest.cc | 81 CreateRootForType(NIGORI); 149 ASSERT_EQ(nigori_node.InitTypeRoot(NIGORI), BaseNode::INIT_OK); 150 const sync_pb::NigoriSpecifics& nigori = nigori_node.GetNigoriSpecifics(); local 152 EXPECT_EQ(migration_time, nigori.keystore_migration_time()); 154 EXPECT_TRUE(nigori.has_keystore_migration_time()); 155 EXPECT_TRUE(nigori.keybag_is_frozen()); 158 EXPECT_TRUE(nigori.encrypt_everything()); 159 EXPECT_TRUE(nigori.keystore_decryptor_token().blob().empty()); 162 nigori.passphrase_type()); 164 EXPECT_EQ(nigori.custom_passphrase_time() 210 sync_pb::NigoriSpecifics nigori; local 243 sync_pb::NigoriSpecifics nigori = BuildMigratedNigori( local 276 sync_pb::NigoriSpecifics nigori = BuildMigratedNigori( local 313 sync_pb::NigoriSpecifics nigori; local 346 sync_pb::NigoriSpecifics nigori; local 416 sync_pb::NigoriSpecifics nigori; local 452 sync_pb::NigoriSpecifics nigori; local 491 sync_pb::NigoriSpecifics nigori; local 591 const sync_pb::NigoriSpecifics& nigori = nigori_node.GetNigoriSpecifics(); local 738 sync_pb::NigoriSpecifics nigori; local 795 sync_pb::NigoriSpecifics nigori; local 1039 sync_pb::NigoriSpecifics nigori; local 1119 sync_pb::NigoriSpecifics nigori; local 1199 sync_pb::NigoriSpecifics nigori; local 1261 sync_pb::NigoriSpecifics nigori; local 1306 sync_pb::NigoriSpecifics nigori; local 1340 sync_pb::NigoriSpecifics nigori; local 1383 sync_pb::NigoriSpecifics nigori; local 1432 sync_pb::NigoriSpecifics nigori; local 1513 sync_pb::NigoriSpecifics nigori; local 1615 sync_pb::NigoriSpecifics nigori; local 1722 sync_pb::NigoriSpecifics nigori; local 1817 sync_pb::NigoriSpecifics nigori; local 1935 sync_pb::NigoriSpecifics nigori; local 2191 sync_pb::NigoriSpecifics nigori = BuildMigratedNigori( local [all...] |
sync_encryption_handler_impl.cc | 39 // The maximum number of times we will automatically overwrite the nigori node 41 // We protect ourselves against nigori rollbacks, but it's possible two 42 // different clients might have contrasting view of what the nigori node state 46 // Enumeration of nigori keystore migration results (for use in UMA stats). 67 // The new passphrase state is sufficient to determine whether a nigori node 74 bool IsNigoriMigratedToKeystore(const sync_pb::NigoriSpecifics& nigori) { 75 if (!nigori.has_passphrase_type()) 77 if (!nigori.has_keystore_migration_time()) 79 if (!nigori.keybag_is_frozen()) 81 if (nigori.passphrase_type() = 724 const sync_pb::NigoriSpecifics& nigori = local [all...] |
base_node.cc | 240 DCHECK_EQ(GetModelType(), NIGORI); 241 return GetEntitySpecifics().nigori();
|
sync_manager_impl_unittest.cc | 149 // Attempt to lookup by nigori tag. 858 (*out)[NIGORI] = GROUP_PASSIVE; 889 // We need to create the nigori node as if it were an applied server update. 890 int64 nigori_id = GetIdForDataType(NIGORI); 894 // Set the nigori cryptographer information. 909 sync_pb::NigoriSpecifics nigori; local 910 cryptographer->GetKeys(nigori.mutable_encryption_keybag()); 912 &nigori, 1056 sync_pb::NigoriSpecifics nigori = node.GetNigoriSpecifics(); local 1101 sync_pb::NigoriSpecifics nigori = node.GetNigoriSpecifics(); local 1245 sync_pb::NigoriSpecifics nigori = node.GetNigoriSpecifics(); local 1365 sync_pb::NigoriSpecifics nigori; local 1413 sync_pb::NigoriSpecifics nigori; local 1496 sync_pb::NigoriSpecifics nigori; local 1545 sync_pb::NigoriSpecifics nigori; local [all...] |
/external/chromium_org/sync/test/fake_server/ |
permanent_entity.cc | 75 CHECK(model_type == syncer::NIGORI) << "This factory only supports NIGORI "
|
fake_server.cc | 295 if (entity->GetModelType() == syncer::NIGORI) { 297 response_entity->specifics().nigori().passphrase_type() == 332 } else if (GetModelType(client_entity) == syncer::NIGORI) { 333 // NIGORI is the only permanent item type that should be updated by the
|
/external/chromium_org/sync/android/java/src/org/chromium/sync/internal_api/pub/base/ |
ModelType.java | 42 * An object representing a set of Nigori keys. 44 NIGORI("NIGORI"),
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/sync/ |
ProfileSyncService.java | 387 if ((modelTypeSelection & ModelTypeSelection.NIGORI) != 0) { 388 syncTypes.add(ModelType.NIGORI);
|
/external/chromium_org/components/sync_driver/ |
model_association_manager.cc | 23 syncer::NIGORI, // Listed for completeness.
|