/external/chromium/chrome/browser/sync/syncable/ |
H A D | model_type_unittest.cc | 43 ModelTypeBitSet model_types; local 44 model_types.set(syncable::BOOKMARKS); 45 model_types.set(syncable::APPS); 47 scoped_ptr<ListValue> value(ModelTypeBitSetToValue(model_types)); 57 ModelTypeSet model_types; local 58 model_types.insert(syncable::BOOKMARKS); 59 model_types.insert(syncable::APPS); 61 scoped_ptr<ListValue> value(ModelTypeSetToValue(model_types));
|
H A D | model_type.cc | 230 std::string ModelTypeSetToString(const ModelTypeSet& model_types) { argument 232 for (ModelTypeSet::const_iterator iter = model_types.begin(); 233 iter != model_types.end();) { 235 if (++iter != model_types.end()) 272 ModelTypeBitSet* model_types) { 273 DCHECK(model_types); 278 *model_types = ModelTypeBitSet(model_type_bitset_string); 291 ListValue* ModelTypeBitSetToValue(const ModelTypeBitSet& model_types) { argument 294 if (model_types[i]) { 302 ListValue* ModelTypeSetToValue(const ModelTypeSet& model_types) { argument 270 ModelTypeBitSetFromString( const std::string& model_type_bitset_string, ModelTypeBitSet* model_types) argument [all...] |
/external/chromium_org/sync/syncable/ |
H A D | model_type_unittest.cc | 40 const ModelTypeSet model_types(BOOKMARKS, APPS); 42 scoped_ptr<base::ListValue> value(ModelTypeSetToValue(model_types)); 53 ModelTypeSet model_types; local 54 scoped_ptr<base::ListValue> value(ModelTypeSetToValue(model_types)); 55 EXPECT_TRUE(model_types.Equals(ModelTypeSetFromValue(*value))); 58 model_types.Put(BOOKMARKS); 59 model_types.Put(APPS); 60 value.reset(ModelTypeSetToValue(model_types)); 61 EXPECT_TRUE(model_types.Equals(ModelTypeSetFromValue(*value)));
|
H A D | model_type.cc | 677 std::string ModelTypeSetToString(ModelTypeSet model_types) { argument 679 for (ModelTypeSet::Iterator it = model_types.First(); it.Good(); it.Inc()) { 688 base::ListValue* ModelTypeSetToValue(ModelTypeSet model_types) { argument 690 for (ModelTypeSet::Iterator it = model_types.First(); it.Good(); it.Inc()) {
|
/external/chromium_org/sync/internal_api/public/base/ |
H A D | model_type_test_util.cc | 22 void PrintTo(ModelTypeSet model_types, ::std::ostream* os) { argument 23 *os << ModelTypeSetToString(model_types); 38 ModelTypeSet model_types, 41 return model_types.Equals(expected_types_); 37 MatchAndExplain( ModelTypeSet model_types, ::testing::MatchResultListener* listener) const argument
|
/external/chromium_org/sync/notifier/ |
H A D | invalidation_util.cc | 95 ObjectIdSet ModelTypeSetToObjectIdSet(ModelTypeSet model_types) { argument 97 for (ModelTypeSet::Iterator it = model_types.First(); it.Good(); it.Inc()) { 109 ModelTypeSet model_types; local 116 model_types.Put(model_type); 118 return model_types;
|
/external/chromium_org/chrome/browser/sync/test/integration/ |
H A D | migration_errors_test.cc | 46 MigrationList MakeList(syncer::ModelTypeSet model_types) { argument 47 return MigrationList(1, model_types); 106 void TriggerMigration(syncer::ModelTypeSet model_types, argument 122 TriggerNotification(model_types);
|
H A D | profile_sync_service_harness.cc | 400 syncer::ModelTypeSet model_types = local 402 syncer::ObjectIdSet ids = ModelTypeSetToObjectIdSet(model_types);
|
H A D | sync_test.cc | 720 void SyncTest::TriggerMigrationDoneError(syncer::ModelTypeSet model_types) { argument 724 for (syncer::ModelTypeSet::Iterator it = model_types.First();
|
/external/chromium/chrome/browser/sync/engine/ |
H A D | syncer_thread2_unittest.cc | 206 syncable::ModelTypeBitSet model_types; local 207 model_types[syncable::BOOKMARKS] = true; 213 syncer_thread()->ScheduleNudge(zero(), NUDGE_SOURCE_LOCAL, model_types, local 218 EXPECT_TRUE(CompareModelTypeBitSetToModelTypePayloadMap(model_types, 225 model_types[syncable::BOOKMARKS] = false; 226 model_types[syncable::AUTOFILL] = true; 230 syncer_thread()->ScheduleNudge(zero(), NUDGE_SOURCE_LOCAL, model_types, local 235 EXPECT_TRUE(CompareModelTypeBitSetToModelTypePayloadMap(model_types, 246 syncable::ModelTypeBitSet model_types; local 247 model_types[syncabl 273 syncable::ModelTypeBitSet model_types; local 336 syncable::ModelTypeBitSet model_types; local 361 syncer_thread()->ScheduleNudge(zero(), NUDGE_SOURCE_LOCAL, model_types, local [all...] |
H A D | syncapi_unittest.cc | 1022 syncable::ModelTypeBitSet model_types; local 1023 model_types.set(syncable::BOOKMARKS); 1024 model_types.set(syncable::THEMES); 1027 // equivalents of model_types. 1034 if (model_types[i]) { 1050 sync_manager_.TriggerOnIncomingNotificationForTest(model_types); 1053 sync_manager_.TriggerOnIncomingNotificationForTest(model_types); 1057 sync_manager_.TriggerOnIncomingNotificationForTest(model_types);
|
H A D | syncapi.cc | 2341 syncable::ModelTypeBitSet model_types; local 2360 model_types[model_type] = true; 2372 model_types, 2834 const syncable::ModelTypeBitSet& model_types) { 2836 syncable::ModelTypePayloadMapFromBitSet(model_types, 2833 TriggerOnIncomingNotificationForTest( const syncable::ModelTypeBitSet& model_types) argument
|
/external/chromium_org/sync/engine/ |
H A D | sync_scheduler_unittest.cc | 277 ModelTypeSet model_types(BOOKMARKS); 286 scheduler()->ScheduleLocalNudge(zero(), model_types, FROM_HERE); local 293 model_types.Remove(BOOKMARKS); 294 model_types.Put(AUTOFILL); 298 scheduler()->ScheduleLocalNudge(zero(), model_types, FROM_HERE); local 306 const ModelTypeSet model_types(BOOKMARKS); 318 model_types, 319 TypesToRoutingInfo(model_types), 334 const ModelTypeSet model_types(BOOKMARKS); 348 model_types, 438 scheduler()->ScheduleLocalNudge(zero(), model_types, FROM_HERE); local 631 scheduler()->ScheduleLocalNudge(zero(), model_types, FROM_HERE); local [all...] |
/external/chromium_org/sync/tools/ |
H A D | sync_client.cc | 290 ModelTypeSet model_types; local 291 model_types.Put(BOOKMARKS); 292 model_types.Put(PREFERENCES); 293 model_types.Put(PASSWORDS); 294 model_types.Put(AUTOFILL); 295 model_types.Put(THEMES); 296 model_types.Put(TYPED_URLS); 297 model_types.Put(EXTENSIONS); 298 model_types.Put(NIGORI); 299 model_types [all...] |
/external/chromium_org/sync/internal_api/ |
H A D | sync_manager_impl_unittest.cc | 993 void TriggerOnIncomingNotificationForTest(ModelTypeSet model_types) { argument 995 ObjectIdSet id_set = ModelTypeSetToObjectIdSet(model_types); 1385 const ModelTypeSet model_types( 1389 // equivalents of model_types. 1395 for (ModelTypeSet::Iterator it = model_types.First(); 1407 TriggerOnIncomingNotificationForTest(model_types); 1410 TriggerOnIncomingNotificationForTest(model_types); 1414 TriggerOnIncomingNotificationForTest(model_types);
|