Home
last modified time | relevance | path

Searched refs:PREFERENCES (Results 1 – 25 of 56) sorted by relevance

123

/external/chromium_org/components/sync_driver/
Ddata_type_manager_impl_unittest.cc28 using syncer::PREFERENCES;
435 AddController(PREFERENCES); in TEST_F()
458 Configure(dtm_.get(), ModelTypeSet(BOOKMARKS, PREFERENCES)); in TEST_F()
463 FinishDownload(*dtm_, ModelTypeSet(BOOKMARKS, PREFERENCES), ModelTypeSet()); in TEST_F()
467 GetController(PREFERENCES)->FinishStart(DataTypeController::OK); in TEST_F()
488 AddController(PREFERENCES); in TEST_F()
511 Configure(dtm_.get(), ModelTypeSet(PREFERENCES)); in TEST_F()
516 FinishDownload(*dtm_, ModelTypeSet(PREFERENCES), ModelTypeSet()); in TEST_F()
520 GetController(PREFERENCES)->FinishStart(DataTypeController::OK); in TEST_F()
541 AddController(PREFERENCES); in TEST_F()
[all …]
Duser_selectable_sync_type.h26 PREFERENCES = 1, enumerator
Dsync_prefs.cc128 model_set.Put(syncer::PREFERENCES); in RegisterProfilePrefs()
295 case syncer::PREFERENCES: in GetPrefNameForDataType()
413 pref_groups_[syncer::PREFERENCES].Put(syncer::DICTIONARY); in RegisterPrefGroups()
414 pref_groups_[syncer::PREFERENCES].Put(syncer::PRIORITY_PREFERENCES); in RegisterPrefGroups()
415 pref_groups_[syncer::PREFERENCES].Put(syncer::SEARCH_ENGINES); in RegisterPrefGroups()
/external/chromium_org/sync/engine/
Ddirectory_commit_contribution_unittest.cc26 CreateTypeRoot(&trans, dir(), PREFERENCES); in SetUp()
107 pref1 = CreateUnsyncedItem(&trans, PREFERENCES, "pref1"); in TEST_F()
108 CreateUnsyncedItem(&trans, PREFERENCES, "pref2"); in TEST_F()
112 DirectoryTypeDebugInfoEmitter emitter(PREFERENCES, &type_observers_); in TEST_F()
114 DirectoryCommitContribution::Build(dir(), PREFERENCES, 5, &emitter)); in TEST_F()
133 pref1 = CreateUnsyncedItem(&trans, PREFERENCES, "pref1"); in TEST_F()
134 pref2 = CreateUnsyncedItem(&trans, PREFERENCES, "pref2"); in TEST_F()
138 DirectoryTypeDebugInfoEmitter emitter(PREFERENCES, &type_observers_); in TEST_F()
140 DirectoryCommitContribution::Build(dir(), PREFERENCES, 1, &emitter)); in TEST_F()
156 CreateUnsyncedItem(&trans, PREFERENCES, "pref1"); in TEST_F()
[all …]
/external/chromium_org/sync/internal_api/
Dsync_rollback_manager_unittest.cc182 PrepopulateDb(PREFERENCES, "pref1"); in TEST_F()
186 InitManager(&rollback_manager, ModelTypeSet(PREFERENCES), &delegate, in TEST_F()
191 CreateEntry(rollback_manager.GetUserShare(), PREFERENCES, "pref2"); in TEST_F()
201 routing_info[PREFERENCES] = GROUP_UI; in TEST_F()
206 PrepopulateDb(PREFERENCES, "pref1"); in TEST_F()
210 InitManager(&rollback_manager, ModelTypeSet(PREFERENCES, APPS), &delegate, in TEST_F()
215 CreateEntry(rollback_manager.GetUserShare(), PREFERENCES, "pref2"); in TEST_F()
225 routing_info[PREFERENCES] = GROUP_UI; in TEST_F()
233 PrepopulateDb(PREFERENCES, "pref1"); in TEST_F()
238 InitManager(rollback_manager.get(), ModelTypeSet(PREFERENCES), &delegate, in TEST_F()
[all …]
Dsync_manager_impl_unittest.cc337 ignore_result(MakeNode(user_share(), PREFERENCES, "collideme")); in TEST_F()
350 prefnode.InitByClientTagLookup(PREFERENCES, in TEST_F()
517 pref_node.InitUniqueByCreation(PREFERENCES, root_node, "bar"); in TEST_F()
534 pref_node.InitByClientTagLookup(PREFERENCES, in TEST_F()
649 CreateEntryWithAttachmentMetadata(PREFERENCES, tag1, attachment_metadata); in TEST_F()
656 CreateEntryWithAttachmentMetadata(PREFERENCES, tag2, attachment_metadata); in TEST_F()
662 ReplaceWithTombstone(syncer::PREFERENCES, tag1); in TEST_F()
670 ASSERT_EQ(LookupEntryByClientTag(PREFERENCES, tag1), in TEST_F()
681 ReplaceWithTombstone(syncer::PREFERENCES, tag2); in TEST_F()
683 ASSERT_EQ(LookupEntryByClientTag(PREFERENCES, tag2), in TEST_F()
[all …]
Dsync_rollback_manager_base_unittest.cc72 ModelTypeSet(PREFERENCES, BOOKMARKS), in TEST_F()
80 pref_root.InitTypeRoot(PREFERENCES)); in TEST_F()
/external/chromium_org/sync/internal_api/public/engine/
Dmodel_safe_worker_unittest.cc21 routing_info[PREFERENCES] = GROUP_DB; in TEST_F()
35 routing_info[PREFERENCES] = GROUP_DB; in TEST_F()
46 routing_info[PREFERENCES] = GROUP_DB; in TEST_F()
47 const ModelTypeSet expected_types(BOOKMARKS, NIGORI, PREFERENCES); in TEST_F()
/external/chromium_org/sync/api/
Dsync_change_unittest.cc37 SyncData::CreateLocalDelete(tag, PREFERENCES)); in TEST_F()
40 EXPECT_EQ(PREFERENCES, e.sync_data().GetDataType()); in TEST_F()
56 EXPECT_EQ(PREFERENCES, e.sync_data().GetDataType()); in TEST_F()
76 EXPECT_EQ(PREFERENCES, e.sync_data().GetDataType()); in TEST_F()
134 EXPECT_EQ(PREFERENCES, e.sync_data().GetDataType()); in TEST_F()
144 EXPECT_EQ(PREFERENCES, e.sync_data().GetDataType()); in TEST_F()
152 EXPECT_EQ(PREFERENCES, e.sync_data().GetDataType()); in TEST_F()
Dsync_error_unittest.cc28 ModelType type = PREFERENCES; in TEST_F()
39 ModelType type = PREFERENCES; in TEST_F()
52 ModelType type2 = PREFERENCES; in TEST_F()
63 ModelType type = PREFERENCES; in TEST_F()
91 ModelType type = PREFERENCES; in TEST_F()
118 ModelType type = PREFERENCES; in TEST_F()
/external/chromium_org/chrome/browser/sync/test/integration/
Dmigration_test.cc335 RunSingleClientMigrationTest(MakeList(syncer::PREFERENCES), MODIFY_PREF); in IN_PROC_BROWSER_TEST_F()
339 RunSingleClientMigrationTest(MakeList(syncer::PREFERENCES), in IN_PROC_BROWSER_TEST_F()
345 RunSingleClientMigrationTest(MakeList(syncer::PREFERENCES), in IN_PROC_BROWSER_TEST_F()
352 RunSingleClientMigrationTest(MakeList(syncer::PREFERENCES), in IN_PROC_BROWSER_TEST_F()
361 MakeList(syncer::BOOKMARKS, syncer::PREFERENCES), in IN_PROC_BROWSER_TEST_F()
367 MakeList(MakeSet(syncer::BOOKMARKS, syncer::PREFERENCES)), in IN_PROC_BROWSER_TEST_F()
377 MakeList(syncer::PREFERENCES, syncer::NIGORI), in IN_PROC_BROWSER_TEST_F()
383 MakeList(MakeSet(syncer::PREFERENCES, syncer::NIGORI)), in IN_PROC_BROWSER_TEST_F()
470 RunTwoClientMigrationTest(MakeList(syncer::PREFERENCES), in IN_PROC_BROWSER_TEST_F()
479 MakeList(syncer::PREFERENCES, syncer::BOOKMARKS), in IN_PROC_BROWSER_TEST_F()
Dtwo_client_preferences_sync_test.cc110 GetClient(1)->DisableSyncForDatatype(syncer::PREFERENCES); in IN_PROC_BROWSER_TEST_F()
116 GetClient(1)->EnableSyncForDatatype(syncer::PREFERENCES); in IN_PROC_BROWSER_TEST_F()
161 GetClient(0)->DisableSyncForDatatype(syncer::PREFERENCES); in IN_PROC_BROWSER_TEST_F()
162 GetClient(1)->EnableSyncForDatatype(syncer::PREFERENCES); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/sync/
Dbackend_migrator_unittest.cc40 preferred_types_.Put(syncer::PREFERENCES); in SetUp()
129 to_migrate.Put(syncer::PREFERENCES); in TEST_F()
187 to_migrate.Put(syncer::PREFERENCES); in TEST_F()
210 to_migrate1.Put(syncer::PREFERENCES); in TEST_F()
212 to_migrate_union.Put(syncer::PREFERENCES); in TEST_F()
249 to_migrate.Put(syncer::PREFERENCES); in TEST_F()
274 to_migrate.Put(syncer::PREFERENCES); in TEST_F()
294 prefs.Put(syncer::PREFERENCES); in TEST_F()
306 to_migrate.Put(syncer::PREFERENCES); in TEST_F()
318 RemovePreferredType(syncer::PREFERENCES); in TEST_F()
[all …]
Dprofile_sync_components_factory_impl.cc353 if (!disabled_types.Has(syncer::PREFERENCES)) { in RegisterDesktopDataTypes()
358 MakeDisableCallbackFor(syncer::PREFERENCES), in RegisterDesktopDataTypes()
359 syncer::PREFERENCES, in RegisterDesktopDataTypes()
489 case syncer::PREFERENCES: in GetSyncableServiceForType()
491 profile_)->GetSyncableService(syncer::PREFERENCES)->AsWeakPtr(); in GetSyncableServiceForType()
/external/chromium_org/sync/syncable/
Dsyncable_util_unittest.cc18 GenerateSyncableHash(PREFERENCES, "tag1")); in TEST()
25 GenerateSyncableHash(PREFERENCES, "tag2")); in TEST()
Dmodel_type.cc41 case PREFERENCES: in AddDefaultFieldValue()
145 case PREFERENCES: in GetSpecificsFieldNumberFromModelType()
247 return PREFERENCES; in GetModelTypeFromSpecifics()
352 set.Put(PREFERENCES); in UserSelectableTypes()
444 result.Put(PREFERENCES); in BackupTypes()
467 case PREFERENCES: in ModelTypeToString()
544 case PREFERENCES: in ModelTypeToHistogramInt()
640 return PREFERENCES; in ModelTypeFromString()
763 case PREFERENCES: in ModelTypeToRootTag()
871 case PREFERENCES: in RealModelTypeToNotificationType()
[all …]
Dsyncable_unittest.cc212 AddDefaultFieldValue(PREFERENCES, &preference_specs); in TEST_F()
215 ModelTypeSet types_to_purge(PREFERENCES, AUTOFILL); in TEST_F()
218 dir()->SetDownloadProgress(PREFERENCES, BuildProgress(PREFERENCES)); in TEST_F()
227 dir()->SetDataTypeContext(&trans, PREFERENCES, BuildContext(PREFERENCES)); in TEST_F()
232 CreateTypeRoot(&trans, dir().get(), PREFERENCES); in TEST_F()
249 MutableEntry item3(&trans, CREATE, PREFERENCES, in TEST_F()
596 MutableEntry me(&wtrans, CREATE, PREFERENCES, in CreateWithDefaultTag()
Dnigori_util_unittest.cc25 AddDefaultFieldValue(PREFERENCES, &specifics); in TEST()
/external/chromium_org/sync/sessions/
Dnudge_tracker_unittest.cc123 BuildInvalidationMap(PREFERENCES, 1, "hint"); in TEST_F()
360 EXPECT_EQ(0, ProtoLocallyModifiedCount(PREFERENCES)); in TEST_F()
363 nudge_tracker_.RecordLocalChange(ModelTypeSet(PREFERENCES)); in TEST_F()
364 EXPECT_EQ(1, ProtoLocallyModifiedCount(PREFERENCES)); in TEST_F()
368 EXPECT_EQ(0, ProtoLocallyModifiedCount(PREFERENCES)); in TEST_F()
404 BuildInvalidationMap(PREFERENCES, 1, "hint"); in TEST_F()
429 BuildInvalidationMap(PREFERENCES, 1, "hint"); in TEST_F()
517 nudge_tracker_.SetTypesThrottledUntil(ModelTypeSet(SESSIONS, PREFERENCES), in TEST_F()
523 EXPECT_TRUE(nudge_tracker_.IsTypeThrottled(PREFERENCES)); in TEST_F()
542 nudge_tracker_.SetTypesThrottledUntil(ModelTypeSet(SESSIONS, PREFERENCES), in TEST_F()
[all …]
/external/chromium_org/chrome/browser/android/
Dactivity_type_id_list.h16 DEFINE_ACTIVITY_ID(PREFERENCES, 3)
/external/chromium_org/chrome/browser/sync/glue/
Dsync_backend_registrar_unittest.cc29 using syncer::PREFERENCES;
160 const ModelTypeSet types2(PREFERENCES, THEMES); in TEST_F()
164 expected_routing_info[PREFERENCES] = syncer::GROUP_PASSIVE; in TEST_F()
/external/chromium_org/chrome/browser/prefs/
Dpref_service_syncable.cc47 pref_sync_associator_(syncer::PREFERENCES), in PrefServiceSyncable()
133 if (type == syncer::PREFERENCES) { in GetSyncableService()
Dsynced_pref_change_registrar_browsertest.cc107 syncer_ = prefs_->GetSyncableService(syncer::PREFERENCES); in SetUpOnMainThread()
109 syncer::PREFERENCES, in SetUpOnMainThread()
Dpref_model_associator.cc24 using syncer::PREFERENCES;
30 DCHECK(pref.GetDataType() == syncer::PREFERENCES || in GetSpecifics()
87 DCHECK(type_ == PREFERENCES || type_ == PRIORITY_PREFERENCES); in PrefModelAssociator()
466 PREFERENCES); in ProcessSyncChanges()
/external/chromium_org/sync/util/
Ddata_type_histogram.h42 case ::syncer::PREFERENCES: \

123