Home
last modified time | relevance | path

Searched refs:model_types (Results 1 – 10 of 10) sorted by relevance

/external/chromium/chrome/browser/sync/syncable/
Dmodel_type_unittest.cc43 ModelTypeBitSet model_types; in TEST_F() local
44 model_types.set(syncable::BOOKMARKS); in TEST_F()
45 model_types.set(syncable::APPS); in TEST_F()
47 scoped_ptr<ListValue> value(ModelTypeBitSetToValue(model_types)); in TEST_F()
57 ModelTypeSet model_types; in TEST_F() local
58 model_types.insert(syncable::BOOKMARKS); in TEST_F()
59 model_types.insert(syncable::APPS); in TEST_F()
61 scoped_ptr<ListValue> value(ModelTypeSetToValue(model_types)); in TEST_F()
Dmodel_type.cc230 std::string ModelTypeSetToString(const ModelTypeSet& model_types) { in ModelTypeSetToString() argument
232 for (ModelTypeSet::const_iterator iter = model_types.begin(); in ModelTypeSetToString()
233 iter != model_types.end();) { in ModelTypeSetToString()
235 if (++iter != model_types.end()) in ModelTypeSetToString()
272 ModelTypeBitSet* model_types) { in ModelTypeBitSetFromString() argument
273 DCHECK(model_types); in ModelTypeBitSetFromString()
278 *model_types = ModelTypeBitSet(model_type_bitset_string); in ModelTypeBitSetFromString()
291 ListValue* ModelTypeBitSetToValue(const ModelTypeBitSet& model_types) { in ModelTypeBitSetToValue() argument
294 if (model_types[i]) { in ModelTypeBitSetToValue()
302 ListValue* ModelTypeSetToValue(const ModelTypeSet& model_types) { in ModelTypeSetToValue() argument
[all …]
Dmodel_type.h115 std::string ModelTypeSetToString(const ModelTypeSet& model_types);
124 ModelTypeBitSet* model_types);
130 ListValue* ModelTypeBitSetToValue(const ModelTypeBitSet& model_types);
133 ListValue* ModelTypeSetToValue(const ModelTypeSet& model_types);
Dmodel_type_payload_map.h30 const ModelTypeBitSet& model_types,
/external/chromium/chrome/browser/sync/engine/
Dsyncer_thread2_unittest.cc206 syncable::ModelTypeBitSet model_types; in TEST_F() local
207 model_types[syncable::BOOKMARKS] = true; in TEST_F()
213 syncer_thread()->ScheduleNudge(zero(), NUDGE_SOURCE_LOCAL, model_types, in TEST_F()
218 EXPECT_TRUE(CompareModelTypeBitSetToModelTypePayloadMap(model_types, in TEST_F()
225 model_types[syncable::BOOKMARKS] = false; in TEST_F()
226 model_types[syncable::AUTOFILL] = true; in TEST_F()
230 syncer_thread()->ScheduleNudge(zero(), NUDGE_SOURCE_LOCAL, model_types, in TEST_F()
235 EXPECT_TRUE(CompareModelTypeBitSetToModelTypePayloadMap(model_types, in TEST_F()
246 syncable::ModelTypeBitSet model_types; in TEST_F() local
247 model_types[syncable::BOOKMARKS] = true; in TEST_F()
[all …]
Dsyncapi_unittest.cc1022 syncable::ModelTypeBitSet model_types; in TEST_F() local
1023 model_types.set(syncable::BOOKMARKS); in TEST_F()
1024 model_types.set(syncable::THEMES); in TEST_F()
1034 if (model_types[i]) { in TEST_F()
1050 sync_manager_.TriggerOnIncomingNotificationForTest(model_types); in TEST_F()
1053 sync_manager_.TriggerOnIncomingNotificationForTest(model_types); in TEST_F()
1057 sync_manager_.TriggerOnIncomingNotificationForTest(model_types); in TEST_F()
Dsyncapi.cc2341 syncable::ModelTypeBitSet model_types; in HandleCalculateChangesChangeEventFromSyncApi() local
2360 model_types[model_type] = true; in HandleCalculateChangesChangeEventFromSyncApi()
2372 model_types, in HandleCalculateChangesChangeEventFromSyncApi()
2834 const syncable::ModelTypeBitSet& model_types) { in TriggerOnIncomingNotificationForTest() argument
2836 syncable::ModelTypePayloadMapFromBitSet(model_types, in TriggerOnIncomingNotificationForTest()
Dsyncapi.h1008 const syncable::ModelTypeBitSet& model_types);
/external/chromium/chrome/browser/resources/sync_internals/
Dsync_log.js96 chrome.sync.onMigrationNeededForTypes.addListener(function (model_types) { argument
98 model_types: model_types property
Dchrome_sync.js195 function onMigrationNeededForTypes(model_types) { argument
196 chrome.sync.onMigrationNeededForTypes.dispatch_(model_types);