/external/chromium_org/sync/api/ |
sync_merge_result_unittest.cc | 17 SyncMergeResult merge_result(BOOKMARKS); 27 SyncError error(FROM_HERE, SyncError::DATATYPE_ERROR, "message", BOOKMARKS); 28 SyncMergeResult merge_result(BOOKMARKS); 32 EXPECT_EQ(BOOKMARKS, merge_result.model_type()); 36 SyncMergeResult merge_result(BOOKMARKS); 44 SyncMergeResult merge_result(BOOKMARKS); 52 SyncMergeResult merge_result(BOOKMARKS); 60 SyncMergeResult merge_result(BOOKMARKS); 68 SyncMergeResult merge_result(BOOKMARKS);
|
/external/chromium_org/sync/syncable/ |
syncable_util_unittest.cc | 16 GenerateSyncableHash(BOOKMARKS, "tag1")); 23 GenerateSyncableHash(BOOKMARKS, "tag2"));
|
nigori_util_unittest.cc | 18 encrypted_types.Put(BOOKMARKS); 29 AddDefaultFieldValue(BOOKMARKS, &bookmark_specifics);
|
model_type_unittest.cc | 41 const ModelTypeSet model_types(BOOKMARKS, APPS); 48 EXPECT_EQ("Bookmarks", types[0]); 59 model_types.Put(BOOKMARKS); 70 EXPECT_TRUE(IsRealDataType(BOOKMARKS)); 75 EXPECT_FALSE(IsProxyType(BOOKMARKS)); 116 syncer::ModelTypeSet one(BOOKMARKS); 117 syncer::ModelTypeSet two(BOOKMARKS, TYPED_URLS);
|
directory_unittest.cc | 185 EXPECT_FALSE(types_to_purge.Has(BOOKMARKS)); 186 EXPECT_TRUE(dir_->InitialSyncEndedForType(BOOKMARKS)); 237 MutableEntry e(&trans, CREATE, BOOKMARKS, trans.root_id(), "foo"); 241 AddDefaultFieldValue(BOOKMARKS, &specs); 253 ModelTypeSet to_purge(BOOKMARKS); 278 MutableEntry e(&trans, CREATE, BOOKMARKS, trans.root_id(), "foo"); 311 MutableEntry e2(&trans, CREATE, BOOKMARKS, trans.root_id(), "bar"); 345 MutableEntry e(&trans, CREATE, BOOKMARKS, trans.root_id(), "foo"); 365 MutableEntry e2(&trans, CREATE, BOOKMARKS, trans.root_id(), "bar"); 433 AddDefaultFieldValue(BOOKMARKS, &bookmark_specifics) [all...] |
model_type.cc | 35 case BOOKMARKS: 141 case BOOKMARKS: 219 return BOOKMARKS; 241 return BOOKMARKS; 351 set.Put(BOOKMARKS); 443 result.Put(BOOKMARKS); 465 case BOOKMARKS: 466 return "Bookmarks"; 542 case BOOKMARKS: 637 if (model_type_string == "Bookmarks") [all...] |
/external/chromium_org/components/sync_driver/ |
user_selectable_sync_type.h | 25 BOOKMARKS = 0,
|
data_type_manager_impl_unittest.cc | 25 using syncer::BOOKMARKS; 288 AddController(BOOKMARKS); 293 Configure(dtm_.get(), ModelTypeSet(BOOKMARKS)); 297 FinishDownload(*dtm_, ModelTypeSet(BOOKMARKS), ModelTypeSet()); 300 GetController(BOOKMARKS)->FinishStart(DataTypeController::OK); 313 AddController(BOOKMARKS); 319 Configure(dtm_.get(), ModelTypeSet(BOOKMARKS)); 326 configurer_.last_ready_task().Run(ModelTypeSet(BOOKMARKS), ModelTypeSet()); 335 AddController(BOOKMARKS); 341 Configure(dtm_.get(), ModelTypeSet(BOOKMARKS)); [all...] |
model_association_manager_unittest.cc | 73 controllers_[syncer::BOOKMARKS] = 74 new FakeDataTypeController(syncer::BOOKMARKS); 79 syncer::ModelTypeSet types(syncer::BOOKMARKS, syncer::APPS); 89 EXPECT_EQ(GetController(controllers_, syncer::BOOKMARKS)->state(), 97 EXPECT_EQ(GetController(controllers_, syncer::BOOKMARKS)->state(), 104 EXPECT_EQ(GetController(controllers_, syncer::BOOKMARKS)->state(), 108 GetController(controllers_, syncer::BOOKMARKS)->FinishStart( 116 controllers_[syncer::BOOKMARKS] = 117 new FakeDataTypeController(syncer::BOOKMARKS); 123 types.Put(syncer::BOOKMARKS); [all...] |
/external/chromium_org/sync/internal_api/public/engine/ |
model_safe_worker_unittest.cc | 19 routing_info[BOOKMARKS] = GROUP_PASSIVE; 23 expected_value.SetString("Bookmarks", "GROUP_PASSIVE"); 33 routing_info[BOOKMARKS] = GROUP_PASSIVE; 37 "{\"Bookmarks\":\"GROUP_PASSIVE\",\"Encryption keys\":\"GROUP_UI\"," 44 routing_info[BOOKMARKS] = GROUP_PASSIVE; 47 const ModelTypeSet expected_types(BOOKMARKS, NIGORI, PREFERENCES);
|
/external/chromium_org/sync/sessions/ |
nudge_tracker_unittest.cc | 54 nudge_tracker_.FillProtoMessage(BOOKMARKS, &gu_trigger); 89 nudge_tracker_.FillProtoMessage(BOOKMARKS, &gu_trigger); 107 nudge_tracker_.RecordLocalChange(ModelTypeSet(BOOKMARKS)); 117 nudge_tracker_.RecordLocalChange(ModelTypeSet(BOOKMARKS)); 129 nudge_tracker_.RecordLocalChange(ModelTypeSet(BOOKMARKS)); 142 BuildInvalidationMap(BOOKMARKS, 1, "bm_hint_1"); 146 nudge_tracker_.FillProtoMessage(BOOKMARKS, &gu_trigger); 155 BuildInvalidationMap(BOOKMARKS, 2, "bm_hint_2"); 159 nudge_tracker_.FillProtoMessage(BOOKMARKS, &gu_trigger); 174 // Re-verify the bookmarks to make sure they're unaffected [all...] |
model_type_registry_unittest.cc | 82 routing_info.insert(std::make_pair(BOOKMARKS, GROUP_UI)); 95 routing_info1.insert(std::make_pair(BOOKMARKS, GROUP_PASSIVE)); 102 routing_info2.insert(std::make_pair(BOOKMARKS, GROUP_UI)); 115 routing_info1.insert(std::make_pair(BOOKMARKS, GROUP_UI)); 131 routing_info1.insert(std::make_pair(BOOKMARKS, GROUP_UI)); 180 routing_info1.insert(std::make_pair(BOOKMARKS, GROUP_UI));
|
/external/chromium_org/chrome/browser/sync/glue/ |
sync_backend_registrar_unittest.cc | 28 using syncer::BOOKMARKS; 124 const ModelTypeSet initial_types(BOOKMARKS, NIGORI, PASSWORDS); 134 expected_routing_info[BOOKMARKS] = syncer::GROUP_PASSIVE; 146 const ModelTypeSet types1(BOOKMARKS, NIGORI, AUTOFILL); 151 expected_routing_info[BOOKMARKS] = syncer::GROUP_PASSIVE; 183 TriggerChanges(registrar_.get(), BOOKMARKS); 196 const ModelTypeSet types(BOOKMARKS); 199 registrar_->ActivateDataType(BOOKMARKS, syncer::GROUP_UI, 204 expected_routing_info[BOOKMARKS] = syncer::GROUP_UI; 209 TriggerChanges(registrar_.get(), BOOKMARKS); [all...] |
/external/chromium_org/sync/test/fake_server/ |
bookmark_entity_builder.cc | 39 : EntityBuilder(syncer::BOOKMARKS, title), 77 FakeServerEntity::CreateId(syncer::BOOKMARKS,
|
bookmark_entity.cc | 23 return syncer::GetModelType(client_entity) == syncer::BOOKMARKS; 38 string id = FakeServerEntity::CreateId(syncer::BOOKMARKS, 97 : FakeServerEntity(id, syncer::BOOKMARKS, version, name),
|
/external/chromium_org/sync/internal_api/ |
sync_manager_impl_unittest.cc | 313 ignore_result(MakeNode(user_share(), BOOKMARKS, "testtag")); 319 node.InitByClientTagLookup(BOOKMARKS, "testtag")); 336 ignore_result(MakeNode(user_share(), BOOKMARKS, "collideme")); 345 bookmarknode.InitByClientTagLookup(BOOKMARKS, 369 node.InitByClientTagLookup(BOOKMARKS, 376 node.InitByClientTagLookup(BOOKMARKS, 400 wnode.InitUniqueByCreation(BOOKMARKS, root_node, "testtag"); 413 wnode.InitByClientTagLookup(BOOKMARKS, 427 node.InitByClientTagLookup(BOOKMARKS, 442 wnode.InitUniqueByCreation(BOOKMARKS, folder_node, "testtag") [all...] |
base_node.cc | 65 // not we have no work to do, with the exception of bookmarks. For bookmarks 66 // we must make sure the bookmarks data has the title field supplied. If not, 68 // follows the new bookmarks format. 70 if (GetModelType() == BOOKMARKS && 116 // Due to the change in bookmarks format, we need to check to see if this is 117 // a legacy bookmarks (and has no title field in the proto). If it is, we 120 if (GetModelType() == BOOKMARKS) { 131 DCHECK_EQ(GetModelTypeFromSpecifics(unencrypted_data_), BOOKMARKS); 160 // TODO(zea): refactor bookmarks to not need this functionality [all...] |
sync_rollback_manager_base_unittest.cc | 72 ModelTypeSet(PREFERENCES, BOOKMARKS), 84 bookmark_root.InitTypeRoot(BOOKMARKS));
|
delete_journal.cc | 18 trans->GetWrappedTrans(), BOOKMARKS, &deleted_entries);
|
/external/chromium_org/sync/engine/ |
directory_update_handler_unittest.cc | 132 DirectoryTypeDebugInfoEmitter emitter(BOOKMARKS, &type_observers_); 133 DirectoryUpdateHandler handler(dir(), BOOKMARKS, ui_worker(), &emitter); 141 CreateUpdate(SyncableIdToProto(server_id), root, BOOKMARKS); 171 DirectoryTypeDebugInfoEmitter emitter(BOOKMARKS, &type_observers_); 172 DirectoryUpdateHandler handler(dir(), BOOKMARKS, ui_worker(), &emitter); 180 CreateUpdate(SyncableIdToProto(server_id), root, BOOKMARKS); 238 DirectoryTypeDebugInfoEmitter emitter(BOOKMARKS, &type_observers_); 239 DirectoryUpdateHandler handler(dir(), BOOKMARKS, ui_worker(), &emitter); 242 progress.set_data_type_id(GetSpecificsFieldNumberFromModelType(BOOKMARKS)); 248 dir()->GetDownloadProgress(BOOKMARKS, &saved) [all...] |
syncer_unittest.cc | 263 nudge_tracker_.RecordLocalChange(ModelTypeSet(BOOKMARKS)); 285 EnableDatatype(BOOKMARKS); 380 AddDefaultFieldValue(BOOKMARKS, &result); 427 MutableEntry entry(&trans, CREATE, BOOKMARKS, test->parent_id, name); 513 &wtrans, CREATE, BOOKMARKS, wtrans.root_id(), entry_name); 618 const ModelTypeSet throttled_types(BOOKMARKS); 620 AddDefaultFieldValue(BOOKMARKS, &bookmark_data); 635 // Now sync without enabling bookmarks. 637 Difference(context_->GetEnabledTypes(), ModelTypeSet(BOOKMARKS))); 640 Difference(context_->GetEnabledTypes(), ModelTypeSet(BOOKMARKS)), [all...] |
sync_scheduler_unittest.cc | 119 routing_info_[BOOKMARKS] = GROUP_UI; 198 ModelTypeSet nudge_types(BOOKMARKS); 282 ModelTypeSet model_types(BOOKMARKS); 298 model_types.Remove(BOOKMARKS); 311 const ModelTypeSet model_types(BOOKMARKS); 339 const ModelTypeSet model_types(BOOKMARKS); 385 const ModelTypeSet model_types(BOOKMARKS); 413 const ModelTypeSet model_types(BOOKMARKS); 473 const ModelTypeSet types1(BOOKMARKS), types2(AUTOFILL), types3(THEMES); 501 ModelTypeSet types1(BOOKMARKS), types2(AUTOFILL), types3 [all...] |
get_updates_processor_unittest.cc | 34 AddUpdateHandler(BOOKMARKS); 96 nudge_tracker.RecordLocalChange(ModelTypeSet(BOOKMARKS)); 119 if (type == BOOKMARKS) { 138 BuildInvalidationMap(BOOKMARKS, 1, "bookmark_payload")); 143 notified_types.Put(BOOKMARKS); 263 nudge_tracker.RecordLocalChange(ModelTypeSet(BOOKMARKS)); 343 bookmarks_handler_ = AddUpdateHandler(BOOKMARKS);
|
/external/chromium_org/sync/internal_api/public/sessions/ |
sync_session_snapshot_unittest.cc | 35 download_progress_markers[BOOKMARKS] = "test";
|
/external/chromium_org/sync/util/ |
data_type_histogram.h | 39 case ::syncer::BOOKMARKS: \ 40 PER_DATA_TYPE_MACRO("Bookmarks"); \
|