syncer 43 apps/shell/browser/shell_app_sorting.cc const syncer::StringOrdinal& suggested_page) { syncer 52 apps/shell/browser/shell_app_sorting.cc syncer::StringOrdinal ShellAppSorting::GetAppLaunchOrdinal( syncer 54 apps/shell/browser/shell_app_sorting.cc return syncer::StringOrdinal(kFirstApp); syncer 59 apps/shell/browser/shell_app_sorting.cc const syncer::StringOrdinal& new_app_launch_ordinal) { syncer 62 apps/shell/browser/shell_app_sorting.cc syncer::StringOrdinal ShellAppSorting::CreateFirstAppLaunchOrdinal( syncer 63 apps/shell/browser/shell_app_sorting.cc const syncer::StringOrdinal& page_ordinal) const { syncer 64 apps/shell/browser/shell_app_sorting.cc return syncer::StringOrdinal(kFirstApp); syncer 67 apps/shell/browser/shell_app_sorting.cc syncer::StringOrdinal ShellAppSorting::CreateNextAppLaunchOrdinal( syncer 68 apps/shell/browser/shell_app_sorting.cc const syncer::StringOrdinal& page_ordinal) const { syncer 69 apps/shell/browser/shell_app_sorting.cc return syncer::StringOrdinal(kNextApp); syncer 72 apps/shell/browser/shell_app_sorting.cc syncer::StringOrdinal ShellAppSorting::CreateFirstAppPageOrdinal() const { syncer 73 apps/shell/browser/shell_app_sorting.cc return syncer::StringOrdinal(kFirstPage); syncer 76 apps/shell/browser/shell_app_sorting.cc syncer::StringOrdinal ShellAppSorting::GetNaturalAppPageOrdinal() const { syncer 77 apps/shell/browser/shell_app_sorting.cc return syncer::StringOrdinal(kFirstPage); syncer 80 apps/shell/browser/shell_app_sorting.cc syncer::StringOrdinal ShellAppSorting::GetPageOrdinal( syncer 82 apps/shell/browser/shell_app_sorting.cc return syncer::StringOrdinal(kFirstPage); syncer 87 apps/shell/browser/shell_app_sorting.cc const syncer::StringOrdinal& new_page_ordinal) { syncer 94 apps/shell/browser/shell_app_sorting.cc const syncer::StringOrdinal& page_ordinal) const { syncer 98 apps/shell/browser/shell_app_sorting.cc syncer::StringOrdinal ShellAppSorting::PageIntegerAsStringOrdinal( syncer 100 apps/shell/browser/shell_app_sorting.cc return syncer::StringOrdinal(kFirstPage); syncer 30 apps/shell/browser/shell_app_sorting.h const syncer::StringOrdinal& suggested_page) OVERRIDE; syncer 35 apps/shell/browser/shell_app_sorting.h virtual syncer::StringOrdinal GetAppLaunchOrdinal( syncer 39 apps/shell/browser/shell_app_sorting.h const syncer::StringOrdinal& new_app_launch_ordinal) OVERRIDE; syncer 40 apps/shell/browser/shell_app_sorting.h virtual syncer::StringOrdinal CreateFirstAppLaunchOrdinal( syncer 41 apps/shell/browser/shell_app_sorting.h const syncer::StringOrdinal& page_ordinal) const OVERRIDE; syncer 42 apps/shell/browser/shell_app_sorting.h virtual syncer::StringOrdinal CreateNextAppLaunchOrdinal( syncer 43 apps/shell/browser/shell_app_sorting.h const syncer::StringOrdinal& page_ordinal) const OVERRIDE; syncer 44 apps/shell/browser/shell_app_sorting.h virtual syncer::StringOrdinal CreateFirstAppPageOrdinal() const OVERRIDE; syncer 45 apps/shell/browser/shell_app_sorting.h virtual syncer::StringOrdinal GetNaturalAppPageOrdinal() const OVERRIDE; syncer 46 apps/shell/browser/shell_app_sorting.h virtual syncer::StringOrdinal GetPageOrdinal( syncer 50 apps/shell/browser/shell_app_sorting.h const syncer::StringOrdinal& new_page_ordinal) OVERRIDE; syncer 53 apps/shell/browser/shell_app_sorting.h const syncer::StringOrdinal& page_ordinal) const OVERRIDE; syncer 54 apps/shell/browser/shell_app_sorting.h virtual syncer::StringOrdinal PageIntegerAsStringOrdinal( syncer 168 chrome/browser/android/foreign_session_helper.cc return service && service->GetActiveDataTypes().Has(syncer::PROXY_TABS); syncer 602 chrome/browser/autocomplete/base_search_provider.cc !sync_prefs.GetPreferredDataTypes(syncer::UserTypes()).Has( syncer 603 chrome/browser/autocomplete/base_search_provider.cc syncer::PROXY_TABS) || syncer 604 chrome/browser/autocomplete/base_search_provider.cc service->GetEncryptedDataTypes().Has(syncer::SESSIONS)) syncer 4035 chrome/browser/autocomplete/search_provider_unittest.cc syncer::ModelTypeSet encrypted_types = service->GetEncryptedDataTypes(); syncer 4036 chrome/browser/autocomplete/search_provider_unittest.cc encrypted_types.Put(syncer::SESSIONS); syncer 4042 chrome/browser/autocomplete/search_provider_unittest.cc encrypted_types.Remove(syncer::SESSIONS); syncer 41 chrome/browser/dom_distiller/lazy_dom_distiller_service.cc syncer::SyncableService* LazyDomDistillerService::GetSyncableService() const { syncer 36 chrome/browser/dom_distiller/lazy_dom_distiller_service.h virtual syncer::SyncableService* GetSyncableService() const OVERRIDE; syncer 58 chrome/browser/drive/drive_notification_manager.cc syncer::InvalidatorState state) { syncer 59 chrome/browser/drive/drive_notification_manager.cc push_notification_enabled_ = (state == syncer::INVALIDATIONS_ENABLED); syncer 70 chrome/browser/drive/drive_notification_manager.cc const syncer::ObjectIdInvalidationMap& invalidation_map) { syncer 72 chrome/browser/drive/drive_notification_manager.cc syncer::ObjectIdSet ids = invalidation_map.GetObjectIds(); syncer 135 chrome/browser/drive/drive_notification_manager.cc syncer::ObjectIdSet ids; syncer 28 chrome/browser/drive/drive_notification_manager.h public syncer::InvalidationHandler { syncer 39 chrome/browser/drive/drive_notification_manager.h syncer::InvalidatorState state) OVERRIDE; syncer 41 chrome/browser/drive/drive_notification_manager.h const syncer::ObjectIdInvalidationMap& invalidation_map) OVERRIDE; syncer 172 chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc syncer::StringOrdinal(), syncer 46 chrome/browser/extensions/api/preferences_private/preferences_private_api.cc syncer::ModelTypeSet result_set = syncer::UserSelectableTypes(); syncer 51 chrome/browser/extensions/api/preferences_private/preferences_private_api.cc result_set = syncer::Intersection(result_set, syncer 55 chrome/browser/extensions/api/preferences_private/preferences_private_api.cc result_set = syncer::Difference(result_set, syncer 59 chrome/browser/extensions/api/preferences_private/preferences_private_api.cc for (syncer::ModelTypeSet::Iterator it = result_set.First(); it.Good(); syncer 61 chrome/browser/extensions/api/preferences_private/preferences_private_api.cc categories.push_back(syncer::ModelTypeToString(it.Get())); syncer 78 chrome/browser/extensions/api/preferences_private/preferences_private_apitest.cc virtual syncer::ModelTypeSet GetEncryptedDataTypes() const OVERRIDE { syncer 81 chrome/browser/extensions/api/preferences_private/preferences_private_apitest.cc syncer::ModelTypeSet type_set; syncer 82 chrome/browser/extensions/api/preferences_private/preferences_private_apitest.cc type_set.Put(syncer::AUTOFILL); syncer 86 chrome/browser/extensions/api/preferences_private/preferences_private_apitest.cc virtual syncer::ModelTypeSet GetPreferredDataTypes() const OVERRIDE { syncer 89 chrome/browser/extensions/api/preferences_private/preferences_private_apitest.cc syncer::ModelTypeSet preferred_types = syncer 90 chrome/browser/extensions/api/preferences_private/preferences_private_apitest.cc syncer::UserSelectableTypes(); syncer 91 chrome/browser/extensions/api/preferences_private/preferences_private_apitest.cc preferred_types.Remove(syncer::TYPED_URLS); syncer 87 chrome/browser/extensions/api/push_messaging/push_messaging_apitest.cc syncer::Invalidation::Init(object_id, version, payload)); syncer 28 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler.cc syncer::ObjectIdSet ExtensionIdToObjectIds(const std::string& extension_id) { syncer 29 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler.cc syncer::ObjectIdSet object_ids; syncer 98 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler.cc const syncer::ObjectIdSet& suppressed_ids = syncer 120 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler.cc syncer::InvalidatorState state) { syncer 126 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler.cc const syncer::ObjectIdInvalidationMap& invalidation_map) { syncer 130 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler.cc syncer::ObjectIdSet ids = invalidation_map.GetObjectIds(); syncer 131 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler.cc for (syncer::ObjectIdSet::const_iterator it = ids.begin(); syncer 133 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler.cc const syncer::SingleObjectInvalidationSet& list = syncer 135 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler.cc const syncer::Invalidation& invalidation = list.back(); syncer 144 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler.cc syncer::ObjectIdSet::iterator suppressed_id = suppressed_ids_.find(*it); syncer 150 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler.cc << syncer::ObjectIdToString(*it) syncer 156 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler.cc const syncer::SingleObjectInvalidationSet& invalidation_list = syncer 168 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler.cc const syncer::Invalidation& max_invalidation = invalidation_list.back(); syncer 188 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler.cc syncer::ObjectIdSet ids; syncer 192 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler.cc const syncer::ObjectIdSet& object_ids = ExtensionIdToObjectIds(*it); syncer 31 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler.h public syncer::InvalidationHandler { syncer 49 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler.h syncer::InvalidatorState state) OVERRIDE; syncer 51 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler.h const syncer::ObjectIdInvalidationMap& invalidation_map) OVERRIDE; syncer 64 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler.h syncer::ObjectIdSet suppressed_ids_; syncer 68 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler.h syncer::ObjectIdLessThan> max_object_version_map_; syncer 31 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler_unittest.cc void(syncer::InvalidationHandler*)); syncer 33 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler_unittest.cc void(syncer::InvalidationHandler*, const syncer::ObjectIdSet&)); syncer 35 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler_unittest.cc void(syncer::InvalidationHandler*)); syncer 36 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler_unittest.cc MOCK_CONST_METHOD0(GetInvalidatorState, syncer::InvalidatorState()); syncer 71 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler_unittest.cc syncer::InvalidationHandler* handler = NULL; syncer 88 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler_unittest.cc syncer::ObjectIdSet expected_ids; syncer 106 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler_unittest.cc syncer::ObjectIdSet())); syncer 111 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler_unittest.cc syncer::ObjectIdInvalidationMap invalidation_map; syncer 114 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler_unittest.cc syncer::Invalidation::Init( syncer 122 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler_unittest.cc invalidation_map.Insert(syncer::Invalidation::InitUnknownVersion( syncer 136 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler_unittest.cc syncer::ObjectIdInvalidationMap invalidation_map; syncer 138 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler_unittest.cc invalidation_map.Insert(syncer::Invalidation::InitUnknownVersion( syncer 143 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler_unittest.cc invalidation_map.Insert(syncer::Invalidation::InitUnknownVersion( syncer 148 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler_unittest.cc invalidation_map.Insert(syncer::Invalidation::InitUnknownVersion( syncer 153 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler_unittest.cc invalidation_map.Insert(syncer::Invalidation::InitUnknownVersion( syncer 158 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler_unittest.cc invalidation_map.Insert(syncer::Invalidation::InitUnknownVersion( syncer 163 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler_unittest.cc invalidation_map.Insert(syncer::Invalidation::InitUnknownVersion( syncer 180 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler_unittest.cc syncer::ObjectIdInvalidationMap map1; syncer 181 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler_unittest.cc map1.Insert(syncer::Invalidation::Init(id0, 5, "5")); syncer 187 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler_unittest.cc syncer::ObjectIdInvalidationMap map2; syncer 188 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler_unittest.cc map2.Insert(syncer::Invalidation::InitUnknownVersion(id0)); syncer 194 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler_unittest.cc syncer::ObjectIdInvalidationMap map3; syncer 195 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler_unittest.cc map3.Insert(syncer::Invalidation::Init(id0, 4, "4")); syncer 199 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler_unittest.cc syncer::ObjectIdInvalidationMap map4; syncer 200 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler_unittest.cc map4.Insert(syncer::Invalidation::Init(id0, 6, "6")); syncer 206 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler_unittest.cc syncer::ObjectIdInvalidationMap map5; syncer 207 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler_unittest.cc map5.Insert(syncer::Invalidation::Init(id3, 1, "1")); syncer 368 chrome/browser/extensions/api/sessions/sessions_api.cc if (!(service && service->GetPreferredDataTypes().Has(syncer::SESSIONS))) { syncer 516 chrome/browser/extensions/api/sessions/sessions_api.cc if (!(service && service->GetPreferredDataTypes().Has(syncer::SESSIONS))) { syncer 129 chrome/browser/extensions/api/sessions/sessions_apitest.cc syncer::ModelTypeSet preferred_types; syncer 130 chrome/browser/extensions/api/sessions/sessions_apitest.cc preferred_types.Put(syncer::SESSIONS); syncer 135 chrome/browser/extensions/api/sessions/sessions_apitest.cc .WillByDefault(testing::Return(syncer::UserTypes())); syncer 166 chrome/browser/extensions/api/sessions/sessions_apitest.cc syncer::SyncDataList initial_data; syncer 186 chrome/browser/extensions/api/sessions/sessions_apitest.cc syncer::SyncData::CreateRemoteData(1, entity, base::Time())); syncer 190 chrome/browser/extensions/api/sessions/sessions_apitest.cc initial_data.push_back(syncer::SyncData::CreateRemoteData( syncer 208 chrome/browser/extensions/api/sessions/sessions_apitest.cc MergeDataAndStartSyncing(syncer::SESSIONS, initial_data, syncer 209 chrome/browser/extensions/api/sessions/sessions_apitest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 210 chrome/browser/extensions/api/sessions/sessions_apitest.cc new syncer::FakeSyncChangeProcessor()), syncer 211 chrome/browser/extensions/api/sessions/sessions_apitest.cc scoped_ptr<syncer::SyncErrorFactory>( syncer 212 chrome/browser/extensions/api/sessions/sessions_apitest.cc new syncer::SyncErrorFactoryMock())); syncer 17 chrome/browser/extensions/api/storage/setting_sync_data.cc const syncer::SyncChange& sync_change) { syncer 22 chrome/browser/extensions/api/storage/setting_sync_data.cc const syncer::SyncData& sync_data) { syncer 23 chrome/browser/extensions/api/storage/setting_sync_data.cc Init(syncer::SyncChange::ACTION_INVALID, sync_data); syncer 27 chrome/browser/extensions/api/storage/setting_sync_data.cc syncer::SyncChange::SyncChangeType change_type, syncer 28 chrome/browser/extensions/api/storage/setting_sync_data.cc const syncer::SyncData& sync_data) { syncer 46 chrome/browser/extensions/api/storage/setting_sync_data.cc syncer::SyncChange::SyncChangeType change_type, syncer 64 chrome/browser/extensions/api/storage/setting_sync_data.cc syncer::SyncChange::SyncChangeType change_type, syncer 72 chrome/browser/extensions/api/storage/setting_sync_data.cc syncer::SyncChange::SyncChangeType SettingSyncData::change_type() const { syncer 89 chrome/browser/extensions/api/storage/setting_sync_data.cc syncer::SyncChange::SyncChangeType change_type, syncer 13 chrome/browser/extensions/api/storage/setting_sync_data.h namespace syncer { syncer 28 chrome/browser/extensions/api/storage/setting_sync_data.h explicit SettingSyncData(const syncer::SyncChange& sync_change); syncer 31 chrome/browser/extensions/api/storage/setting_sync_data.h explicit SettingSyncData(const syncer::SyncData& sync_data); syncer 35 chrome/browser/extensions/api/storage/setting_sync_data.h syncer::SyncChange::SyncChangeType change_type, syncer 43 chrome/browser/extensions/api/storage/setting_sync_data.h syncer::SyncChange::SyncChangeType change_type() const; syncer 60 chrome/browser/extensions/api/storage/setting_sync_data.h syncer::SyncChange::SyncChangeType change_type, syncer 65 chrome/browser/extensions/api/storage/setting_sync_data.h syncer::SyncChange::SyncChangeType change_type_; syncer 76 chrome/browser/extensions/api/storage/setting_sync_data.h void Init(syncer::SyncChange::SyncChangeType change_type, syncer 77 chrome/browser/extensions/api/storage/setting_sync_data.h const syncer::SyncData& sync_data); syncer 81 chrome/browser/extensions/api/storage/setting_sync_data.h syncer::SyncChange::SyncChangeType change_type, syncer 56 chrome/browser/extensions/api/storage/settings_apitest.cc const syncer::ModelType kModelType = syncer::EXTENSION_SETTINGS; syncer 117 chrome/browser/extensions/api/storage/settings_apitest.cc syncer::SyncableService* GetSyncableService() { syncer 122 chrome/browser/extensions/api/storage/settings_apitest.cc void InitSync(syncer::SyncChangeProcessor* sync_processor) { syncer 127 chrome/browser/extensions/api/storage/settings_apitest.cc void SendChanges(const syncer::SyncChangeList& change_list) { syncer 187 chrome/browser/extensions/api/storage/settings_apitest.cc syncer::SyncChangeProcessor* sync_processor, syncer 188 chrome/browser/extensions/api/storage/settings_apitest.cc syncer::SyncableService* settings_service) { syncer 192 chrome/browser/extensions/api/storage/settings_apitest.cc syncer::SyncDataList(), syncer 193 chrome/browser/extensions/api/storage/settings_apitest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 194 chrome/browser/extensions/api/storage/settings_apitest.cc new syncer::SyncChangeProcessorWrapperForTest( syncer 196 chrome/browser/extensions/api/storage/settings_apitest.cc scoped_ptr<syncer::SyncErrorFactory>( syncer 197 chrome/browser/extensions/api/storage/settings_apitest.cc new syncer::SyncErrorFactoryMock())) syncer 203 chrome/browser/extensions/api/storage/settings_apitest.cc const syncer::SyncChangeList& change_list, syncer 204 chrome/browser/extensions/api/storage/settings_apitest.cc syncer::SyncableService* settings_service) { syncer 334 chrome/browser/extensions/api/storage/settings_apitest.cc syncer::FakeSyncChangeProcessor sync_processor; syncer 338 chrome/browser/extensions/api/storage/settings_apitest.cc syncer::SyncChangeList sync_changes; syncer 379 chrome/browser/extensions/api/storage/settings_apitest.cc syncer::FakeSyncChangeProcessor sync_processor; syncer 383 chrome/browser/extensions/api/storage/settings_apitest.cc syncer::SyncChangeList sync_changes; syncer 19 chrome/browser/extensions/api/storage/settings_sync_processor.cc syncer::ModelType type, syncer 20 chrome/browser/extensions/api/storage/settings_sync_processor.cc syncer::SyncChangeProcessor* sync_processor) syncer 26 chrome/browser/extensions/api/storage/settings_sync_processor.cc CHECK(type == syncer::EXTENSION_SETTINGS || type == syncer::APP_SETTINGS); syncer 45 chrome/browser/extensions/api/storage/settings_sync_processor.cc syncer::SyncError SettingsSyncProcessor::SendChanges( syncer 50 chrome/browser/extensions/api/storage/settings_sync_processor.cc syncer::SyncChangeList sync_changes; syncer 82 chrome/browser/extensions/api/storage/settings_sync_processor.cc return syncer::SyncError(); syncer 84 chrome/browser/extensions/api/storage/settings_sync_processor.cc syncer::SyncError error = syncer 95 chrome/browser/extensions/api/storage/settings_sync_processor.cc return syncer::SyncError(); syncer 14 chrome/browser/extensions/api/storage/settings_sync_processor.h namespace syncer { syncer 29 chrome/browser/extensions/api/storage/settings_sync_processor.h syncer::ModelType type, syncer 30 chrome/browser/extensions/api/storage/settings_sync_processor.h syncer::SyncChangeProcessor* sync_processor); syncer 37 chrome/browser/extensions/api/storage/settings_sync_processor.h syncer::SyncError SendChanges(const ValueStoreChangeList& changes); syncer 43 chrome/browser/extensions/api/storage/settings_sync_processor.h syncer::ModelType type() { return type_; } syncer 50 chrome/browser/extensions/api/storage/settings_sync_processor.h const syncer::ModelType type_; syncer 53 chrome/browser/extensions/api/storage/settings_sync_processor.h syncer::SyncChangeProcessor* const sync_processor_; syncer 90 chrome/browser/extensions/api/storage/settings_sync_unittest.cc class MockSyncChangeProcessor : public syncer::SyncChangeProcessor { syncer 95 chrome/browser/extensions/api/storage/settings_sync_unittest.cc virtual syncer::SyncError ProcessSyncChanges( syncer 97 chrome/browser/extensions/api/storage/settings_sync_unittest.cc const syncer::SyncChangeList& change_list) OVERRIDE { syncer 99 chrome/browser/extensions/api/storage/settings_sync_unittest.cc return syncer::SyncError( syncer 101 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncError::DATATYPE_ERROR, syncer 105 chrome/browser/extensions/api/storage/settings_sync_unittest.cc for (syncer::SyncChangeList::const_iterator it = change_list.begin(); syncer 109 chrome/browser/extensions/api/storage/settings_sync_unittest.cc return syncer::SyncError(); syncer 112 chrome/browser/extensions/api/storage/settings_sync_unittest.cc virtual syncer::SyncDataList GetAllSyncData(syncer::ModelType type) const syncer 114 chrome/browser/extensions/api/storage/settings_sync_unittest.cc return syncer::SyncDataList(); syncer 143 chrome/browser/extensions/api/storage/settings_sync_unittest.cc return SettingSyncData(syncer::SyncChange::ACTION_INVALID, syncer 203 chrome/browser/extensions/api/storage/settings_sync_unittest.cc sync_processor_wrapper_(new syncer::SyncChangeProcessorWrapperForTest( syncer 232 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncableService* GetSyncableService(syncer::ModelType model_type) { syncer 242 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::ModelType model_type) { syncer 243 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncDataList as_list = syncer 246 chrome/browser/extensions/api/storage/settings_sync_unittest.cc for (syncer::SyncDataList::iterator it = as_list.begin(); syncer 264 chrome/browser/extensions/api/storage/settings_sync_unittest.cc scoped_ptr<syncer::SyncChangeProcessorWrapperForTest> sync_processor_wrapper_; syncer 271 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::ModelType model_type = syncer::EXTENSION_SETTINGS; syncer 282 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncDataList(), syncer 283 chrome/browser/extensions/api/storage/settings_sync_unittest.cc sync_processor_wrapper_.PassAs<syncer::SyncChangeProcessor>(), syncer 284 chrome/browser/extensions/api/storage/settings_sync_unittest.cc scoped_ptr<syncer::SyncErrorFactory>(new syncer::SyncErrorFactoryMock())); syncer 296 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::ModelType model_type = syncer::APP_SETTINGS; syncer 317 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncDataList sync_data; syncer 326 chrome/browser/extensions/api/storage/settings_sync_unittest.cc sync_processor_wrapper_.PassAs<syncer::SyncChangeProcessor>(), syncer 327 chrome/browser/extensions/api/storage/settings_sync_unittest.cc scoped_ptr<syncer::SyncErrorFactory>(new syncer::SyncErrorFactoryMock())); syncer 340 chrome/browser/extensions/api/storage/settings_sync_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_UPDATE, change.change_type()); syncer 347 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::ModelType model_type = syncer::EXTENSION_SETTINGS; syncer 362 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncDataList(), syncer 363 chrome/browser/extensions/api/storage/settings_sync_unittest.cc sync_processor_wrapper_.PassAs<syncer::SyncChangeProcessor>(), syncer 364 chrome/browser/extensions/api/storage/settings_sync_unittest.cc scoped_ptr<syncer::SyncErrorFactory>(new syncer::SyncErrorFactoryMock())); syncer 369 chrome/browser/extensions/api/storage/settings_sync_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_ADD, change.change_type()); syncer 372 chrome/browser/extensions/api/storage/settings_sync_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_ADD, change.change_type()); syncer 379 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::ModelType model_type = syncer::APP_SETTINGS; syncer 394 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncDataList sync_data; syncer 402 chrome/browser/extensions/api/storage/settings_sync_unittest.cc sync_processor_wrapper_.PassAs<syncer::SyncChangeProcessor>(), syncer 403 chrome/browser/extensions/api/storage/settings_sync_unittest.cc scoped_ptr<syncer::SyncErrorFactory>(new syncer::SyncErrorFactoryMock())); syncer 420 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::ModelType model_type = syncer::EXTENSION_SETTINGS; syncer 438 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncDataList sync_data; syncer 445 chrome/browser/extensions/api/storage/settings_sync_unittest.cc sync_processor_wrapper_.PassAs<syncer::SyncChangeProcessor>(), syncer 446 chrome/browser/extensions/api/storage/settings_sync_unittest.cc scoped_ptr<syncer::SyncErrorFactory>(new syncer::SyncErrorFactoryMock())); syncer 450 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChangeList change_list; syncer 494 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::ModelType model_type = syncer::APP_SETTINGS; syncer 511 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncDataList sync_data; syncer 520 chrome/browser/extensions/api/storage/settings_sync_unittest.cc sync_processor_wrapper_.PassAs<syncer::SyncChangeProcessor>(), syncer 521 chrome/browser/extensions/api/storage/settings_sync_unittest.cc scoped_ptr<syncer::SyncErrorFactory>(new syncer::SyncErrorFactoryMock())); syncer 530 chrome/browser/extensions/api/storage/settings_sync_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_ADD, change.change_type()); syncer 533 chrome/browser/extensions/api/storage/settings_sync_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_ADD, change.change_type()); syncer 536 chrome/browser/extensions/api/storage/settings_sync_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_ADD, change.change_type()); syncer 539 chrome/browser/extensions/api/storage/settings_sync_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_ADD, change.change_type()); syncer 552 chrome/browser/extensions/api/storage/settings_sync_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_UPDATE, change.change_type()); syncer 555 chrome/browser/extensions/api/storage/settings_sync_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_UPDATE, change.change_type()); syncer 558 chrome/browser/extensions/api/storage/settings_sync_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_UPDATE, change.change_type()); syncer 561 chrome/browser/extensions/api/storage/settings_sync_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_UPDATE, change.change_type()); syncer 574 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChange::ACTION_DELETE, syncer 577 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChange::ACTION_DELETE, syncer 580 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChange::ACTION_DELETE, syncer 583 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChange::ACTION_DELETE, syncer 609 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChange::ACTION_DELETE, syncer 612 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChange::ACTION_DELETE, syncer 615 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChange::ACTION_DELETE, syncer 618 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChange::ACTION_DELETE, syncer 621 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChange::ACTION_DELETE, syncer 624 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChange::ACTION_DELETE, syncer 627 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChange::ACTION_DELETE, syncer 630 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChange::ACTION_DELETE, syncer 651 chrome/browser/extensions/api/storage/settings_sync_unittest.cc GetAllSyncData(syncer::EXTENSION_SETTINGS); syncer 657 chrome/browser/extensions/api/storage/settings_sync_unittest.cc GetAllSyncData(syncer::APP_SETTINGS); syncer 663 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncDataList sync_data; syncer 665 chrome/browser/extensions/api/storage/settings_sync_unittest.cc "s1", "foo", value1, syncer::EXTENSION_SETTINGS)); syncer 667 chrome/browser/extensions/api/storage/settings_sync_unittest.cc GetSyncableService(syncer::EXTENSION_SETTINGS)->MergeDataAndStartSyncing( syncer 668 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::EXTENSION_SETTINGS, syncer 670 chrome/browser/extensions/api/storage/settings_sync_unittest.cc sync_processor_wrapper_.PassAs<syncer::SyncChangeProcessor>(), syncer 671 chrome/browser/extensions/api/storage/settings_sync_unittest.cc scoped_ptr<syncer::SyncErrorFactory>(new syncer::SyncErrorFactoryMock())); syncer 672 chrome/browser/extensions/api/storage/settings_sync_unittest.cc GetSyncableService(syncer::EXTENSION_SETTINGS)-> syncer 673 chrome/browser/extensions/api/storage/settings_sync_unittest.cc StopSyncing(syncer::EXTENSION_SETTINGS); syncer 678 chrome/browser/extensions/api/storage/settings_sync_unittest.cc "s2", "bar", value2, syncer::APP_SETTINGS)); syncer 680 chrome/browser/extensions/api/storage/settings_sync_unittest.cc scoped_ptr<syncer::SyncChangeProcessorWrapperForTest> app_settings_delegate_( syncer 681 chrome/browser/extensions/api/storage/settings_sync_unittest.cc new syncer::SyncChangeProcessorWrapperForTest(sync_processor_.get())); syncer 682 chrome/browser/extensions/api/storage/settings_sync_unittest.cc GetSyncableService(syncer::APP_SETTINGS)->MergeDataAndStartSyncing( syncer 683 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::APP_SETTINGS, syncer 685 chrome/browser/extensions/api/storage/settings_sync_unittest.cc app_settings_delegate_.PassAs<syncer::SyncChangeProcessor>(), syncer 686 chrome/browser/extensions/api/storage/settings_sync_unittest.cc scoped_ptr<syncer::SyncErrorFactory>(new syncer::SyncErrorFactoryMock())); syncer 687 chrome/browser/extensions/api/storage/settings_sync_unittest.cc GetSyncableService(syncer::APP_SETTINGS)-> syncer 688 chrome/browser/extensions/api/storage/settings_sync_unittest.cc StopSyncing(syncer::APP_SETTINGS); syncer 693 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::ModelType model_type = syncer::EXTENSION_SETTINGS; syncer 711 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncDataList sync_data; syncer 719 chrome/browser/extensions/api/storage/settings_sync_unittest.cc sync_processor_wrapper_.PassAs<syncer::SyncChangeProcessor>(), syncer 720 chrome/browser/extensions/api/storage/settings_sync_unittest.cc scoped_ptr<syncer::SyncErrorFactory>( syncer 721 chrome/browser/extensions/api/storage/settings_sync_unittest.cc new syncer::SyncErrorFactoryMock())); syncer 741 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChange::ACTION_ADD, syncer 760 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChangeList change_list; syncer 789 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChange::ACTION_UPDATE, syncer 808 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChangeList change_list; syncer 834 chrome/browser/extensions/api/storage/settings_sync_unittest.cc new syncer::SyncChangeProcessorWrapperForTest(sync_processor_.get())); syncer 837 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncDataList(), syncer 838 chrome/browser/extensions/api/storage/settings_sync_unittest.cc sync_processor_wrapper_.PassAs<syncer::SyncChangeProcessor>(), syncer 839 chrome/browser/extensions/api/storage/settings_sync_unittest.cc scoped_ptr<syncer::SyncErrorFactory>(new syncer::SyncErrorFactoryMock())); syncer 844 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChange::ACTION_ADD, syncer 847 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChange::ACTION_ADD, syncer 850 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChange::ACTION_ADD, syncer 860 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChange::ACTION_UPDATE, syncer 863 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChange::ACTION_UPDATE, syncer 869 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChangeList change_list; syncer 893 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::ModelType model_type = syncer::APP_SETTINGS; syncer 907 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncDataList sync_data; syncer 915 chrome/browser/extensions/api/storage/settings_sync_unittest.cc sync_processor_wrapper_.PassAs<syncer::SyncChangeProcessor>(), syncer 916 chrome/browser/extensions/api/storage/settings_sync_unittest.cc scoped_ptr<syncer::SyncErrorFactory>( syncer 917 chrome/browser/extensions/api/storage/settings_sync_unittest.cc new syncer::SyncErrorFactoryMock())); syncer 936 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChangeList change_list; syncer 963 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChange::ACTION_UPDATE, syncer 969 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChangeList change_list; syncer 991 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::ModelType model_type = syncer::EXTENSION_SETTINGS; syncer 1010 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncDataList all_sync_data = syncer 1013 chrome/browser/extensions/api/storage/settings_sync_unittest.cc EXPECT_EQ("good/foo", syncer::SyncDataLocal(all_sync_data[0]).GetTag()); syncer 1020 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncDataList(), syncer 1021 chrome/browser/extensions/api/storage/settings_sync_unittest.cc sync_processor_wrapper_.PassAs<syncer::SyncChangeProcessor>(), syncer 1022 chrome/browser/extensions/api/storage/settings_sync_unittest.cc scoped_ptr<syncer::SyncErrorFactory>(new syncer::SyncErrorFactoryMock())); syncer 1025 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChange::ACTION_ADD, syncer 1028 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChange::ACTION_ADD, syncer 1037 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChange::ACTION_ADD, syncer 1040 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChange::ACTION_ADD, syncer 1046 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::ModelType model_type = syncer::APP_SETTINGS; syncer 1066 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncDataList(), syncer 1067 chrome/browser/extensions/api/storage/settings_sync_unittest.cc sync_processor_wrapper_.PassAs<syncer::SyncChangeProcessor>(), syncer 1068 chrome/browser/extensions/api/storage/settings_sync_unittest.cc scoped_ptr<syncer::SyncErrorFactory>(new syncer::SyncErrorFactoryMock())); syncer 1072 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChange::ACTION_ADD, syncer 1082 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChange::ACTION_ADD, syncer 1087 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChangeList change_list; syncer 1115 chrome/browser/extensions/api/storage/settings_sync_unittest.cc new syncer::SyncChangeProcessorWrapperForTest(sync_processor_.get())); syncer 1118 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncDataList(), syncer 1119 chrome/browser/extensions/api/storage/settings_sync_unittest.cc sync_processor_wrapper_.PassAs<syncer::SyncChangeProcessor>(), syncer 1120 chrome/browser/extensions/api/storage/settings_sync_unittest.cc scoped_ptr<syncer::SyncErrorFactory>(new syncer::SyncErrorFactoryMock())); syncer 1123 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChange::ACTION_ADD, syncer 1126 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChange::ACTION_ADD, syncer 1129 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChange::ACTION_ADD, syncer 1132 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChange::ACTION_ADD, syncer 1141 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChange::ACTION_UPDATE, syncer 1144 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChange::ACTION_UPDATE, syncer 1150 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::ModelType model_type = syncer::EXTENSION_SETTINGS; syncer 1168 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncDataList(), syncer 1169 chrome/browser/extensions/api/storage/settings_sync_unittest.cc sync_processor_wrapper_.PassAs<syncer::SyncChangeProcessor>(), syncer 1170 chrome/browser/extensions/api/storage/settings_sync_unittest.cc scoped_ptr<syncer::SyncErrorFactory>(new syncer::SyncErrorFactoryMock())); syncer 1179 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChange::ACTION_ADD, syncer 1185 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChangeList change_list; syncer 1209 chrome/browser/extensions/api/storage/settings_sync_unittest.cc new syncer::SyncChangeProcessorWrapperForTest(sync_processor_.get())); syncer 1212 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncDataList(), syncer 1213 chrome/browser/extensions/api/storage/settings_sync_unittest.cc sync_processor_wrapper_.PassAs<syncer::SyncChangeProcessor>(), syncer 1214 chrome/browser/extensions/api/storage/settings_sync_unittest.cc scoped_ptr<syncer::SyncErrorFactory>(new syncer::SyncErrorFactoryMock())); syncer 1217 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChange::ACTION_ADD, syncer 1220 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChange::ACTION_ADD, syncer 1223 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChange::ACTION_ADD, syncer 1232 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChange::ACTION_UPDATE, syncer 1235 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChange::ACTION_UPDATE, syncer 1241 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::ModelType model_type = syncer::EXTENSION_SETTINGS; syncer 1255 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncDataList(), syncer 1256 chrome/browser/extensions/api/storage/settings_sync_unittest.cc sync_processor_wrapper_.PassAs<syncer::SyncChangeProcessor>(), syncer 1257 chrome/browser/extensions/api/storage/settings_sync_unittest.cc scoped_ptr<syncer::SyncErrorFactory>(new syncer::SyncErrorFactoryMock())); syncer 1266 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChange::ACTION_ADD, syncer 1276 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChange::ACTION_UPDATE, syncer 1282 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChangeList change_list; syncer 1306 chrome/browser/extensions/api/storage/settings_sync_unittest.cc new syncer::SyncChangeProcessorWrapperForTest(sync_processor_.get())); syncer 1309 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncDataList(), syncer 1310 chrome/browser/extensions/api/storage/settings_sync_unittest.cc sync_processor_wrapper_.PassAs<syncer::SyncChangeProcessor>(), syncer 1311 chrome/browser/extensions/api/storage/settings_sync_unittest.cc scoped_ptr<syncer::SyncErrorFactory>(new syncer::SyncErrorFactoryMock())); syncer 1314 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChange::ACTION_ADD, syncer 1317 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChange::ACTION_ADD, syncer 1320 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChange::ACTION_ADD, syncer 1329 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChange::ACTION_UPDATE, syncer 1332 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChange::ACTION_UPDATE, syncer 1339 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::ModelType model_type = syncer::APP_SETTINGS; syncer 1351 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncDataList(), syncer 1352 chrome/browser/extensions/api/storage/settings_sync_unittest.cc sync_processor_wrapper_.PassAs<syncer::SyncChangeProcessor>(), syncer 1353 chrome/browser/extensions/api/storage/settings_sync_unittest.cc scoped_ptr<syncer::SyncErrorFactory>(new syncer::SyncErrorFactoryMock())); syncer 1363 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncChangeList change_list; syncer 1381 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::ModelType model_type = syncer::EXTENSION_SETTINGS; syncer 1387 chrome/browser/extensions/api/storage/settings_sync_unittest.cc syncer::SyncDataList sync_data_list; syncer 1395 chrome/browser/extensions/api/storage/settings_sync_unittest.cc sync_processor_wrapper_.PassAs<syncer::SyncChangeProcessor>(), syncer 1396 chrome/browser/extensions/api/storage/settings_sync_unittest.cc scoped_ptr<syncer::SyncErrorFactory>( syncer 1397 chrome/browser/extensions/api/storage/settings_sync_unittest.cc new syncer::SyncErrorFactoryMock())); syncer 1419 chrome/browser/extensions/api/storage/settings_sync_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_ADD, sync_data.change_type()); syncer 49 chrome/browser/extensions/api/storage/settings_sync_util.cc syncer::SyncData CreateData( syncer 53 chrome/browser/extensions/api/storage/settings_sync_util.cc syncer::ModelType type) { syncer 56 chrome/browser/extensions/api/storage/settings_sync_util.cc case syncer::EXTENSION_SETTINGS: syncer 64 chrome/browser/extensions/api/storage/settings_sync_util.cc case syncer::APP_SETTINGS: syncer 76 chrome/browser/extensions/api/storage/settings_sync_util.cc return syncer::SyncData::CreateLocalData( syncer 80 chrome/browser/extensions/api/storage/settings_sync_util.cc syncer::SyncChange CreateAdd( syncer 84 chrome/browser/extensions/api/storage/settings_sync_util.cc syncer::ModelType type) { syncer 85 chrome/browser/extensions/api/storage/settings_sync_util.cc return syncer::SyncChange( syncer 87 chrome/browser/extensions/api/storage/settings_sync_util.cc syncer::SyncChange::ACTION_ADD, syncer 91 chrome/browser/extensions/api/storage/settings_sync_util.cc syncer::SyncChange CreateUpdate( syncer 95 chrome/browser/extensions/api/storage/settings_sync_util.cc syncer::ModelType type) { syncer 96 chrome/browser/extensions/api/storage/settings_sync_util.cc return syncer::SyncChange( syncer 98 chrome/browser/extensions/api/storage/settings_sync_util.cc syncer::SyncChange::ACTION_UPDATE, syncer 102 chrome/browser/extensions/api/storage/settings_sync_util.cc syncer::SyncChange CreateDelete( syncer 105 chrome/browser/extensions/api/storage/settings_sync_util.cc syncer::ModelType type) { syncer 107 chrome/browser/extensions/api/storage/settings_sync_util.cc return syncer::SyncChange( syncer 109 chrome/browser/extensions/api/storage/settings_sync_util.cc syncer::SyncChange::ACTION_DELETE, syncer 113 chrome/browser/extensions/api/storage/settings_sync_util.cc syncer::SyncableService* GetSyncableService(content::BrowserContext* context, syncer 114 chrome/browser/extensions/api/storage/settings_sync_util.cc syncer::ModelType type) { syncer 116 chrome/browser/extensions/api/storage/settings_sync_util.cc DCHECK(type == syncer::APP_SETTINGS || type == syncer::EXTENSION_SETTINGS); syncer 19 chrome/browser/extensions/api/storage/settings_sync_util.h namespace syncer { syncer 28 chrome/browser/extensions/api/storage/settings_sync_util.h syncer::SyncData CreateData( syncer 32 chrome/browser/extensions/api/storage/settings_sync_util.h syncer::ModelType type); syncer 35 chrome/browser/extensions/api/storage/settings_sync_util.h syncer::SyncChange CreateAdd( syncer 39 chrome/browser/extensions/api/storage/settings_sync_util.h syncer::ModelType type); syncer 42 chrome/browser/extensions/api/storage/settings_sync_util.h syncer::SyncChange CreateUpdate( syncer 46 chrome/browser/extensions/api/storage/settings_sync_util.h syncer::ModelType type); syncer 49 chrome/browser/extensions/api/storage/settings_sync_util.h syncer::SyncChange CreateDelete( syncer 52 chrome/browser/extensions/api/storage/settings_sync_util.h syncer::ModelType type); syncer 56 chrome/browser/extensions/api/storage/settings_sync_util.h syncer::SyncableService* GetSyncableService(content::BrowserContext* context, syncer 57 chrome/browser/extensions/api/storage/settings_sync_util.h syncer::ModelType type); syncer 23 chrome/browser/extensions/api/storage/sync_storage_backend.cc syncer::ModelType type, syncer 24 chrome/browser/extensions/api/storage/sync_storage_backend.cc syncer::SyncDataList* dst) { syncer 38 chrome/browser/extensions/api/storage/sync_storage_backend.cc syncer::ModelType sync_type, syncer 39 chrome/browser/extensions/api/storage/sync_storage_backend.cc const syncer::SyncableService::StartSyncFlare& flare) syncer 47 chrome/browser/extensions/api/storage/sync_storage_backend.cc DCHECK(sync_type_ == syncer::EXTENSION_SETTINGS || syncer 48 chrome/browser/extensions/api/storage/sync_storage_backend.cc sync_type_ == syncer::APP_SETTINGS); syncer 81 chrome/browser/extensions/api/storage/sync_storage_backend.cc syncer::SyncError error = syncable_storage->StartSyncing( syncer 135 chrome/browser/extensions/api/storage/sync_storage_backend.cc syncer::SyncDataList SyncStorageBackend::GetAllSyncData(syncer::ModelType type) syncer 140 chrome/browser/extensions/api/storage/sync_storage_backend.cc DCHECK(type == syncer::EXTENSION_SETTINGS || type == syncer::APP_SETTINGS); syncer 144 chrome/browser/extensions/api/storage/sync_storage_backend.cc syncer::SyncDataList all_sync_data; syncer 163 chrome/browser/extensions/api/storage/sync_storage_backend.cc syncer::SyncMergeResult SyncStorageBackend::MergeDataAndStartSyncing( syncer 164 chrome/browser/extensions/api/storage/sync_storage_backend.cc syncer::ModelType type, syncer 165 chrome/browser/extensions/api/storage/sync_storage_backend.cc const syncer::SyncDataList& initial_sync_data, syncer 166 chrome/browser/extensions/api/storage/sync_storage_backend.cc scoped_ptr<syncer::SyncChangeProcessor> sync_processor, syncer 167 chrome/browser/extensions/api/storage/sync_storage_backend.cc scoped_ptr<syncer::SyncErrorFactory> sync_error_factory) { syncer 179 chrome/browser/extensions/api/storage/sync_storage_backend.cc for (syncer::SyncDataList::const_iterator it = initial_sync_data.begin(); syncer 203 chrome/browser/extensions/api/storage/sync_storage_backend.cc syncer::SyncError error; syncer 228 chrome/browser/extensions/api/storage/sync_storage_backend.cc return syncer::SyncMergeResult(type); syncer 231 chrome/browser/extensions/api/storage/sync_storage_backend.cc syncer::SyncError SyncStorageBackend::ProcessSyncChanges( syncer 233 chrome/browser/extensions/api/storage/sync_storage_backend.cc const syncer::SyncChangeList& sync_changes) { syncer 239 chrome/browser/extensions/api/storage/sync_storage_backend.cc for (syncer::SyncChangeList::const_iterator it = sync_changes.begin(); syncer 254 chrome/browser/extensions/api/storage/sync_storage_backend.cc syncer::SyncError error = storage->ProcessSyncChanges(it->second); syncer 259 chrome/browser/extensions/api/storage/sync_storage_backend.cc return syncer::SyncError(); syncer 262 chrome/browser/extensions/api/storage/sync_storage_backend.cc void SyncStorageBackend::StopSyncing(syncer::ModelType type) { syncer 264 chrome/browser/extensions/api/storage/sync_storage_backend.cc DCHECK(type == syncer::EXTENSION_SETTINGS || type == syncer::APP_SETTINGS); syncer 22 chrome/browser/extensions/api/storage/sync_storage_backend.h namespace syncer { syncer 34 chrome/browser/extensions/api/storage/sync_storage_backend.h class SyncStorageBackend : public syncer::SyncableService { syncer 45 chrome/browser/extensions/api/storage/sync_storage_backend.h syncer::ModelType sync_type, syncer 46 chrome/browser/extensions/api/storage/sync_storage_backend.h const syncer::SyncableService::StartSyncFlare& flare); syncer 54 chrome/browser/extensions/api/storage/sync_storage_backend.h virtual syncer::SyncDataList GetAllSyncData(syncer::ModelType type) syncer 56 chrome/browser/extensions/api/storage/sync_storage_backend.h virtual syncer::SyncMergeResult MergeDataAndStartSyncing( syncer 57 chrome/browser/extensions/api/storage/sync_storage_backend.h syncer::ModelType type, syncer 58 chrome/browser/extensions/api/storage/sync_storage_backend.h const syncer::SyncDataList& initial_sync_data, syncer 59 chrome/browser/extensions/api/storage/sync_storage_backend.h scoped_ptr<syncer::SyncChangeProcessor> sync_processor, syncer 60 chrome/browser/extensions/api/storage/sync_storage_backend.h scoped_ptr<syncer::SyncErrorFactory> sync_error_factory) OVERRIDE; syncer 61 chrome/browser/extensions/api/storage/sync_storage_backend.h virtual syncer::SyncError ProcessSyncChanges( syncer 63 chrome/browser/extensions/api/storage/sync_storage_backend.h const syncer::SyncChangeList& change_list) OVERRIDE; syncer 64 chrome/browser/extensions/api/storage/sync_storage_backend.h virtual void StopSyncing(syncer::ModelType type) OVERRIDE; syncer 100 chrome/browser/extensions/api/storage/sync_storage_backend.h syncer::ModelType sync_type_; syncer 103 chrome/browser/extensions/api/storage/sync_storage_backend.h scoped_ptr<syncer::SyncChangeProcessor> sync_processor_; syncer 106 chrome/browser/extensions/api/storage/sync_storage_backend.h scoped_ptr<syncer::SyncErrorFactory> sync_error_factory_; syncer 108 chrome/browser/extensions/api/storage/sync_storage_backend.h syncer::SyncableService::StartSyncFlare flare_; syncer 60 chrome/browser/extensions/api/storage/sync_value_store_cache.cc syncer::SyncableService* SyncValueStoreCache::GetSyncableService( syncer 61 chrome/browser/extensions/api/storage/sync_value_store_cache.cc syncer::ModelType type) const { syncer 66 chrome/browser/extensions/api/storage/sync_value_store_cache.cc case syncer::APP_SETTINGS: syncer 68 chrome/browser/extensions/api/storage/sync_value_store_cache.cc case syncer::EXTENSION_SETTINGS: syncer 103 chrome/browser/extensions/api/storage/sync_value_store_cache.cc syncer::APP_SETTINGS, syncer 110 chrome/browser/extensions/api/storage/sync_value_store_cache.cc syncer::EXTENSION_SETTINGS, syncer 20 chrome/browser/extensions/api/storage/sync_value_store_cache.h namespace syncer { syncer 39 chrome/browser/extensions/api/storage/sync_value_store_cache.h syncer::SyncableService* GetSyncableService(syncer::ModelType type) const; syncer 24 chrome/browser/extensions/api/storage/syncable_settings_storage.cc syncer::ModelType sync_type, syncer 25 chrome/browser/extensions/api/storage/syncable_settings_storage.cc const syncer::SyncableService::StartSyncFlare& flare) syncer 153 chrome/browser/extensions/api/storage/syncable_settings_storage.cc syncer::SyncError error = sync_processor_->SendChanges(result->changes()); syncer 166 chrome/browser/extensions/api/storage/syncable_settings_storage.cc syncer::SyncError SyncableSettingsStorage::StartSyncing( syncer 177 chrome/browser/extensions/api/storage/syncable_settings_storage.cc return syncer::SyncError( syncer 179 chrome/browser/extensions/api/storage/syncable_settings_storage.cc syncer::SyncError::DATATYPE_ERROR, syncer 191 chrome/browser/extensions/api/storage/syncable_settings_storage.cc syncer::SyncError SyncableSettingsStorage::SendLocalSettingsToSync( syncer 201 chrome/browser/extensions/api/storage/syncable_settings_storage.cc return syncer::SyncError(); syncer 203 chrome/browser/extensions/api/storage/syncable_settings_storage.cc syncer::SyncError error = sync_processor_->SendChanges(changes); syncer 210 chrome/browser/extensions/api/storage/syncable_settings_storage.cc syncer::SyncError SyncableSettingsStorage::OverwriteLocalSettingsWithSync( syncer 229 chrome/browser/extensions/api/storage/syncable_settings_storage.cc syncer::SyncChange::ACTION_UPDATE, syncer 238 chrome/browser/extensions/api/storage/syncable_settings_storage.cc syncer::SyncChange::ACTION_DELETE, syncer 253 chrome/browser/extensions/api/storage/syncable_settings_storage.cc syncer::SyncChange::ACTION_ADD, syncer 260 chrome/browser/extensions/api/storage/syncable_settings_storage.cc return syncer::SyncError(); syncer 270 chrome/browser/extensions/api/storage/syncable_settings_storage.cc syncer::SyncError SyncableSettingsStorage::ProcessSyncChanges( syncer 276 chrome/browser/extensions/api/storage/syncable_settings_storage.cc return syncer::SyncError( syncer 278 chrome/browser/extensions/api/storage/syncable_settings_storage.cc syncer::SyncError::DATATYPE_ERROR, syncer 280 chrome/browser/extensions/api/storage/syncable_settings_storage.cc syncer::UNSPECIFIED); syncer 283 chrome/browser/extensions/api/storage/syncable_settings_storage.cc std::vector<syncer::SyncError> errors; syncer 297 chrome/browser/extensions/api/storage/syncable_settings_storage.cc errors.push_back(syncer::SyncError( syncer 299 chrome/browser/extensions/api/storage/syncable_settings_storage.cc syncer::SyncError::DATATYPE_ERROR, syncer 310 chrome/browser/extensions/api/storage/syncable_settings_storage.cc syncer::SyncError error; syncer 313 chrome/browser/extensions/api/storage/syncable_settings_storage.cc case syncer::SyncChange::ACTION_ADD: syncer 326 chrome/browser/extensions/api/storage/syncable_settings_storage.cc case syncer::SyncChange::ACTION_UPDATE: syncer 338 chrome/browser/extensions/api/storage/syncable_settings_storage.cc case syncer::SyncChange::ACTION_DELETE: syncer 366 chrome/browser/extensions/api/storage/syncable_settings_storage.cc return errors.empty() ? syncer::SyncError() : errors[0]; syncer 369 chrome/browser/extensions/api/storage/syncable_settings_storage.cc syncer::SyncError SyncableSettingsStorage::OnSyncAdd( syncer 376 chrome/browser/extensions/api/storage/syncable_settings_storage.cc return syncer::SyncError( syncer 378 chrome/browser/extensions/api/storage/syncable_settings_storage.cc syncer::SyncError::DATATYPE_ERROR, syncer 384 chrome/browser/extensions/api/storage/syncable_settings_storage.cc return syncer::SyncError(); syncer 387 chrome/browser/extensions/api/storage/syncable_settings_storage.cc syncer::SyncError SyncableSettingsStorage::OnSyncUpdate( syncer 396 chrome/browser/extensions/api/storage/syncable_settings_storage.cc return syncer::SyncError( syncer 398 chrome/browser/extensions/api/storage/syncable_settings_storage.cc syncer::SyncError::DATATYPE_ERROR, syncer 404 chrome/browser/extensions/api/storage/syncable_settings_storage.cc return syncer::SyncError(); syncer 407 chrome/browser/extensions/api/storage/syncable_settings_storage.cc syncer::SyncError SyncableSettingsStorage::OnSyncDelete( syncer 414 chrome/browser/extensions/api/storage/syncable_settings_storage.cc return syncer::SyncError( syncer 416 chrome/browser/extensions/api/storage/syncable_settings_storage.cc syncer::SyncError::DATATYPE_ERROR, syncer 422 chrome/browser/extensions/api/storage/syncable_settings_storage.cc return syncer::SyncError(); syncer 31 chrome/browser/extensions/api/storage/syncable_settings_storage.h syncer::ModelType sync_type, syncer 32 chrome/browser/extensions/api/storage/syncable_settings_storage.h const syncer::SyncableService::StartSyncFlare& flare); syncer 60 chrome/browser/extensions/api/storage/syncable_settings_storage.h syncer::SyncError StartSyncing( syncer 68 chrome/browser/extensions/api/storage/syncable_settings_storage.h syncer::SyncError ProcessSyncChanges(const SettingSyncDataList& sync_changes); syncer 75 chrome/browser/extensions/api/storage/syncable_settings_storage.h syncer::SyncError SendLocalSettingsToSync( syncer 79 chrome/browser/extensions/api/storage/syncable_settings_storage.h syncer::SyncError OverwriteLocalSettingsWithSync( syncer 85 chrome/browser/extensions/api/storage/syncable_settings_storage.h syncer::SyncError OnSyncAdd( syncer 89 chrome/browser/extensions/api/storage/syncable_settings_storage.h syncer::SyncError OnSyncUpdate( syncer 94 chrome/browser/extensions/api/storage/syncable_settings_storage.h syncer::SyncError OnSyncDelete( syncer 111 chrome/browser/extensions/api/storage/syncable_settings_storage.h const syncer::ModelType sync_type_; syncer 112 chrome/browser/extensions/api/storage/syncable_settings_storage.h const syncer::SyncableService::StartSyncFlare flare_; syncer 312 chrome/browser/extensions/app_process_apitest.cc syncer::StringOrdinal::CreateInitialOrdinal(), syncer 25 chrome/browser/extensions/app_sync_bundle.cc syncer::SyncChangeProcessor* sync_change_processor, syncer 26 chrome/browser/extensions/app_sync_bundle.cc syncer::SyncErrorFactory* sync_error_factory, syncer 27 chrome/browser/extensions/app_sync_bundle.cc const syncer::SyncDataList& initial_sync_data) { syncer 31 chrome/browser/extensions/app_sync_bundle.cc for (syncer::SyncDataList::const_iterator i = initial_sync_data.begin(); syncer 47 chrome/browser/extensions/app_sync_bundle.cc syncer::SyncChange AppSyncBundle::CreateSyncChangeToDelete( syncer 51 chrome/browser/extensions/app_sync_bundle.cc return sync_data.GetSyncChange(syncer::SyncChange::ACTION_DELETE); syncer 55 chrome/browser/extensions/app_sync_bundle.cc const syncer::SyncChange& sync_change) { syncer 58 chrome/browser/extensions/app_sync_bundle.cc syncer::SyncChangeList(1, sync_change)); syncer 61 chrome/browser/extensions/app_sync_bundle.cc syncer::SyncChange AppSyncBundle::CreateSyncChange( syncer 62 chrome/browser/extensions/app_sync_bundle.cc const syncer::SyncData& sync_data) { syncer 63 chrome/browser/extensions/app_sync_bundle.cc const syncer::SyncDataLocal sync_data_local(sync_data); syncer 65 chrome/browser/extensions/app_sync_bundle.cc return syncer::SyncChange(FROM_HERE, syncer 66 chrome/browser/extensions/app_sync_bundle.cc syncer::SyncChange::ACTION_UPDATE, syncer 70 chrome/browser/extensions/app_sync_bundle.cc return syncer::SyncChange(FROM_HERE, syncer 71 chrome/browser/extensions/app_sync_bundle.cc syncer::SyncChange::ACTION_ADD, syncer 76 chrome/browser/extensions/app_sync_bundle.cc syncer::SyncDataList AppSyncBundle::GetAllSyncData() const { syncer 79 chrome/browser/extensions/app_sync_bundle.cc syncer::SyncDataList result(app_sync_data.size()); syncer 95 chrome/browser/extensions/app_sync_bundle.cc syncer::SyncChangeList sync_change_list) { syncer 122 chrome/browser/extensions/app_sync_bundle.cc syncer::SyncChangeList sync_change_list(1, app_sync_data.GetSyncChange( syncer 124 chrome/browser/extensions/app_sync_bundle.cc syncer::SyncChange::ACTION_UPDATE : syncer::SyncChange::ACTION_ADD)); syncer 21 chrome/browser/extensions/app_sync_bundle.h namespace syncer { syncer 38 chrome/browser/extensions/app_sync_bundle.h void SetupSync(syncer::SyncChangeProcessor* sync_proccessor, syncer 39 chrome/browser/extensions/app_sync_bundle.h syncer::SyncErrorFactory* sync_error_factory, syncer 40 chrome/browser/extensions/app_sync_bundle.h const syncer::SyncDataList& initial_sync_data); syncer 47 chrome/browser/extensions/app_sync_bundle.h syncer::SyncChange CreateSyncChangeToDelete(const Extension* extension) const; syncer 51 chrome/browser/extensions/app_sync_bundle.h std::string extension_id, const syncer::SyncChange& sync_change); syncer 54 chrome/browser/extensions/app_sync_bundle.h syncer::SyncChange CreateSyncChange(const syncer::SyncData& sync_data); syncer 57 chrome/browser/extensions/app_sync_bundle.h syncer::SyncDataList GetAllSyncData() const; syncer 63 chrome/browser/extensions/app_sync_bundle.h void ProcessSyncChangeList(syncer::SyncChangeList sync_change_list); syncer 99 chrome/browser/extensions/app_sync_bundle.h scoped_ptr<syncer::SyncChangeProcessor> sync_processor_; syncer 100 chrome/browser/extensions/app_sync_bundle.h scoped_ptr<syncer::SyncErrorFactory> sync_error_factory_; syncer 16 chrome/browser/extensions/app_sync_data.cc AppSyncData::AppSyncData(const syncer::SyncData& sync_data) { syncer 20 chrome/browser/extensions/app_sync_data.cc AppSyncData::AppSyncData(const syncer::SyncChange& sync_change) { syncer 23 chrome/browser/extensions/app_sync_data.cc sync_change.change_type() == syncer::SyncChange::ACTION_DELETE); syncer 29 chrome/browser/extensions/app_sync_data.cc const syncer::StringOrdinal& app_launch_ordinal, syncer 30 chrome/browser/extensions/app_sync_data.cc const syncer::StringOrdinal& page_ordinal, syncer 40 chrome/browser/extensions/app_sync_data.cc syncer::SyncData AppSyncData::GetSyncData() const { syncer 44 chrome/browser/extensions/app_sync_data.cc return syncer::SyncData::CreateLocalData(extension_sync_data_.id(), syncer 49 chrome/browser/extensions/app_sync_data.cc syncer::SyncChange AppSyncData::GetSyncChange( syncer 50 chrome/browser/extensions/app_sync_data.cc syncer::SyncChange::SyncChangeType change_type) const { syncer 51 chrome/browser/extensions/app_sync_data.cc return syncer::SyncChange(FROM_HERE, change_type, GetSyncData()); syncer 80 chrome/browser/extensions/app_sync_data.cc app_launch_ordinal_ = syncer::StringOrdinal(specifics.app_launch_ordinal()); syncer 81 chrome/browser/extensions/app_sync_data.cc page_ordinal_ = syncer::StringOrdinal(specifics.page_ordinal()); syncer 88 chrome/browser/extensions/app_sync_data.cc void AppSyncData::PopulateFromSyncData(const syncer::SyncData& sync_data) { syncer 13 chrome/browser/extensions/app_sync_data.h namespace syncer { syncer 30 chrome/browser/extensions/app_sync_data.h explicit AppSyncData(const syncer::SyncData& sync_data); syncer 31 chrome/browser/extensions/app_sync_data.h explicit AppSyncData(const syncer::SyncChange& sync_change); syncer 35 chrome/browser/extensions/app_sync_data.h const syncer::StringOrdinal& app_launch_ordinal, syncer 36 chrome/browser/extensions/app_sync_data.h const syncer::StringOrdinal& page_ordinal, syncer 41 chrome/browser/extensions/app_sync_data.h syncer::SyncData GetSyncData() const; syncer 42 chrome/browser/extensions/app_sync_data.h syncer::SyncChange GetSyncChange( syncer 43 chrome/browser/extensions/app_sync_data.h syncer::SyncChange::SyncChangeType change_type) const; syncer 51 chrome/browser/extensions/app_sync_data.h const syncer::StringOrdinal& app_launch_ordinal() const { syncer 54 chrome/browser/extensions/app_sync_data.h const syncer::StringOrdinal& page_ordinal() const { return page_ordinal_; } syncer 71 chrome/browser/extensions/app_sync_data.h void PopulateFromSyncData(const syncer::SyncData& sync_data); syncer 74 chrome/browser/extensions/app_sync_data.h syncer::StringOrdinal app_launch_ordinal_; syncer 75 chrome/browser/extensions/app_sync_data.h syncer::StringOrdinal page_ordinal_; syncer 39 chrome/browser/extensions/app_sync_data_unittest.cc syncer::StringOrdinal::CreateInitialOrdinal().ToInternalValue()); syncer 41 chrome/browser/extensions/app_sync_data_unittest.cc syncer::StringOrdinal::CreateInitialOrdinal().ToInternalValue()); syncer 45 chrome/browser/extensions/app_sync_data_unittest.cc syncer::SyncData sync_data = syncer 46 chrome/browser/extensions/app_sync_data_unittest.cc syncer::SyncData::CreateLocalData("sync_tag", "non_unique_title", entity); syncer 61 chrome/browser/extensions/app_sync_data_unittest.cc syncer::StringOrdinal::CreateInitialOrdinal().ToInternalValue()); syncer 63 chrome/browser/extensions/app_sync_data_unittest.cc syncer::StringOrdinal::CreateInitialOrdinal().ToInternalValue()); syncer 67 chrome/browser/extensions/app_sync_data_unittest.cc syncer::SyncData sync_data = syncer 68 chrome/browser/extensions/app_sync_data_unittest.cc syncer::SyncData::CreateLocalData("sync_tag", "non_unique_title", entity); syncer 71 chrome/browser/extensions/app_sync_data_unittest.cc syncer::SyncData output_sync_data = app_sync_data.GetSyncData(); syncer 89 chrome/browser/extensions/app_sync_data_unittest.cc syncer::SyncData sync_data = syncer 90 chrome/browser/extensions/app_sync_data_unittest.cc syncer::SyncData::CreateLocalData("sync_tag", "non_unique_title", entity); syncer 78 chrome/browser/extensions/chrome_app_sorting.cc ntp_ordinal_map_[syncer::StringOrdinal::CreateInitialOrdinal()]; syncer 81 chrome/browser/extensions/chrome_app_sorting.cc syncer::StringOrdinal filler = syncer 96 chrome/browser/extensions/chrome_app_sorting.cc typedef std::map<syncer::StringOrdinal, std::map<int, const std::string*>, syncer 97 chrome/browser/extensions/chrome_app_sorting.cc syncer::StringOrdinal::LessThanFn> AppPositionToIdMapping; syncer 102 chrome/browser/extensions/chrome_app_sorting.cc syncer::StringOrdinal page = GetPageOrdinal(*ext_id); syncer 166 chrome/browser/extensions/chrome_app_sorting.cc syncer::StringOrdinal page = page_it->first; syncer 189 chrome/browser/extensions/chrome_app_sorting.cc syncer::StringOrdinal repeated_ordinal = app_launch_it->first; syncer 198 chrome/browser/extensions/chrome_app_sorting.cc syncer::StringOrdinal upper_bound_ordinal = app_launch_it == page.end() ? syncer 199 chrome/browser/extensions/chrome_app_sorting.cc syncer::StringOrdinal() : syncer 201 chrome/browser/extensions/chrome_app_sorting.cc syncer::StringOrdinal lower_bound_ordinal = repeated_ordinal; syncer 206 chrome/browser/extensions/chrome_app_sorting.cc syncer::StringOrdinal unique_app_launch; syncer 228 chrome/browser/extensions/chrome_app_sorting.cc const syncer::StringOrdinal& suggested_page) { syncer 229 chrome/browser/extensions/chrome_app_sorting.cc syncer::StringOrdinal page_ordinal = GetPageOrdinal(extension_id); syncer 241 chrome/browser/extensions/chrome_app_sorting.cc syncer::StringOrdinal app_launch_ordinal = GetAppLaunchOrdinal(extension_id); syncer 272 chrome/browser/extensions/chrome_app_sorting.cc const syncer::StringOrdinal& predecessor_ordinal = syncer 274 chrome/browser/extensions/chrome_app_sorting.cc const syncer::StringOrdinal& successor_ordinal = syncer 290 chrome/browser/extensions/chrome_app_sorting.cc syncer::StringOrdinal ChromeAppSorting::GetAppLaunchOrdinal( syncer 298 chrome/browser/extensions/chrome_app_sorting.cc return syncer::StringOrdinal(raw_value); syncer 303 chrome/browser/extensions/chrome_app_sorting.cc const syncer::StringOrdinal& new_app_launch_ordinal) { syncer 310 chrome/browser/extensions/chrome_app_sorting.cc syncer::StringOrdinal page_ordinal = GetPageOrdinal(extension_id); syncer 326 chrome/browser/extensions/chrome_app_sorting.cc syncer::StringOrdinal ChromeAppSorting::CreateFirstAppLaunchOrdinal( syncer 327 chrome/browser/extensions/chrome_app_sorting.cc const syncer::StringOrdinal& page_ordinal) const { syncer 328 chrome/browser/extensions/chrome_app_sorting.cc const syncer::StringOrdinal& min_ordinal = syncer 335 chrome/browser/extensions/chrome_app_sorting.cc return syncer::StringOrdinal::CreateInitialOrdinal(); syncer 338 chrome/browser/extensions/chrome_app_sorting.cc syncer::StringOrdinal ChromeAppSorting::CreateNextAppLaunchOrdinal( syncer 339 chrome/browser/extensions/chrome_app_sorting.cc const syncer::StringOrdinal& page_ordinal) const { syncer 340 chrome/browser/extensions/chrome_app_sorting.cc const syncer::StringOrdinal& max_ordinal = syncer 347 chrome/browser/extensions/chrome_app_sorting.cc return syncer::StringOrdinal::CreateInitialOrdinal(); syncer 350 chrome/browser/extensions/chrome_app_sorting.cc syncer::StringOrdinal ChromeAppSorting::CreateFirstAppPageOrdinal() const { syncer 352 chrome/browser/extensions/chrome_app_sorting.cc return syncer::StringOrdinal::CreateInitialOrdinal(); syncer 357 chrome/browser/extensions/chrome_app_sorting.cc syncer::StringOrdinal ChromeAppSorting::GetNaturalAppPageOrdinal() const { syncer 359 chrome/browser/extensions/chrome_app_sorting.cc return syncer::StringOrdinal::CreateInitialOrdinal(); syncer 368 chrome/browser/extensions/chrome_app_sorting.cc syncer::StringOrdinal last_element = ntp_ordinal_map_.rbegin()->first; syncer 372 chrome/browser/extensions/chrome_app_sorting.cc syncer::StringOrdinal ChromeAppSorting::GetPageOrdinal( syncer 379 chrome/browser/extensions/chrome_app_sorting.cc return syncer::StringOrdinal(raw_data); syncer 384 chrome/browser/extensions/chrome_app_sorting.cc const syncer::StringOrdinal& new_page_ordinal) { syncer 389 chrome/browser/extensions/chrome_app_sorting.cc syncer::StringOrdinal app_launch_ordinal = GetAppLaunchOrdinal(extension_id); syncer 417 chrome/browser/extensions/chrome_app_sorting.cc const syncer::StringOrdinal& page_ordinal) const { syncer 426 chrome/browser/extensions/chrome_app_sorting.cc syncer::StringOrdinal ChromeAppSorting::PageIntegerAsStringOrdinal( syncer 442 chrome/browser/extensions/chrome_app_sorting.cc syncer::StringOrdinal ChromeAppSorting::GetMinOrMaxAppLaunchOrdinalsOnPage( syncer 443 chrome/browser/extensions/chrome_app_sorting.cc const syncer::StringOrdinal& target_page_ordinal, syncer 447 chrome/browser/extensions/chrome_app_sorting.cc syncer::StringOrdinal return_value; syncer 455 chrome/browser/extensions/chrome_app_sorting.cc return syncer::StringOrdinal(); syncer 481 chrome/browser/extensions/chrome_app_sorting.cc syncer::StringOrdinal web_store_app_page = syncer 489 chrome/browser/extensions/chrome_app_sorting.cc syncer::StringOrdinal chrome_app_page = syncer 500 chrome/browser/extensions/chrome_app_sorting.cc const syncer::StringOrdinal& page_ordinal, syncer 501 chrome/browser/extensions/chrome_app_sorting.cc const syncer::StringOrdinal& app_launch_ordinal) { syncer 511 chrome/browser/extensions/chrome_app_sorting.cc const syncer::StringOrdinal& page_ordinal, syncer 512 chrome/browser/extensions/chrome_app_sorting.cc const syncer::StringOrdinal& app_launch_ordinal) { syncer 555 chrome/browser/extensions/chrome_app_sorting.cc syncer::StringOrdinal page_ordinal = CreateFirstAppPageOrdinal(); syncer 556 chrome/browser/extensions/chrome_app_sorting.cc syncer::StringOrdinal app_launch_ordinal = syncer 568 chrome/browser/extensions/chrome_app_sorting.cc syncer::StringOrdinal* page_ordinal, syncer 569 chrome/browser/extensions/chrome_app_sorting.cc syncer::StringOrdinal* app_launch_ordinal) { syncer 582 chrome/browser/extensions/chrome_app_sorting.cc syncer::StringOrdinal ChromeAppSorting::ResolveCollision( syncer 583 chrome/browser/extensions/chrome_app_sorting.cc const syncer::StringOrdinal& page_ordinal, syncer 584 chrome/browser/extensions/chrome_app_sorting.cc const syncer::StringOrdinal& app_launch_ordinal) const { syncer 39 chrome/browser/extensions/chrome_app_sorting.h const syncer::StringOrdinal& suggested_page) OVERRIDE; syncer 44 chrome/browser/extensions/chrome_app_sorting.h virtual syncer::StringOrdinal GetAppLaunchOrdinal( syncer 48 chrome/browser/extensions/chrome_app_sorting.h const syncer::StringOrdinal& new_app_launch_ordinal) OVERRIDE; syncer 49 chrome/browser/extensions/chrome_app_sorting.h virtual syncer::StringOrdinal CreateFirstAppLaunchOrdinal( syncer 50 chrome/browser/extensions/chrome_app_sorting.h const syncer::StringOrdinal& page_ordinal) const OVERRIDE; syncer 51 chrome/browser/extensions/chrome_app_sorting.h virtual syncer::StringOrdinal CreateNextAppLaunchOrdinal( syncer 52 chrome/browser/extensions/chrome_app_sorting.h const syncer::StringOrdinal& page_ordinal) const OVERRIDE; syncer 53 chrome/browser/extensions/chrome_app_sorting.h virtual syncer::StringOrdinal CreateFirstAppPageOrdinal() const OVERRIDE; syncer 54 chrome/browser/extensions/chrome_app_sorting.h virtual syncer::StringOrdinal GetNaturalAppPageOrdinal() const OVERRIDE; syncer 55 chrome/browser/extensions/chrome_app_sorting.h virtual syncer::StringOrdinal GetPageOrdinal( syncer 59 chrome/browser/extensions/chrome_app_sorting.h const syncer::StringOrdinal& new_page_ordinal) OVERRIDE; syncer 62 chrome/browser/extensions/chrome_app_sorting.h const syncer::StringOrdinal& page_ordinal) const OVERRIDE; syncer 63 chrome/browser/extensions/chrome_app_sorting.h virtual syncer::StringOrdinal PageIntegerAsStringOrdinal( syncer 71 chrome/browser/extensions/chrome_app_sorting.h syncer::StringOrdinal, std::string, syncer 72 chrome/browser/extensions/chrome_app_sorting.h syncer::StringOrdinal::LessThanFn> AppLaunchOrdinalMap; syncer 76 chrome/browser/extensions/chrome_app_sorting.h syncer::StringOrdinal, AppLaunchOrdinalMap, syncer 77 chrome/browser/extensions/chrome_app_sorting.h syncer::StringOrdinal::LessThanFn> PageOrdinalMap; syncer 94 chrome/browser/extensions/chrome_app_sorting.h syncer::StringOrdinal page_ordinal; syncer 95 chrome/browser/extensions/chrome_app_sorting.h syncer::StringOrdinal app_launch_ordinal; syncer 104 chrome/browser/extensions/chrome_app_sorting.h syncer::StringOrdinal GetMinOrMaxAppLaunchOrdinalsOnPage( syncer 105 chrome/browser/extensions/chrome_app_sorting.h const syncer::StringOrdinal& page_ordinal, syncer 121 chrome/browser/extensions/chrome_app_sorting.h const syncer::StringOrdinal& page_ordinal, syncer 122 chrome/browser/extensions/chrome_app_sorting.h const syncer::StringOrdinal& app_launch_ordinal); syncer 132 chrome/browser/extensions/chrome_app_sorting.h const syncer::StringOrdinal& page_ordinal, syncer 133 chrome/browser/extensions/chrome_app_sorting.h const syncer::StringOrdinal& app_launch_ordinal); syncer 146 chrome/browser/extensions/chrome_app_sorting.h syncer::StringOrdinal* page_ordinal, syncer 147 chrome/browser/extensions/chrome_app_sorting.h syncer::StringOrdinal* app_launch_ordinal); syncer 152 chrome/browser/extensions/chrome_app_sorting.h syncer::StringOrdinal ResolveCollision( syncer 153 chrome/browser/extensions/chrome_app_sorting.h const syncer::StringOrdinal& page_ordinal, syncer 154 chrome/browser/extensions/chrome_app_sorting.h const syncer::StringOrdinal& app_launch_ordinal) const; syncer 34 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal(), syncer 54 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal page = syncer::StringOrdinal::CreateInitialOrdinal(); syncer 55 chrome/browser/extensions/chrome_app_sorting_unittest.cc EXPECT_TRUE(syncer::StringOrdinal::CreateInitialOrdinal().Equals( syncer 63 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal(), syncer 68 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal launch_ordinal = syncer 70 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal page_ordinal = syncer 71 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal::CreateInitialOrdinal(); syncer 81 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal new_launch_ordinal = syncer 87 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal invalid_app_launch_ordinal = syncer 95 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal next_page = page_ordinal.CreateAfter(); syncer 96 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal next_page_app_launch_ordinal = syncer 112 chrome/browser/extensions/chrome_app_sorting_unittest.cc first_page_ = syncer::StringOrdinal::CreateInitialOrdinal(); syncer 127 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal(), syncer 134 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal new_page = first_page_.CreateAfter(); syncer 147 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal first_page_; syncer 199 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal first_ordinal = syncer 200 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal::CreateInitialOrdinal(); syncer 231 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal initial_ordinal = syncer 232 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal::CreateInitialOrdinal(); syncer 245 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal page = syncer 253 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal app_launch = syncer 312 chrome/browser/extensions/chrome_app_sorting_unittest.cc repeated_ordinal_ = syncer::StringOrdinal::CreateInitialOrdinal(); syncer 330 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal extension1_app_launch = syncer 332 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal extension2_app_launch = syncer 334 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal extension3_app_launch = syncer 356 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal repeated_ordinal_; syncer 368 chrome/browser/extensions/chrome_app_sorting_unittest.cc first_ordinal_ = syncer::StringOrdinal::CreateInitialOrdinal(); syncer 369 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal second_ordinal = first_ordinal_.CreateAfter(); syncer 389 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal extension1_app_launch = syncer 391 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal extension2_app_launch = syncer 393 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal extension3_app_launch = syncer 414 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal first_ordinal_; syncer 426 chrome/browser/extensions/chrome_app_sorting_unittest.cc first_ordinal_ = syncer::StringOrdinal::CreateInitialOrdinal(); syncer 427 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal second_ordinal = first_ordinal_.CreateAfter(); syncer 447 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal extension1_app_launch = syncer 449 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal extension2_app_launch = syncer 451 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal extension3_app_launch = syncer 472 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal first_ordinal_; syncer 484 chrome/browser/extensions/chrome_app_sorting_unittest.cc first_ordinal_ = syncer::StringOrdinal::CreateInitialOrdinal(); syncer 485 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal second_ordinal = first_ordinal_.CreateAfter(); syncer 506 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal extension1_app_launch = syncer 508 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal extension2_app_launch = syncer 510 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal extension3_app_launch = syncer 512 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal extension4_app_launch = syncer 540 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal first_ordinal_; syncer 558 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal()); syncer 559 chrome/browser/extensions/chrome_app_sorting_unittest.cc app_sorting->SetPageOrdinal(extension1()->id(), syncer::StringOrdinal()); syncer 562 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal()); syncer 583 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal first_ordinal = syncer 584 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal::CreateInitialOrdinal(); syncer 643 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal(), syncer 652 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal(), syncer 678 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal page = syncer::StringOrdinal::CreateInitialOrdinal(); syncer 682 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal min = syncer 686 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal max = syncer 695 chrome/browser/extensions/chrome_app_sorting_unittest.cc min = syncer::StringOrdinal(); syncer 696 chrome/browser/extensions/chrome_app_sorting_unittest.cc max = syncer::StringOrdinal(); syncer 697 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal empty_page = page.CreateAfter(); syncer 724 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal first_page = syncer 725 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal::CreateInitialOrdinal(); syncer 749 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal last_page_; syncer 763 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal first_page = syncer 764 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal::CreateInitialOrdinal(); syncer 775 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal page_three = syncer 780 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal page_six = app_sorting->PageIntegerAsStringOrdinal(5); syncer 828 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal::CreateInitialOrdinal().CreateAfter(); syncer 830 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal::CreateInitialOrdinal().CreateBefore(); syncer 839 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal(), syncer 844 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal default_page_ordinal_; syncer 845 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal default_app_launch_ordinal_; syncer 889 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal install_page_; syncer 921 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal user_page_ordinal_; syncer 922 chrome/browser/extensions/chrome_app_sorting_unittest.cc syncer::StringOrdinal user_app_launch_ordinal_; syncer 182 chrome/browser/extensions/crx_installer.h void set_page_ordinal(const syncer::StringOrdinal& page_ordinal) { syncer 325 chrome/browser/extensions/crx_installer.h syncer::StringOrdinal page_ordinal_; syncer 239 chrome/browser/extensions/extension_install_ui_browsertest.cc sorting->EnsureValidOrdinals(app_id, syncer::StringOrdinal()); syncer 489 chrome/browser/extensions/extension_prefs_unittest.cc syncer::StringOrdinal(), syncer 614 chrome/browser/extensions/extension_prefs_unittest.cc syncer::StringOrdinal(), syncer 652 chrome/browser/extensions/extension_prefs_unittest.cc syncer::StringOrdinal(), syncer 675 chrome/browser/extensions/extension_prefs_unittest.cc syncer::StringOrdinal(), syncer 738 chrome/browser/extensions/extension_service.cc syncer::SyncChange sync_change; syncer 1642 chrome/browser/extensions/extension_service.cc extension->id(), syncer::StringOrdinal()); syncer 1667 chrome/browser/extensions/extension_service.cc syncer::StringOrdinal(), syncer 1825 chrome/browser/extensions/extension_service.cc const syncer::StringOrdinal& page_ordinal, syncer 1969 chrome/browser/extensions/extension_service.cc const syncer::StringOrdinal& page_ordinal, syncer 65 chrome/browser/extensions/extension_service.h namespace syncer { syncer 290 chrome/browser/extensions/extension_service.h const syncer::StringOrdinal& page_ordinal, syncer 539 chrome/browser/extensions/extension_service.h const syncer::StringOrdinal& page_ordinal, syncer 725 chrome/browser/extensions/extension_service_unittest.cc syncer::ModelType* model_type_passed_in, syncer 726 chrome/browser/extensions/extension_service_unittest.cc syncer::ModelType model_type) { syncer 2544 chrome/browser/extensions/extension_service_unittest.cc syncer::StringOrdinal new_page_ordinal = syncer 2546 chrome/browser/extensions/extension_service_unittest.cc syncer::StringOrdinal new_launch_ordinal = syncer 5327 chrome/browser/extensions/extension_service_unittest.cc syncer::ModelType triggered_type(syncer::UNSPECIFIED); syncer 5346 chrome/browser/extensions/extension_service_unittest.cc ASSERT_EQ(syncer::UNSPECIFIED, triggered_type); syncer 5354 chrome/browser/extensions/extension_service_unittest.cc syncer::ModelType triggered_type(syncer::UNSPECIFIED); syncer 5369 chrome/browser/extensions/extension_service_unittest.cc ASSERT_EQ(syncer::UNSPECIFIED, triggered_type); syncer 5379 chrome/browser/extensions/extension_service_unittest.cc syncer::ModelType triggered_type(syncer::UNSPECIFIED); syncer 5391 chrome/browser/extensions/extension_service_unittest.cc EXPECT_EQ(syncer::EXTENSIONS, triggered_type); syncer 5395 chrome/browser/extensions/extension_service_unittest.cc triggered_type = syncer::UNSPECIFIED; syncer 5399 chrome/browser/extensions/extension_service_unittest.cc syncer::EXTENSIONS, syncer 5400 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncDataList(), syncer 5401 chrome/browser/extensions/extension_service_unittest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 5402 chrome/browser/extensions/extension_service_unittest.cc new syncer::FakeSyncChangeProcessor), syncer 5403 chrome/browser/extensions/extension_service_unittest.cc scoped_ptr<syncer::SyncErrorFactory>(new syncer::SyncErrorFactoryMock())); syncer 5407 chrome/browser/extensions/extension_service_unittest.cc ASSERT_EQ(syncer::UNSPECIFIED, triggered_type); syncer 5438 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncDataList sync_data; syncer 5441 chrome/browser/extensions/extension_service_unittest.cc syncer::EXTENSIONS, syncer 5443 chrome/browser/extensions/extension_service_unittest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 5444 chrome/browser/extensions/extension_service_unittest.cc new syncer::FakeSyncChangeProcessor), syncer 5445 chrome/browser/extensions/extension_service_unittest.cc scoped_ptr<syncer::SyncErrorFactory>(new syncer::SyncErrorFactoryMock())); syncer 5483 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncDataList sync_data; syncer 5486 chrome/browser/extensions/extension_service_unittest.cc syncer::EXTENSIONS, syncer 5488 chrome/browser/extensions/extension_service_unittest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 5489 chrome/browser/extensions/extension_service_unittest.cc new syncer::FakeSyncChangeProcessor), syncer 5490 chrome/browser/extensions/extension_service_unittest.cc scoped_ptr<syncer::SyncErrorFactory>(new syncer::SyncErrorFactoryMock())); syncer 5505 chrome/browser/extensions/extension_service_unittest.cc syncer::EXTENSIONS, syncer 5506 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncDataList(), syncer 5507 chrome/browser/extensions/extension_service_unittest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 5508 chrome/browser/extensions/extension_service_unittest.cc new syncer::FakeSyncChangeProcessor), syncer 5509 chrome/browser/extensions/extension_service_unittest.cc scoped_ptr<syncer::SyncErrorFactory>(new syncer::SyncErrorFactoryMock())); syncer 5511 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncDataList list = extension_sync_service_->GetAllSyncData( syncer 5512 chrome/browser/extensions/extension_service_unittest.cc syncer::EXTENSIONS); syncer 5534 chrome/browser/extensions/extension_service_unittest.cc syncer::FakeSyncChangeProcessor processor; syncer 5536 chrome/browser/extensions/extension_service_unittest.cc syncer::EXTENSIONS, syncer 5537 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncDataList(), syncer 5538 chrome/browser/extensions/extension_service_unittest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 5539 chrome/browser/extensions/extension_service_unittest.cc new syncer::FakeSyncChangeProcessor), syncer 5540 chrome/browser/extensions/extension_service_unittest.cc scoped_ptr<syncer::SyncErrorFactory>(new syncer::SyncErrorFactoryMock())); syncer 5542 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncDataList list = extension_sync_service_->GetAllSyncData( syncer 5543 chrome/browser/extensions/extension_service_unittest.cc syncer::EXTENSIONS); syncer 5564 chrome/browser/extensions/extension_service_unittest.cc syncer::FakeSyncChangeProcessor processor; syncer 5566 chrome/browser/extensions/extension_service_unittest.cc syncer::APPS, syncer 5567 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncDataList(), syncer 5568 chrome/browser/extensions/extension_service_unittest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 5569 chrome/browser/extensions/extension_service_unittest.cc new syncer::FakeSyncChangeProcessor), syncer 5570 chrome/browser/extensions/extension_service_unittest.cc scoped_ptr<syncer::SyncErrorFactory>(new syncer::SyncErrorFactoryMock())); syncer 5572 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncDataList list = extension_sync_service_->GetAllSyncData( syncer 5573 chrome/browser/extensions/extension_service_unittest.cc syncer::EXTENSIONS); syncer 5585 chrome/browser/extensions/extension_service_unittest.cc syncer::FakeSyncChangeProcessor processor; syncer 5587 chrome/browser/extensions/extension_service_unittest.cc syncer::EXTENSIONS, syncer 5588 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncDataList(), syncer 5589 chrome/browser/extensions/extension_service_unittest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 5590 chrome/browser/extensions/extension_service_unittest.cc new syncer::FakeSyncChangeProcessor), syncer 5591 chrome/browser/extensions/extension_service_unittest.cc scoped_ptr<syncer::SyncErrorFactory>(new syncer::SyncErrorFactoryMock())); syncer 5594 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncDataList list = extension_sync_service_->GetAllSyncData( syncer 5595 chrome/browser/extensions/extension_service_unittest.cc syncer::EXTENSIONS); syncer 5604 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncDataList list = extension_sync_service_->GetAllSyncData( syncer 5605 chrome/browser/extensions/extension_service_unittest.cc syncer::EXTENSIONS); syncer 5614 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncDataList list = extension_sync_service_->GetAllSyncData( syncer 5615 chrome/browser/extensions/extension_service_unittest.cc syncer::EXTENSIONS); syncer 5624 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncDataList list = extension_sync_service_->GetAllSyncData( syncer 5625 chrome/browser/extensions/extension_service_unittest.cc syncer::EXTENSIONS); syncer 5641 chrome/browser/extensions/extension_service_unittest.cc syncer::FakeSyncChangeProcessor processor; syncer 5643 chrome/browser/extensions/extension_service_unittest.cc syncer::EXTENSIONS, syncer 5644 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncDataList(), syncer 5645 chrome/browser/extensions/extension_service_unittest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 5646 chrome/browser/extensions/extension_service_unittest.cc new syncer::FakeSyncChangeProcessor), syncer 5647 chrome/browser/extensions/extension_service_unittest.cc scoped_ptr<syncer::SyncErrorFactory>(new syncer::SyncErrorFactoryMock())); syncer 5661 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncData sync_data = syncer 5662 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncData::CreateLocalData(good_crx, "Name", specifics); syncer 5663 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncChange sync_change(FROM_HERE, syncer 5664 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncChange::ACTION_UPDATE, syncer 5666 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncChangeList list(1); syncer 5682 chrome/browser/extensions/extension_service_unittest.cc syncer::FakeSyncChangeProcessor processor; syncer 5684 chrome/browser/extensions/extension_service_unittest.cc syncer::APPS, syncer 5685 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncDataList(), syncer 5686 chrome/browser/extensions/extension_service_unittest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 5687 chrome/browser/extensions/extension_service_unittest.cc new syncer::FakeSyncChangeProcessor), syncer 5688 chrome/browser/extensions/extension_service_unittest.cc scoped_ptr<syncer::SyncErrorFactory>(new syncer::SyncErrorFactoryMock())); syncer 5690 chrome/browser/extensions/extension_service_unittest.cc syncer::StringOrdinal initial_ordinal = syncer 5691 chrome/browser/extensions/extension_service_unittest.cc syncer::StringOrdinal::CreateInitialOrdinal(); syncer 5693 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncDataList list = extension_sync_service_->GetAllSyncData( syncer 5694 chrome/browser/extensions/extension_service_unittest.cc syncer::APPS); syncer 5705 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncDataList list = extension_sync_service_->GetAllSyncData( syncer 5706 chrome/browser/extensions/extension_service_unittest.cc syncer::APPS); syncer 5716 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncDataList list = extension_sync_service_->GetAllSyncData( syncer 5717 chrome/browser/extensions/extension_service_unittest.cc syncer::APPS); syncer 5743 chrome/browser/extensions/extension_service_unittest.cc syncer::FakeSyncChangeProcessor processor; syncer 5745 chrome/browser/extensions/extension_service_unittest.cc syncer::APPS, syncer 5746 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncDataList(), syncer 5747 chrome/browser/extensions/extension_service_unittest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 5748 chrome/browser/extensions/extension_service_unittest.cc new syncer::FakeSyncChangeProcessor), syncer 5749 chrome/browser/extensions/extension_service_unittest.cc scoped_ptr<syncer::SyncErrorFactory>(new syncer::SyncErrorFactoryMock())); syncer 5755 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncDataList list = extension_sync_service_->GetAllSyncData( syncer 5756 chrome/browser/extensions/extension_service_unittest.cc syncer::APPS); syncer 5767 chrome/browser/extensions/extension_service_unittest.cc syncer::StringOrdinal app_launch_ordinals[kAppCount]; syncer 5788 chrome/browser/extensions/extension_service_unittest.cc syncer::FakeSyncChangeProcessor processor; syncer 5790 chrome/browser/extensions/extension_service_unittest.cc syncer::APPS, syncer 5791 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncDataList(), syncer 5792 chrome/browser/extensions/extension_service_unittest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 5793 chrome/browser/extensions/extension_service_unittest.cc new syncer::FakeSyncChangeProcessor), syncer 5794 chrome/browser/extensions/extension_service_unittest.cc scoped_ptr<syncer::SyncErrorFactory>(new syncer::SyncErrorFactoryMock())); syncer 5796 chrome/browser/extensions/extension_service_unittest.cc syncer::EXTENSIONS, syncer 5797 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncDataList(), syncer 5798 chrome/browser/extensions/extension_service_unittest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 5799 chrome/browser/extensions/extension_service_unittest.cc new syncer::FakeSyncChangeProcessor), syncer 5800 chrome/browser/extensions/extension_service_unittest.cc scoped_ptr<syncer::SyncErrorFactory>(new syncer::SyncErrorFactoryMock())); syncer 5805 chrome/browser/extensions/extension_service_unittest.cc EXPECT_EQ(0u, extension_sync_service_->GetAllSyncData(syncer::APPS).size()); syncer 5807 chrome/browser/extensions/extension_service_unittest.cc GetAllSyncData(syncer::EXTENSIONS).size()); syncer 5813 chrome/browser/extensions/extension_service_unittest.cc syncer::FakeSyncChangeProcessor processor; syncer 5815 chrome/browser/extensions/extension_service_unittest.cc syncer::EXTENSIONS, syncer 5816 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncDataList(), syncer 5817 chrome/browser/extensions/extension_service_unittest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 5818 chrome/browser/extensions/extension_service_unittest.cc new syncer::FakeSyncChangeProcessor), syncer 5819 chrome/browser/extensions/extension_service_unittest.cc scoped_ptr<syncer::SyncErrorFactory>(new syncer::SyncErrorFactoryMock())); syncer 5825 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncData sync_data = syncer 5826 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncData::CreateLocalData(good_crx, "Name", specifics); syncer 5827 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncChange sync_change(FROM_HERE, syncer 5828 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncChange::ACTION_DELETE, syncer 5830 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncChangeList list(1); syncer 5870 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncData sync_data = syncer 5871 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncData::CreateLocalData(good_crx, "Name", specifics); syncer 5872 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncChange sync_change(FROM_HERE, syncer 5873 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncChange::ACTION_DELETE, syncer 5875 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncChangeList list(1); syncer 5885 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncData sync_data = syncer 5886 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncData::CreateLocalData(good_crx, "Name", specifics); syncer 5887 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncChange sync_change(FROM_HERE, syncer 5888 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncChange::ACTION_UPDATE, syncer 5890 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncChangeList list(1); syncer 5903 chrome/browser/extensions/extension_service_unittest.cc syncer::FakeSyncChangeProcessor processor; syncer 5905 chrome/browser/extensions/extension_service_unittest.cc syncer::EXTENSIONS, syncer 5906 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncDataList(), syncer 5907 chrome/browser/extensions/extension_service_unittest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 5908 chrome/browser/extensions/extension_service_unittest.cc new syncer::FakeSyncChangeProcessor), syncer 5909 chrome/browser/extensions/extension_service_unittest.cc scoped_ptr<syncer::SyncErrorFactory>(new syncer::SyncErrorFactoryMock())); syncer 5923 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncData sync_data = syncer 5924 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncData::CreateLocalData(good_crx, "Name", specifics); syncer 5925 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncChange sync_change(FROM_HERE, syncer 5926 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncChange::ACTION_UPDATE, syncer 5928 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncChangeList list(1); syncer 5939 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncData sync_data = syncer 5940 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncData::CreateLocalData(good_crx, "Name", specifics); syncer 5941 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncChange sync_change(FROM_HERE, syncer 5942 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncChange::ACTION_UPDATE, syncer 5944 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncChangeList list(1); syncer 5954 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncData sync_data = syncer 5955 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncData::CreateLocalData(good_crx, "Name", specifics); syncer 5956 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncChange sync_change(FROM_HERE, syncer 5957 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncChange::ACTION_UPDATE, syncer 5959 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncChangeList list(1); syncer 5972 chrome/browser/extensions/extension_service_unittest.cc syncer::FakeSyncChangeProcessor processor; syncer 5974 chrome/browser/extensions/extension_service_unittest.cc syncer::EXTENSIONS, syncer 5975 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncDataList(), syncer 5976 chrome/browser/extensions/extension_service_unittest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 5977 chrome/browser/extensions/extension_service_unittest.cc new syncer::FakeSyncChangeProcessor), syncer 5978 chrome/browser/extensions/extension_service_unittest.cc scoped_ptr<syncer::SyncErrorFactory>(new syncer::SyncErrorFactoryMock())); syncer 5992 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncData sync_data = syncer 5993 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncData::CreateLocalData(good_crx, "Name", specifics); syncer 5994 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncChange sync_change(FROM_HERE, syncer 5995 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncChange::ACTION_UPDATE, syncer 5997 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncChangeList list(1); syncer 6010 chrome/browser/extensions/extension_service_unittest.cc syncer::FakeSyncChangeProcessor processor; syncer 6012 chrome/browser/extensions/extension_service_unittest.cc syncer::EXTENSIONS, syncer 6013 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncDataList(), syncer 6014 chrome/browser/extensions/extension_service_unittest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 6015 chrome/browser/extensions/extension_service_unittest.cc new syncer::FakeSyncChangeProcessor), syncer 6016 chrome/browser/extensions/extension_service_unittest.cc scoped_ptr<syncer::SyncErrorFactory>(new syncer::SyncErrorFactoryMock())); syncer 6030 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncData sync_data = syncer 6031 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncData::CreateLocalData(good_crx, "Name", specifics); syncer 6032 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncChange sync_change(FROM_HERE, syncer 6033 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncChange::ACTION_UPDATE, syncer 6035 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncChangeList list(1); syncer 6047 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncData sync_data = syncer 6048 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncData::CreateLocalData(good_crx, "Name", specifics); syncer 6049 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncChange sync_change(FROM_HERE, syncer 6050 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncChange::ACTION_UPDATE, syncer 6052 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncChangeList list(1); syncer 6062 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncData sync_data = syncer 6063 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncData::CreateLocalData(good_crx, "Name", specifics); syncer 6064 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncChange sync_change(FROM_HERE, syncer 6065 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncChange::ACTION_UPDATE, syncer 6067 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncChangeList list(1); syncer 6080 chrome/browser/extensions/extension_service_unittest.cc syncer::FakeSyncChangeProcessor processor; syncer 6082 chrome/browser/extensions/extension_service_unittest.cc syncer::EXTENSIONS, syncer 6083 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncDataList(), syncer 6084 chrome/browser/extensions/extension_service_unittest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 6085 chrome/browser/extensions/extension_service_unittest.cc new syncer::FakeSyncChangeProcessor), syncer 6086 chrome/browser/extensions/extension_service_unittest.cc scoped_ptr<syncer::SyncErrorFactory>(new syncer::SyncErrorFactoryMock())); syncer 6095 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncData sync_data = syncer 6096 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncData::CreateLocalData(good_crx, "Name", specifics); syncer 6097 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncChange sync_change(FROM_HERE, syncer 6098 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncChange::ACTION_UPDATE, syncer 6100 chrome/browser/extensions/extension_service_unittest.cc syncer::SyncChangeList list(1); syncer 6820 chrome/browser/extensions/extension_service_unittest.cc syncer::StringOrdinal(), syncer 24 chrome/browser/extensions/extension_sync_bundle.cc syncer::SyncChangeProcessor* sync_processor, syncer 25 chrome/browser/extensions/extension_sync_bundle.cc syncer::SyncErrorFactory* sync_error_factory, syncer 26 chrome/browser/extensions/extension_sync_bundle.cc const syncer::SyncDataList& initial_sync_data) { syncer 30 chrome/browser/extensions/extension_sync_bundle.cc for (syncer::SyncDataList::const_iterator i = initial_sync_data.begin(); syncer 46 chrome/browser/extensions/extension_sync_bundle.cc syncer::SyncChange ExtensionSyncBundle::CreateSyncChangeToDelete( syncer 50 chrome/browser/extensions/extension_sync_bundle.cc return sync_data.GetSyncChange(syncer::SyncChange::ACTION_DELETE); syncer 54 chrome/browser/extensions/extension_sync_bundle.cc std::string extension_id, const syncer::SyncChange& sync_change) { syncer 57 chrome/browser/extensions/extension_sync_bundle.cc syncer::SyncChangeList(1, sync_change)); syncer 60 chrome/browser/extensions/extension_sync_bundle.cc syncer::SyncChange ExtensionSyncBundle::CreateSyncChange( syncer 61 chrome/browser/extensions/extension_sync_bundle.cc const syncer::SyncData& sync_data) { syncer 62 chrome/browser/extensions/extension_sync_bundle.cc const syncer::SyncDataLocal sync_data_local(sync_data); syncer 64 chrome/browser/extensions/extension_sync_bundle.cc return syncer::SyncChange(FROM_HERE, syncer 65 chrome/browser/extensions/extension_sync_bundle.cc syncer::SyncChange::ACTION_UPDATE, syncer 69 chrome/browser/extensions/extension_sync_bundle.cc return syncer::SyncChange(FROM_HERE, syncer 70 chrome/browser/extensions/extension_sync_bundle.cc syncer::SyncChange::ACTION_ADD, syncer 75 chrome/browser/extensions/extension_sync_bundle.cc syncer::SyncDataList ExtensionSyncBundle::GetAllSyncData() const { syncer 78 chrome/browser/extensions/extension_sync_bundle.cc syncer::SyncDataList result(extension_sync_data.size()); syncer 95 chrome/browser/extensions/extension_sync_bundle.cc syncer::SyncChangeList sync_change_list) { syncer 123 chrome/browser/extensions/extension_sync_bundle.cc syncer::SyncChangeList sync_change_list(1, extension_sync_data.GetSyncChange( syncer 125 chrome/browser/extensions/extension_sync_bundle.cc syncer::SyncChange::ACTION_UPDATE : syncer::SyncChange::ACTION_ADD)); syncer 21 chrome/browser/extensions/extension_sync_bundle.h namespace syncer { syncer 38 chrome/browser/extensions/extension_sync_bundle.h void SetupSync(syncer::SyncChangeProcessor* sync_processor, syncer 39 chrome/browser/extensions/extension_sync_bundle.h syncer::SyncErrorFactory* sync_error_factory, syncer 40 chrome/browser/extensions/extension_sync_bundle.h const syncer::SyncDataList& initial_sync_data); syncer 47 chrome/browser/extensions/extension_sync_bundle.h syncer::SyncChange CreateSyncChangeToDelete(const Extension* extension) const; syncer 51 chrome/browser/extensions/extension_sync_bundle.h std::string extension_id, const syncer::SyncChange& sync_change); syncer 54 chrome/browser/extensions/extension_sync_bundle.h syncer::SyncChange CreateSyncChange(const syncer::SyncData& sync_data); syncer 57 chrome/browser/extensions/extension_sync_bundle.h syncer::SyncDataList GetAllSyncData() const; syncer 63 chrome/browser/extensions/extension_sync_bundle.h void ProcessSyncChangeList(syncer::SyncChangeList sync_change_list); syncer 99 chrome/browser/extensions/extension_sync_bundle.h scoped_ptr<syncer::SyncChangeProcessor> sync_processor_; syncer 100 chrome/browser/extensions/extension_sync_bundle.h scoped_ptr<syncer::SyncErrorFactory> sync_error_factory_; syncer 24 chrome/browser/extensions/extension_sync_data.cc ExtensionSyncData::ExtensionSyncData(const syncer::SyncData& sync_data) syncer 31 chrome/browser/extensions/extension_sync_data.cc ExtensionSyncData::ExtensionSyncData(const syncer::SyncChange& sync_change) syncer 33 chrome/browser/extensions/extension_sync_data.cc sync_change.change_type() == syncer::SyncChange::ACTION_DELETE), syncer 53 chrome/browser/extensions/extension_sync_data.cc syncer::SyncData ExtensionSyncData::GetSyncData() const { syncer 57 chrome/browser/extensions/extension_sync_data.cc return syncer::SyncData::CreateLocalData(id_, name_, specifics); syncer 60 chrome/browser/extensions/extension_sync_data.cc syncer::SyncChange ExtensionSyncData::GetSyncChange( syncer 61 chrome/browser/extensions/extension_sync_data.cc syncer::SyncChange::SyncChangeType change_type) const { syncer 62 chrome/browser/extensions/extension_sync_data.cc return syncer::SyncChange(FROM_HERE, change_type, GetSyncData()); syncer 105 chrome/browser/extensions/extension_sync_data.cc const syncer::SyncData& sync_data) { syncer 14 chrome/browser/extensions/extension_sync_data.h namespace syncer { syncer 30 chrome/browser/extensions/extension_sync_data.h explicit ExtensionSyncData(const syncer::SyncData& sync_data); syncer 31 chrome/browser/extensions/extension_sync_data.h explicit ExtensionSyncData(const syncer::SyncChange& sync_change); syncer 38 chrome/browser/extensions/extension_sync_data.h syncer::SyncData GetSyncData() const; syncer 39 chrome/browser/extensions/extension_sync_data.h syncer::SyncChange GetSyncChange( syncer 40 chrome/browser/extensions/extension_sync_data.h syncer::SyncChange::SyncChangeType change_type) const; syncer 69 chrome/browser/extensions/extension_sync_data.h void PopulateFromSyncData(const syncer::SyncData& sync_data); syncer 35 chrome/browser/extensions/extension_sync_data_unittest.cc syncer::SyncData sync_data = syncer 36 chrome/browser/extensions/extension_sync_data_unittest.cc syncer::SyncData::CreateLocalData("sync_tag", "non_unique_title", entity); syncer 60 chrome/browser/extensions/extension_sync_data_unittest.cc syncer::SyncData sync_data = syncer 61 chrome/browser/extensions/extension_sync_data_unittest.cc syncer::SyncData::CreateLocalData("sync_tag", "non_unique_title", entity); syncer 64 chrome/browser/extensions/extension_sync_data_unittest.cc syncer::SyncData output_sync_data = extension_sync_data.GetSyncData(); syncer 48 chrome/browser/extensions/extension_sync_service.cc syncer::APPS), syncer 52 chrome/browser/extensions/extension_sync_service.cc syncer::EXTENSIONS) { syncer 67 chrome/browser/extensions/extension_sync_service.cc syncer::SyncChange ExtensionSyncService::PrepareToSyncUninstallExtension( syncer 79 chrome/browser/extensions/extension_sync_service.cc flare_.Run(syncer::APPS); // Tell sync to start ASAP. syncer 84 chrome/browser/extensions/extension_sync_service.cc flare_.Run(syncer::EXTENSIONS); // Tell sync to start ASAP. syncer 87 chrome/browser/extensions/extension_sync_service.cc return syncer::SyncChange(); syncer 92 chrome/browser/extensions/extension_sync_service.cc const syncer::SyncChange& sync_change) { syncer 94 chrome/browser/extensions/extension_sync_service.cc sync_change.sync_data().GetDataType() == syncer::APPS) { syncer 97 chrome/browser/extensions/extension_sync_service.cc sync_change.sync_data().GetDataType() == syncer::EXTENSIONS) { syncer 128 chrome/browser/extensions/extension_sync_service.cc syncer::SyncMergeResult ExtensionSyncService::MergeDataAndStartSyncing( syncer 129 chrome/browser/extensions/extension_sync_service.cc syncer::ModelType type, syncer 130 chrome/browser/extensions/extension_sync_service.cc const syncer::SyncDataList& initial_sync_data, syncer 131 chrome/browser/extensions/extension_sync_service.cc scoped_ptr<syncer::SyncChangeProcessor> sync_processor, syncer 132 chrome/browser/extensions/extension_sync_service.cc scoped_ptr<syncer::SyncErrorFactory> sync_error_factory) { syncer 137 chrome/browser/extensions/extension_sync_service.cc case syncer::EXTENSIONS: syncer 144 chrome/browser/extensions/extension_sync_service.cc case syncer::APPS: syncer 158 chrome/browser/extensions/extension_sync_service.cc syncer::SyncDataList sync_data_list = GetAllSyncData(type); syncer 159 chrome/browser/extensions/extension_sync_service.cc syncer::SyncChangeList sync_change_list; syncer 160 chrome/browser/extensions/extension_sync_service.cc for (syncer::SyncDataList::const_iterator i = sync_data_list.begin(); syncer 164 chrome/browser/extensions/extension_sync_service.cc case syncer::EXTENSIONS: syncer 168 chrome/browser/extensions/extension_sync_service.cc case syncer::APPS: syncer 177 chrome/browser/extensions/extension_sync_service.cc if (type == syncer::EXTENSIONS) { syncer 179 chrome/browser/extensions/extension_sync_service.cc } else if (type == syncer::APPS) { syncer 183 chrome/browser/extensions/extension_sync_service.cc return syncer::SyncMergeResult(type); syncer 186 chrome/browser/extensions/extension_sync_service.cc void ExtensionSyncService::StopSyncing(syncer::ModelType type) { syncer 187 chrome/browser/extensions/extension_sync_service.cc if (type == syncer::APPS) { syncer 189 chrome/browser/extensions/extension_sync_service.cc } else if (type == syncer::EXTENSIONS) { syncer 194 chrome/browser/extensions/extension_sync_service.cc syncer::SyncDataList ExtensionSyncService::GetAllSyncData( syncer 195 chrome/browser/extensions/extension_sync_service.cc syncer::ModelType type) const { syncer 196 chrome/browser/extensions/extension_sync_service.cc if (type == syncer::EXTENSIONS) syncer 198 chrome/browser/extensions/extension_sync_service.cc if (type == syncer::APPS) syncer 204 chrome/browser/extensions/extension_sync_service.cc return syncer::SyncDataList(); syncer 207 chrome/browser/extensions/extension_sync_service.cc syncer::SyncError ExtensionSyncService::ProcessSyncChanges( syncer 209 chrome/browser/extensions/extension_sync_service.cc const syncer::SyncChangeList& change_list) { syncer 210 chrome/browser/extensions/extension_sync_service.cc for (syncer::SyncChangeList::const_iterator i = change_list.begin(); syncer 213 chrome/browser/extensions/extension_sync_service.cc syncer::ModelType type = i->sync_data().GetDataType(); syncer 214 chrome/browser/extensions/extension_sync_service.cc if (type == syncer::EXTENSIONS) { syncer 217 chrome/browser/extensions/extension_sync_service.cc } else if (type == syncer::APPS) { syncer 224 chrome/browser/extensions/extension_sync_service.cc return syncer::SyncError(); syncer 289 chrome/browser/extensions/extension_sync_service.cc syncer::EXTENSIONS)) { syncer 322 chrome/browser/extensions/extension_sync_service.cc syncer::APPS)) { syncer 340 chrome/browser/extensions/extension_sync_service.cc const syncer::SyncableService::StartSyncFlare& flare) { syncer 345 chrome/browser/extensions/extension_sync_service.cc syncer::ModelType type) const { syncer 346 chrome/browser/extensions/extension_sync_service.cc if (type == syncer::EXTENSIONS && syncer 351 chrome/browser/extensions/extension_sync_service.cc if (type == syncer::APPS && syncer 367 chrome/browser/extensions/extension_sync_service.cc syncer::ModelType type) { syncer 427 chrome/browser/extensions/extension_sync_service.cc CHECK(type == syncer::EXTENSIONS || type == syncer::APPS); syncer 429 chrome/browser/extensions/extension_sync_service.cc (type == syncer::APPS) ? extensions::sync_helper::IsSyncableApp : syncer 456 chrome/browser/extensions/extension_sync_service.cc flare_.Run(syncer::APPS); syncer 461 chrome/browser/extensions/extension_sync_service.cc flare_.Run(syncer::EXTENSIONS); syncer 36 chrome/browser/extensions/extension_sync_service.h namespace syncer { syncer 40 chrome/browser/extensions/extension_sync_service.h class ExtensionSyncService : public syncer::SyncableService, syncer 62 chrome/browser/extensions/extension_sync_service.h virtual syncer::SyncMergeResult MergeDataAndStartSyncing( syncer 63 chrome/browser/extensions/extension_sync_service.h syncer::ModelType type, syncer 64 chrome/browser/extensions/extension_sync_service.h const syncer::SyncDataList& initial_sync_data, syncer 65 chrome/browser/extensions/extension_sync_service.h scoped_ptr<syncer::SyncChangeProcessor> sync_processor, syncer 66 chrome/browser/extensions/extension_sync_service.h scoped_ptr<syncer::SyncErrorFactory> sync_error_factory) OVERRIDE; syncer 67 chrome/browser/extensions/extension_sync_service.h virtual void StopSyncing(syncer::ModelType type) OVERRIDE; syncer 68 chrome/browser/extensions/extension_sync_service.h virtual syncer::SyncDataList GetAllSyncData( syncer 69 chrome/browser/extensions/extension_sync_service.h syncer::ModelType type) const OVERRIDE; syncer 70 chrome/browser/extensions/extension_sync_service.h virtual syncer::SyncError ProcessSyncChanges( syncer 72 chrome/browser/extensions/extension_sync_service.h const syncer::SyncChangeList& change_list) OVERRIDE; syncer 98 chrome/browser/extensions/extension_sync_service.h syncer::SyncChange PrepareToSyncUninstallExtension( syncer 102 chrome/browser/extensions/extension_sync_service.h const syncer::SyncChange& sync_change); syncer 111 chrome/browser/extensions/extension_sync_service.h void SetSyncStartFlare(const syncer::SyncableService::StartSyncFlare& flare); syncer 116 chrome/browser/extensions/extension_sync_service.h syncer::ModelType type) syncer 128 chrome/browser/extensions/extension_sync_service.h syncer::ModelType type); syncer 152 chrome/browser/extensions/extension_sync_service.h syncer::SyncableService::StartSyncFlare flare_; syncer 15 chrome/browser/extensions/pending_enables.cc syncer::ModelType enable_type) syncer 53 chrome/browser/extensions/pending_enables.cc sync_prefs_->GetPreferredDataTypes(syncer::ModelTypeSet(enable_type_)) syncer 34 chrome/browser/extensions/pending_enables.h syncer::ModelType enable_type); syncer 56 chrome/browser/extensions/pending_enables.h syncer::ModelType enable_type_; syncer 67 chrome/browser/extensions/shared_module_service_unittest.cc syncer::StringOrdinal(), syncer 167 chrome/browser/extensions/test_extension_prefs.cc syncer::StringOrdinal::CreateInitialOrdinal(), syncer 328 chrome/browser/extensions/unpacked_installer.cc syncer::StringOrdinal(), syncer 24 chrome/browser/history/delete_directive_handler.cc syncer::HistoryDeleteDirectiveSpecificsToValue(delete_directive)); syncer 31 chrome/browser/history/delete_directive_handler.cc bool TimeRangeLessThan(const syncer::SyncData& data1, syncer 32 chrome/browser/history/delete_directive_handler.cc const syncer::SyncData& data2) { syncer 111 chrome/browser/history/delete_directive_handler.cc const syncer::SyncDataList& delete_directive, syncer 130 chrome/browser/history/delete_directive_handler.cc const syncer::SyncDataList& global_id_directives); syncer 137 chrome/browser/history/delete_directive_handler.cc const syncer::SyncDataList& time_range_directives); syncer 140 chrome/browser/history/delete_directive_handler.cc syncer::SyncDataList delete_directives_; syncer 147 chrome/browser/history/delete_directive_handler.cc syncer::SyncDataList global_id_directives; syncer 148 chrome/browser/history/delete_directive_handler.cc syncer::SyncDataList time_range_directives; syncer 149 chrome/browser/history/delete_directive_handler.cc for (syncer::SyncDataList::const_iterator it = delete_directives_.begin(); syncer 151 chrome/browser/history/delete_directive_handler.cc DCHECK_EQ(it->GetDataType(), syncer::HISTORY_DELETE_DIRECTIVES); syncer 178 chrome/browser/history/delete_directive_handler.cc const syncer::SyncDataList& global_id_directives) { syncer 228 chrome/browser/history/delete_directive_handler.cc const syncer::SyncDataList& time_range_directives) { syncer 286 chrome/browser/history/delete_directive_handler.cc const syncer::SyncDataList& initial_sync_data, syncer 287 chrome/browser/history/delete_directive_handler.cc scoped_ptr<syncer::SyncChangeProcessor> sync_processor) { syncer 337 chrome/browser/history/delete_directive_handler.cc syncer::SyncError error = ProcessLocalDeleteDirective(delete_directive); syncer 341 chrome/browser/history/delete_directive_handler.cc syncer::SyncError DeleteDirectiveHandler::ProcessLocalDeleteDirective( syncer 345 chrome/browser/history/delete_directive_handler.cc return syncer::SyncError( syncer 347 chrome/browser/history/delete_directive_handler.cc syncer::SyncError::DATATYPE_ERROR, syncer 349 chrome/browser/history/delete_directive_handler.cc syncer::HISTORY_DELETE_DIRECTIVES); syncer 361 chrome/browser/history/delete_directive_handler.cc syncer::SyncData sync_data = syncer 362 chrome/browser/history/delete_directive_handler.cc syncer::SyncData::CreateLocalData( syncer 364 chrome/browser/history/delete_directive_handler.cc syncer::SyncChange change( syncer 365 chrome/browser/history/delete_directive_handler.cc FROM_HERE, syncer::SyncChange::ACTION_ADD, sync_data); syncer 366 chrome/browser/history/delete_directive_handler.cc syncer::SyncChangeList changes(1, change); syncer 370 chrome/browser/history/delete_directive_handler.cc syncer::SyncError DeleteDirectiveHandler::ProcessSyncChanges( syncer 372 chrome/browser/history/delete_directive_handler.cc const syncer::SyncChangeList& change_list) { syncer 375 chrome/browser/history/delete_directive_handler.cc return syncer::SyncError( syncer 377 chrome/browser/history/delete_directive_handler.cc syncer::SyncError::DATATYPE_ERROR, syncer 379 chrome/browser/history/delete_directive_handler.cc syncer::HISTORY_DELETE_DIRECTIVES); syncer 382 chrome/browser/history/delete_directive_handler.cc syncer::SyncDataList delete_directives; syncer 383 chrome/browser/history/delete_directive_handler.cc for (syncer::SyncChangeList::const_iterator it = change_list.begin(); syncer 386 chrome/browser/history/delete_directive_handler.cc case syncer::SyncChange::ACTION_ADD: syncer 389 chrome/browser/history/delete_directive_handler.cc case syncer::SyncChange::ACTION_DELETE: syncer 407 chrome/browser/history/delete_directive_handler.cc return syncer::SyncError(); syncer 412 chrome/browser/history/delete_directive_handler.cc const syncer::SyncDataList& delete_directives) { syncer 419 chrome/browser/history/delete_directive_handler.cc syncer::SyncChangeList change_list; syncer 422 chrome/browser/history/delete_directive_handler.cc syncer::SyncChange(FROM_HERE, syncer::SyncChange::ACTION_DELETE, syncer 33 chrome/browser/history/delete_directive_handler.h const syncer::SyncDataList& initial_sync_data, syncer 34 chrome/browser/history/delete_directive_handler.h scoped_ptr<syncer::SyncChangeProcessor> sync_processor); syncer 51 chrome/browser/history/delete_directive_handler.h syncer::SyncError ProcessLocalDeleteDirective( syncer 55 chrome/browser/history/delete_directive_handler.h syncer::SyncError ProcessSyncChanges( syncer 57 chrome/browser/history/delete_directive_handler.h const syncer::SyncChangeList& change_list); syncer 72 chrome/browser/history/delete_directive_handler.h const syncer::SyncDataList& delete_directives); syncer 75 chrome/browser/history/delete_directive_handler.h scoped_ptr<syncer::SyncChangeProcessor> sync_processor_; syncer 1004 chrome/browser/history/history_service.cc syncer::SyncMergeResult HistoryService::MergeDataAndStartSyncing( syncer 1005 chrome/browser/history/history_service.cc syncer::ModelType type, syncer 1006 chrome/browser/history/history_service.cc const syncer::SyncDataList& initial_sync_data, syncer 1007 chrome/browser/history/history_service.cc scoped_ptr<syncer::SyncChangeProcessor> sync_processor, syncer 1008 chrome/browser/history/history_service.cc scoped_ptr<syncer::SyncErrorFactory> error_handler) { syncer 1010 chrome/browser/history/history_service.cc DCHECK_EQ(type, syncer::HISTORY_DELETE_DIRECTIVES); syncer 1013 chrome/browser/history/history_service.cc return syncer::SyncMergeResult(type); syncer 1016 chrome/browser/history/history_service.cc void HistoryService::StopSyncing(syncer::ModelType type) { syncer 1018 chrome/browser/history/history_service.cc DCHECK_EQ(type, syncer::HISTORY_DELETE_DIRECTIVES); syncer 1022 chrome/browser/history/history_service.cc syncer::SyncDataList HistoryService::GetAllSyncData( syncer 1023 chrome/browser/history/history_service.cc syncer::ModelType type) const { syncer 1025 chrome/browser/history/history_service.cc DCHECK_EQ(type, syncer::HISTORY_DELETE_DIRECTIVES); syncer 1027 chrome/browser/history/history_service.cc return syncer::SyncDataList(); syncer 1030 chrome/browser/history/history_service.cc syncer::SyncError HistoryService::ProcessSyncChanges( syncer 1032 chrome/browser/history/history_service.cc const syncer::SyncChangeList& change_list) { syncer 1034 chrome/browser/history/history_service.cc return syncer::SyncError(); syncer 1037 chrome/browser/history/history_service.cc syncer::SyncError HistoryService::ProcessLocalDeleteDirective( syncer 87 chrome/browser/history/history_service.h public syncer::SyncableService, syncer 405 chrome/browser/history/history_service.h syncer::SyncError ProcessLocalDeleteDirective( syncer 568 chrome/browser/history/history_service.h virtual syncer::SyncMergeResult MergeDataAndStartSyncing( syncer 569 chrome/browser/history/history_service.h syncer::ModelType type, syncer 570 chrome/browser/history/history_service.h const syncer::SyncDataList& initial_sync_data, syncer 571 chrome/browser/history/history_service.h scoped_ptr<syncer::SyncChangeProcessor> sync_processor, syncer 572 chrome/browser/history/history_service.h scoped_ptr<syncer::SyncErrorFactory> error_handler) OVERRIDE; syncer 573 chrome/browser/history/history_service.h virtual void StopSyncing(syncer::ModelType type) OVERRIDE; syncer 574 chrome/browser/history/history_service.h virtual syncer::SyncDataList GetAllSyncData( syncer 575 chrome/browser/history/history_service.h syncer::ModelType type) const OVERRIDE; syncer 576 chrome/browser/history/history_service.h virtual syncer::SyncError ProcessSyncChanges( syncer 578 chrome/browser/history/history_service.h const syncer::SyncChangeList& change_list) OVERRIDE; syncer 1564 chrome/browser/history/history_unittest.cc syncer::FakeSyncChangeProcessor change_processor; syncer 1568 chrome/browser/history/history_unittest.cc syncer::HISTORY_DELETE_DIRECTIVES, syncer 1569 chrome/browser/history/history_unittest.cc syncer::SyncDataList(), syncer 1570 chrome/browser/history/history_unittest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 1571 chrome/browser/history/history_unittest.cc new syncer::SyncChangeProcessorWrapperForTest( syncer 1573 chrome/browser/history/history_unittest.cc scoped_ptr<syncer::SyncErrorFactory>()) syncer 1577 chrome/browser/history/history_unittest.cc syncer::SyncError err = syncer 1582 chrome/browser/history/history_unittest.cc history_service_->StopSyncing(syncer::HISTORY_DELETE_DIRECTIVES); syncer 1593 chrome/browser/history/history_unittest.cc const syncer::FakeSyncChangeProcessor* change_processor, syncer 1625 chrome/browser/history/history_unittest.cc syncer::SyncDataList directives; syncer 1637 chrome/browser/history/history_unittest.cc syncer::SyncData::CreateRemoteData(1, entity_specs, base::Time())); syncer 1647 chrome/browser/history/history_unittest.cc syncer::SyncData::CreateRemoteData(2, entity_specs, base::Time())); syncer 1649 chrome/browser/history/history_unittest.cc syncer::FakeSyncChangeProcessor change_processor; syncer 1652 chrome/browser/history/history_unittest.cc syncer::HISTORY_DELETE_DIRECTIVES, syncer 1654 chrome/browser/history/history_unittest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 1655 chrome/browser/history/history_unittest.cc new syncer::SyncChangeProcessorWrapperForTest( syncer 1657 chrome/browser/history/history_unittest.cc scoped_ptr<syncer::SyncErrorFactory>()) syncer 1683 chrome/browser/history/history_unittest.cc const syncer::SyncChangeList& sync_changes = change_processor.changes(); syncer 1685 chrome/browser/history/history_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_DELETE, sync_changes[0].change_type()); syncer 1686 chrome/browser/history/history_unittest.cc EXPECT_EQ(1, syncer::SyncDataRemote(sync_changes[0].sync_data()).GetId()); syncer 1687 chrome/browser/history/history_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_DELETE, sync_changes[1].change_type()); syncer 1688 chrome/browser/history/history_unittest.cc EXPECT_EQ(2, syncer::SyncDataRemote(sync_changes[1].sync_data()).GetId()); syncer 1708 chrome/browser/history/history_unittest.cc syncer::SyncDataList directives; syncer 1716 chrome/browser/history/history_unittest.cc directives.push_back(syncer::SyncData::CreateRemoteData(1, syncer 1724 chrome/browser/history/history_unittest.cc directives.push_back(syncer::SyncData::CreateRemoteData(2, syncer 1728 chrome/browser/history/history_unittest.cc syncer::FakeSyncChangeProcessor change_processor; syncer 1731 chrome/browser/history/history_unittest.cc syncer::HISTORY_DELETE_DIRECTIVES, syncer 1733 chrome/browser/history/history_unittest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 1734 chrome/browser/history/history_unittest.cc new syncer::SyncChangeProcessorWrapperForTest( syncer 1736 chrome/browser/history/history_unittest.cc scoped_ptr<syncer::SyncErrorFactory>()) syncer 1758 chrome/browser/history/history_unittest.cc const syncer::SyncChangeList& sync_changes = change_processor.changes(); syncer 1760 chrome/browser/history/history_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_DELETE, sync_changes[0].change_type()); syncer 1761 chrome/browser/history/history_unittest.cc EXPECT_EQ(1, syncer::SyncDataRemote(sync_changes[0].sync_data()).GetId()); syncer 1762 chrome/browser/history/history_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_DELETE, sync_changes[1].change_type()); syncer 1763 chrome/browser/history/history_unittest.cc EXPECT_EQ(2, syncer::SyncDataRemote(sync_changes[1].sync_data()).GetId()); syncer 76 chrome/browser/history/typed_url_syncable_service.cc syncer::SyncMergeResult TypedUrlSyncableService::MergeDataAndStartSyncing( syncer 77 chrome/browser/history/typed_url_syncable_service.cc syncer::ModelType type, syncer 78 chrome/browser/history/typed_url_syncable_service.cc const syncer::SyncDataList& initial_sync_data, syncer 79 chrome/browser/history/typed_url_syncable_service.cc scoped_ptr<syncer::SyncChangeProcessor> sync_processor, syncer 80 chrome/browser/history/typed_url_syncable_service.cc scoped_ptr<syncer::SyncErrorFactory> error_handler) { syncer 85 chrome/browser/history/typed_url_syncable_service.cc DCHECK_EQ(type, syncer::TYPED_URLS); syncer 87 chrome/browser/history/typed_url_syncable_service.cc syncer::SyncMergeResult merge_result(type); syncer 96 chrome/browser/history/typed_url_syncable_service.cc void TypedUrlSyncableService::StopSyncing(syncer::ModelType type) { syncer 98 chrome/browser/history/typed_url_syncable_service.cc DCHECK_EQ(type, syncer::TYPED_URLS); syncer 104 chrome/browser/history/typed_url_syncable_service.cc syncer::SyncDataList TypedUrlSyncableService::GetAllSyncData( syncer 105 chrome/browser/history/typed_url_syncable_service.cc syncer::ModelType type) const { syncer 107 chrome/browser/history/typed_url_syncable_service.cc syncer::SyncDataList list; syncer 114 chrome/browser/history/typed_url_syncable_service.cc syncer::SyncError TypedUrlSyncableService::ProcessSyncChanges( syncer 116 chrome/browser/history/typed_url_syncable_service.cc const syncer::SyncChangeList& change_list) { syncer 121 chrome/browser/history/typed_url_syncable_service.cc return syncer::SyncError(FROM_HERE, syncer 122 chrome/browser/history/typed_url_syncable_service.cc syncer::SyncError::DATATYPE_ERROR, syncer 124 chrome/browser/history/typed_url_syncable_service.cc syncer::TYPED_URLS); syncer 137 chrome/browser/history/typed_url_syncable_service.cc syncer::SyncChangeList changes; syncer 167 chrome/browser/history/typed_url_syncable_service.cc syncer::SyncChangeList changes; syncer 195 chrome/browser/history/typed_url_syncable_service.cc syncer::SyncChangeList changes; syncer 203 chrome/browser/history/typed_url_syncable_service.cc AddTypedUrlToChangeList(syncer::SyncChange::ACTION_DELETE, syncer 216 chrome/browser/history/typed_url_syncable_service.cc AddTypedUrlToChangeList(syncer::SyncChange::ACTION_DELETE, syncer 271 chrome/browser/history/typed_url_syncable_service.cc syncer::SyncChangeList* changes) { syncer 286 chrome/browser/history/typed_url_syncable_service.cc syncer::SyncChange::SyncChangeType change_type; syncer 291 chrome/browser/history/typed_url_syncable_service.cc syncer::SyncChange::ACTION_UPDATE : syncer 292 chrome/browser/history/typed_url_syncable_service.cc syncer::SyncChange::ACTION_ADD; syncer 303 chrome/browser/history/typed_url_syncable_service.cc syncer::SyncChange::SyncChangeType change_type, syncer 307 chrome/browser/history/typed_url_syncable_service.cc syncer::SyncChangeList* change_list) { syncer 311 chrome/browser/history/typed_url_syncable_service.cc if (change_type == syncer::SyncChange::ACTION_DELETE) { syncer 318 chrome/browser/history/typed_url_syncable_service.cc syncer::SyncChange(FROM_HERE, change_type, syncer 319 chrome/browser/history/typed_url_syncable_service.cc syncer::SyncData::CreateLocalData( syncer 38 chrome/browser/history/typed_url_syncable_service.h class TypedUrlSyncableService : public syncer::SyncableService { syncer 43 chrome/browser/history/typed_url_syncable_service.h static syncer::ModelType model_type() { return syncer::TYPED_URLS; } syncer 46 chrome/browser/history/typed_url_syncable_service.h virtual syncer::SyncMergeResult MergeDataAndStartSyncing( syncer 47 chrome/browser/history/typed_url_syncable_service.h syncer::ModelType type, syncer 48 chrome/browser/history/typed_url_syncable_service.h const syncer::SyncDataList& initial_sync_data, syncer 49 chrome/browser/history/typed_url_syncable_service.h scoped_ptr<syncer::SyncChangeProcessor> sync_processor, syncer 50 chrome/browser/history/typed_url_syncable_service.h scoped_ptr<syncer::SyncErrorFactory> error_handler) OVERRIDE; syncer 51 chrome/browser/history/typed_url_syncable_service.h virtual void StopSyncing(syncer::ModelType type) OVERRIDE; syncer 52 chrome/browser/history/typed_url_syncable_service.h virtual syncer::SyncDataList GetAllSyncData( syncer 53 chrome/browser/history/typed_url_syncable_service.h syncer::ModelType type) const OVERRIDE; syncer 54 chrome/browser/history/typed_url_syncable_service.h virtual syncer::SyncError ProcessSyncChanges( syncer 56 chrome/browser/history/typed_url_syncable_service.h const syncer::SyncChangeList& change_list) OVERRIDE; syncer 75 chrome/browser/history/typed_url_syncable_service.h typedef std::map<GURL, std::pair<syncer::SyncChange::SyncChangeType, syncer 95 chrome/browser/history/typed_url_syncable_service.h syncer::SyncChangeList* changes); syncer 98 chrome/browser/history/typed_url_syncable_service.h syncer::SyncChange::SyncChangeType change_type, syncer 102 chrome/browser/history/typed_url_syncable_service.h syncer::SyncChangeList* change_list); syncer 132 chrome/browser/history/typed_url_syncable_service.h scoped_ptr<syncer::SyncChangeProcessor> sync_processor_; syncer 133 chrome/browser/history/typed_url_syncable_service.h scoped_ptr<syncer::SyncErrorFactory> sync_error_handler_; syncer 136 chrome/browser/history/typed_url_syncable_service_unittest.cc fake_change_processor_.reset(new syncer::FakeSyncChangeProcessor); syncer 141 chrome/browser/history/typed_url_syncable_service_unittest.cc scoped_ptr<syncer::FakeSyncChangeProcessor> fake_change_processor_; syncer 225 chrome/browser/history/typed_url_syncable_service_unittest.cc syncer::SyncMergeResult result = syncer 227 chrome/browser/history/typed_url_syncable_service_unittest.cc syncer::TYPED_URLS, syncer 228 chrome/browser/history/typed_url_syncable_service_unittest.cc syncer::SyncDataList(), syncer 229 chrome/browser/history/typed_url_syncable_service_unittest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 230 chrome/browser/history/typed_url_syncable_service_unittest.cc new syncer::SyncChangeProcessorWrapperForTest( syncer 232 chrome/browser/history/typed_url_syncable_service_unittest.cc scoped_ptr<syncer::SyncErrorFactory>( syncer 233 chrome/browser/history/typed_url_syncable_service_unittest.cc new syncer::SyncErrorFactoryMock())); syncer 274 chrome/browser/history/typed_url_syncable_service_unittest.cc const syncer::SyncChangeList& changes = fake_change_processor_->changes(); syncer 277 chrome/browser/history/typed_url_syncable_service_unittest.cc EXPECT_EQ(syncer::TYPED_URLS, changes[0].sync_data().GetDataType()); syncer 278 chrome/browser/history/typed_url_syncable_service_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_ADD, changes[0].change_type()); syncer 306 chrome/browser/history/typed_url_syncable_service_unittest.cc syncer::SyncChangeList& changes = fake_change_processor_->changes(); syncer 324 chrome/browser/history/typed_url_syncable_service_unittest.cc EXPECT_EQ(syncer::TYPED_URLS, changes[0].sync_data().GetDataType()); syncer 325 chrome/browser/history/typed_url_syncable_service_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_UPDATE, changes[0].change_type()); syncer 359 chrome/browser/history/typed_url_syncable_service_unittest.cc syncer::SyncChangeList& changes = fake_change_processor_->changes(); syncer 383 chrome/browser/history/typed_url_syncable_service_unittest.cc syncer::SyncChangeList& changes = fake_change_processor_->changes(); syncer 402 chrome/browser/history/typed_url_syncable_service_unittest.cc EXPECT_EQ(syncer::TYPED_URLS, changes[0].sync_data().GetDataType()); syncer 403 chrome/browser/history/typed_url_syncable_service_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_UPDATE, changes[0].change_type()); syncer 441 chrome/browser/history/typed_url_syncable_service_unittest.cc syncer::SyncChangeList& changes = fake_change_processor_->changes(); syncer 472 chrome/browser/history/typed_url_syncable_service_unittest.cc ASSERT_EQ(syncer::TYPED_URLS, changes[i].sync_data().GetDataType()); syncer 473 chrome/browser/history/typed_url_syncable_service_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_DELETE, changes[i].change_type()); syncer 498 chrome/browser/history/typed_url_syncable_service_unittest.cc syncer::SyncChangeList& changes = fake_change_processor_->changes(); syncer 520 chrome/browser/history/typed_url_syncable_service_unittest.cc ASSERT_EQ(syncer::TYPED_URLS, changes[i].sync_data().GetDataType()); syncer 521 chrome/browser/history/typed_url_syncable_service_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_DELETE, changes[i].change_type()); syncer 557 chrome/browser/history/typed_url_syncable_service_unittest.cc const syncer::SyncChangeList& changes = fake_change_processor_->changes(); syncer 605 chrome/browser/history/typed_url_syncable_service_unittest.cc const syncer::SyncChangeList& changes = fake_change_processor_->changes(); syncer 23 chrome/browser/history/web_history_service_factory.cc sync->GetActiveDataTypes().Has(syncer::HISTORY_DELETE_DIRECTIVES); syncer 31 chrome/browser/invalidation/fake_invalidation_service.cc invalidator_registrar_.UpdateInvalidatorState(syncer::INVALIDATIONS_ENABLED); syncer 43 chrome/browser/invalidation/fake_invalidation_service.cc syncer::InvalidationHandler* handler) { syncer 48 chrome/browser/invalidation/fake_invalidation_service.cc syncer::InvalidationHandler* handler, syncer 49 chrome/browser/invalidation/fake_invalidation_service.cc const syncer::ObjectIdSet& ids) { syncer 54 chrome/browser/invalidation/fake_invalidation_service.cc syncer::InvalidationHandler* handler) { syncer 58 chrome/browser/invalidation/fake_invalidation_service.cc syncer::InvalidatorState FakeInvalidationService::GetInvalidatorState() const { syncer 82 chrome/browser/invalidation/fake_invalidation_service.cc syncer::InvalidatorState state) { syncer 87 chrome/browser/invalidation/fake_invalidation_service.cc const syncer::Invalidation& invalidation) { syncer 90 chrome/browser/invalidation/fake_invalidation_service.cc syncer::Invalidation invalidation_copy(invalidation); syncer 93 chrome/browser/invalidation/fake_invalidation_service.cc syncer::ObjectIdSet registered_ids = syncer 103 chrome/browser/invalidation/fake_invalidation_service.cc syncer::ObjectIdInvalidationMap invalidation_map; syncer 108 chrome/browser/invalidation/fake_invalidation_service.cc syncer::MockAckHandler* FakeInvalidationService::GetMockAckHandler() { syncer 23 chrome/browser/invalidation/fake_invalidation_service.h namespace syncer { syncer 62 chrome/browser/invalidation/fake_invalidation_service.h syncer::InvalidationHandler* handler) OVERRIDE; syncer 64 chrome/browser/invalidation/fake_invalidation_service.h syncer::InvalidationHandler* handler, syncer 65 chrome/browser/invalidation/fake_invalidation_service.h const syncer::ObjectIdSet& ids) OVERRIDE; syncer 67 chrome/browser/invalidation/fake_invalidation_service.h syncer::InvalidationHandler* handler) OVERRIDE; syncer 69 chrome/browser/invalidation/fake_invalidation_service.h virtual syncer::InvalidatorState GetInvalidatorState() const OVERRIDE; syncer 76 chrome/browser/invalidation/fake_invalidation_service.h void SetInvalidatorState(syncer::InvalidatorState state); syncer 78 chrome/browser/invalidation/fake_invalidation_service.h const syncer::InvalidatorRegistrar& invalidator_registrar() const { syncer 82 chrome/browser/invalidation/fake_invalidation_service.h void EmitInvalidationForTest(const syncer::Invalidation& invalidation); syncer 86 chrome/browser/invalidation/fake_invalidation_service.h syncer::MockAckHandler* GetMockAckHandler(); syncer 90 chrome/browser/invalidation/fake_invalidation_service.h syncer::InvalidatorRegistrar invalidator_registrar_; syncer 91 chrome/browser/invalidation/fake_invalidation_service.h syncer::MockAckHandler mock_ack_handler_; syncer 38 chrome/browser/invalidation/gcm_invalidation_bridge.cc class GCMInvalidationBridge::Core : public syncer::GCMNetworkChannelDelegate, syncer 164 chrome/browser/invalidation/gcm_invalidation_bridge.cc scoped_ptr<syncer::GCMNetworkChannelDelegate> syncer 167 chrome/browser/invalidation/gcm_invalidation_bridge.cc scoped_ptr<syncer::GCMNetworkChannelDelegate> core(new Core( syncer 181 chrome/browser/invalidation/gcm_invalidation_bridge.cc syncer::GCMNetworkChannelDelegate::RequestTokenCallback callback) { syncer 244 chrome/browser/invalidation/gcm_invalidation_bridge.cc syncer::GCMNetworkChannelDelegate::RegisterCallback callback) { syncer 261 chrome/browser/invalidation/gcm_invalidation_bridge.cc syncer::GCMNetworkChannelDelegate::RegisterCallback callback, syncer 61 chrome/browser/invalidation/gcm_invalidation_bridge.h scoped_ptr<syncer::GCMNetworkChannelDelegate> CreateDelegate(); syncer 70 chrome/browser/invalidation/gcm_invalidation_bridge.h syncer::GCMNetworkChannelDelegate::RequestTokenCallback callback); syncer 73 chrome/browser/invalidation/gcm_invalidation_bridge.h void Register(syncer::GCMNetworkChannelDelegate::RegisterCallback callback); syncer 78 chrome/browser/invalidation/gcm_invalidation_bridge.h syncer::GCMNetworkChannelDelegate::RegisterCallback callback, syncer 91 chrome/browser/invalidation/gcm_invalidation_bridge.h syncer::GCMNetworkChannelDelegate::RequestTokenCallback syncer 122 chrome/browser/invalidation/gcm_invalidation_bridge_unittest.cc scoped_ptr<syncer::GCMNetworkChannelDelegate> delegate_; syncer 21 chrome/browser/invalidation/invalidation_controller_android.cc const syncer::ObjectIdSet& ids) { syncer 35 chrome/browser/invalidation/invalidation_controller_android.cc syncer::ObjectIdSet::const_iterator id; syncer 25 chrome/browser/invalidation/invalidation_controller_android.h virtual void SetRegisteredObjectIds(const syncer::ObjectIdSet& ids); syncer 16 chrome/browser/invalidation/invalidation_logger.cc : last_invalidator_state_(syncer::TRANSIENT_INVALIDATION_ERROR) {} syncer 41 chrome/browser/invalidation/invalidation_logger.cc const syncer::InvalidatorState& newState) { syncer 53 chrome/browser/invalidation/invalidation_logger.cc std::map<std::string, syncer::ObjectIdSet> updated_ids) { syncer 54 chrome/browser/invalidation/invalidation_logger.cc for (std::map<std::string, syncer::ObjectIdSet>::const_iterator it = syncer 56 chrome/browser/invalidation/invalidation_logger.cc latest_ids_[it->first] = syncer::ObjectIdSet(it->second); syncer 62 chrome/browser/invalidation/invalidation_logger.cc for (std::map<std::string, syncer::ObjectIdSet>::const_iterator it = syncer 64 chrome/browser/invalidation/invalidation_logger.cc const syncer::ObjectIdSet& object_ids_for_handler = it->second; syncer 65 chrome/browser/invalidation/invalidation_logger.cc syncer::ObjectIdCountMap per_object_invalidation_count; syncer 66 chrome/browser/invalidation/invalidation_logger.cc for (syncer::ObjectIdSet::const_iterator oid_it = syncer 84 chrome/browser/invalidation/invalidation_logger.cc const syncer::ObjectIdInvalidationMap& details) { syncer 85 chrome/browser/invalidation/invalidation_logger.cc std::vector<syncer::Invalidation> internal_invalidations; syncer 87 chrome/browser/invalidation/invalidation_logger.cc for (std::vector<syncer::Invalidation>::const_iterator it = syncer 20 chrome/browser/invalidation/invalidation_logger.h namespace syncer { syncer 51 chrome/browser/invalidation/invalidation_logger.h void OnStateChange(const syncer::InvalidatorState& new_state); syncer 52 chrome/browser/invalidation/invalidation_logger.h void OnUpdateIds(std::map<std::string, syncer::ObjectIdSet> updated_ids); syncer 54 chrome/browser/invalidation/invalidation_logger.h void OnInvalidation(const syncer::ObjectIdInvalidationMap& details); syncer 81 chrome/browser/invalidation/invalidation_logger.h syncer::InvalidatorState last_invalidator_state_; syncer 85 chrome/browser/invalidation/invalidation_logger.h std::map<std::string, syncer::ObjectIdSet> latest_ids_; syncer 88 chrome/browser/invalidation/invalidation_logger.h syncer::ObjectIdCountMap invalidation_count_; syncer 17 chrome/browser/invalidation/invalidation_logger_observer.h namespace syncer { syncer 31 chrome/browser/invalidation/invalidation_logger_observer.h virtual void OnStateChange(const syncer::InvalidatorState& new_state) = 0; syncer 33 chrome/browser/invalidation/invalidation_logger_observer.h const syncer::ObjectIdCountMap& details) = 0; syncer 36 chrome/browser/invalidation/invalidation_logger_observer.h const syncer::ObjectIdInvalidationMap& details) = 0; syncer 23 chrome/browser/invalidation/invalidation_logger_unittest.cc update_id_replicated = std::map<std::string, syncer::ObjectIdCountMap>(); syncer 33 chrome/browser/invalidation/invalidation_logger_unittest.cc virtual void OnStateChange(const syncer::InvalidatorState& newState) syncer 39 chrome/browser/invalidation/invalidation_logger_unittest.cc const syncer::ObjectIdCountMap& details) OVERRIDE { syncer 49 chrome/browser/invalidation/invalidation_logger_unittest.cc const syncer::ObjectIdInvalidationMap& newInvalidations) OVERRIDE { syncer 63 chrome/browser/invalidation/invalidation_logger_unittest.cc std::map<std::string, syncer::ObjectIdCountMap> update_id_replicated; syncer 74 chrome/browser/invalidation/invalidation_logger_unittest.cc log.OnStateChange(syncer::INVALIDATIONS_ENABLED); syncer 84 chrome/browser/invalidation/invalidation_logger_unittest.cc log.OnInvalidation(syncer::ObjectIdInvalidationMap()); syncer 105 chrome/browser/invalidation/invalidation_logger_unittest.cc log.OnInvalidation(syncer::ObjectIdInvalidationMap()); syncer 106 chrome/browser/invalidation/invalidation_logger_unittest.cc log.OnStateChange(syncer::INVALIDATIONS_ENABLED); syncer 110 chrome/browser/invalidation/invalidation_logger_unittest.cc log.OnUpdateIds(std::map<std::string, syncer::ObjectIdSet>()); syncer 138 chrome/browser/invalidation/invalidation_logger_unittest.cc std::map<std::string, syncer::ObjectIdSet> test_map; syncer 139 chrome/browser/invalidation/invalidation_logger_unittest.cc test_map["Test"] = syncer::ObjectIdSet(); syncer 161 chrome/browser/invalidation/invalidation_logger_unittest.cc std::map<std::string, syncer::ObjectIdSet> send_test_map; syncer 162 chrome/browser/invalidation/invalidation_logger_unittest.cc std::map<std::string, syncer::ObjectIdCountMap> expected_received_map; syncer 165 chrome/browser/invalidation/invalidation_logger_unittest.cc syncer::ObjectIdSet sync_set_A; syncer 166 chrome/browser/invalidation/invalidation_logger_unittest.cc syncer::ObjectIdCountMap counted_sync_set_A; syncer 176 chrome/browser/invalidation/invalidation_logger_unittest.cc syncer::ObjectIdSet sync_set_B; syncer 177 chrome/browser/invalidation/invalidation_logger_unittest.cc syncer::ObjectIdCountMap counted_sync_set_B; syncer 192 chrome/browser/invalidation/invalidation_logger_unittest.cc syncer::ObjectIdSet sync_set_B2; syncer 193 chrome/browser/invalidation/invalidation_logger_unittest.cc syncer::ObjectIdCountMap counted_sync_set_B2; syncer 225 chrome/browser/invalidation/invalidation_logger_unittest.cc std::map<std::string, syncer::ObjectIdSet> send_test_map; syncer 226 chrome/browser/invalidation/invalidation_logger_unittest.cc std::map<std::string, syncer::ObjectIdCountMap> expected_received_map; syncer 227 chrome/browser/invalidation/invalidation_logger_unittest.cc syncer::ObjectIdSet sync_set; syncer 228 chrome/browser/invalidation/invalidation_logger_unittest.cc syncer::ObjectIdCountMap counted_sync_set; syncer 235 chrome/browser/invalidation/invalidation_logger_unittest.cc syncer::ObjectIdInvalidationMap fake_invalidations = syncer 236 chrome/browser/invalidation/invalidation_logger_unittest.cc syncer::ObjectIdInvalidationMap::InvalidateAll(sync_set); syncer 13 chrome/browser/invalidation/invalidation_service.h namespace syncer { syncer 77 chrome/browser/invalidation/invalidation_service.h syncer::InvalidationHandler* handler) = 0; syncer 85 chrome/browser/invalidation/invalidation_service.h syncer::InvalidationHandler* handler, syncer 86 chrome/browser/invalidation/invalidation_service.h const syncer::ObjectIdSet& ids) = 0; syncer 94 chrome/browser/invalidation/invalidation_service.h syncer::InvalidationHandler* handler) = 0; syncer 99 chrome/browser/invalidation/invalidation_service.h virtual syncer::InvalidatorState GetInvalidatorState() const = 0; syncer 17 chrome/browser/invalidation/invalidation_service_android.cc : invalidator_state_(syncer::INVALIDATIONS_ENABLED), syncer 29 chrome/browser/invalidation/invalidation_service_android.cc syncer::InvalidationHandler* handler) { syncer 36 chrome/browser/invalidation/invalidation_service_android.cc syncer::InvalidationHandler* handler, syncer 37 chrome/browser/invalidation/invalidation_service_android.cc const syncer::ObjectIdSet& ids) { syncer 46 chrome/browser/invalidation/invalidation_service_android.cc syncer::InvalidationHandler* handler) { syncer 52 chrome/browser/invalidation/invalidation_service_android.cc syncer::InvalidatorState syncer 83 chrome/browser/invalidation/invalidation_service_android.cc content::Details<const syncer::ObjectIdInvalidationMap> syncer 85 chrome/browser/invalidation/invalidation_service_android.cc const syncer::ObjectIdInvalidationMap object_invalidation_map = syncer 89 chrome/browser/invalidation/invalidation_service_android.cc const syncer::ObjectIdInvalidationMap& effective_invalidation_map = syncer 91 chrome/browser/invalidation/invalidation_service_android.cc syncer::ObjectIdInvalidationMap::InvalidateAll( syncer 101 chrome/browser/invalidation/invalidation_service_android.cc syncer::InvalidatorState state) { syncer 46 chrome/browser/invalidation/invalidation_service_android.h syncer::InvalidationHandler* handler) OVERRIDE; syncer 48 chrome/browser/invalidation/invalidation_service_android.h syncer::InvalidationHandler* handler, syncer 49 chrome/browser/invalidation/invalidation_service_android.h const syncer::ObjectIdSet& ids) OVERRIDE; syncer 51 chrome/browser/invalidation/invalidation_service_android.h syncer::InvalidationHandler* handler) OVERRIDE; syncer 52 chrome/browser/invalidation/invalidation_service_android.h virtual syncer::InvalidatorState GetInvalidatorState() const OVERRIDE; syncer 67 chrome/browser/invalidation/invalidation_service_android.h void TriggerStateChangeForTest(syncer::InvalidatorState state); syncer 70 chrome/browser/invalidation/invalidation_service_android.h syncer::InvalidatorRegistrar invalidator_registrar_; syncer 72 chrome/browser/invalidation/invalidation_service_android.h syncer::InvalidatorState invalidator_state_; syncer 23 chrome/browser/invalidation/invalidation_service_android_unittest.cc virtual void SetRegisteredObjectIds(const syncer::ObjectIdSet& ids) OVERRIDE { syncer 27 chrome/browser/invalidation/invalidation_service_android_unittest.cc syncer::ObjectIdSet registered_ids_; syncer 54 chrome/browser/invalidation/invalidation_service_android_unittest.cc void TriggerOnInvalidatorStateChange(syncer::InvalidatorState state) { syncer 59 chrome/browser/invalidation/invalidation_service_android_unittest.cc const syncer::ObjectIdInvalidationMap& invalidation_map) { syncer 63 chrome/browser/invalidation/invalidation_service_android_unittest.cc content::Details<const syncer::ObjectIdInvalidationMap>( syncer 103 chrome/browser/invalidation/invalidation_service_android_unittest.cc const syncer::ObjectIdSet& registered_ids() { syncer 113 chrome/browser/invalidation/invalidation_service_android_unittest.cc syncer::FakeInvalidationHandler handler; syncer 120 chrome/browser/invalidation/invalidation_service_android_unittest.cc syncer::FakeInvalidationHandler handler; syncer 123 chrome/browser/invalidation/invalidation_service_android_unittest.cc syncer::ObjectIdSet ids; syncer 16 chrome/browser/invalidation/invalidation_service_factory.h namespace syncer { syncer 12 chrome/browser/invalidation/invalidation_service_test_template.cc last_retrieved_state_(syncer::DEFAULT_INVALIDATION_ERROR) {} syncer 16 chrome/browser/invalidation/invalidation_service_test_template.cc syncer::InvalidatorState syncer 22 chrome/browser/invalidation/invalidation_service_test_template.cc syncer::InvalidatorState state) { syncer 121 chrome/browser/invalidation/invalidation_service_test_template.h syncer::FakeInvalidationHandler handler; syncer 125 chrome/browser/invalidation/invalidation_service_test_template.h syncer::ObjectIdInvalidationMap invalidation_map; syncer 126 chrome/browser/invalidation/invalidation_service_test_template.h invalidation_map.Insert(syncer::Invalidation::Init(this->id1, 1, "1")); syncer 127 chrome/browser/invalidation/invalidation_service_test_template.h invalidation_map.Insert(syncer::Invalidation::Init(this->id2, 2, "2")); syncer 128 chrome/browser/invalidation/invalidation_service_test_template.h invalidation_map.Insert(syncer::Invalidation::Init(this->id3, 3, "3")); syncer 134 chrome/browser/invalidation/invalidation_service_test_template.h syncer::ObjectIdSet ids; syncer 140 chrome/browser/invalidation/invalidation_service_test_template.h syncer::INVALIDATIONS_ENABLED); syncer 141 chrome/browser/invalidation/invalidation_service_test_template.h EXPECT_EQ(syncer::INVALIDATIONS_ENABLED, handler.GetInvalidatorState()); syncer 143 chrome/browser/invalidation/invalidation_service_test_template.h syncer::ObjectIdInvalidationMap expected_invalidations; syncer 144 chrome/browser/invalidation/invalidation_service_test_template.h expected_invalidations.Insert(syncer::Invalidation::Init(this->id1, 1, "1")); syncer 145 chrome/browser/invalidation/invalidation_service_test_template.h expected_invalidations.Insert(syncer::Invalidation::Init(this->id2, 2, "2")); syncer 155 chrome/browser/invalidation/invalidation_service_test_template.h expected_invalidations = syncer::ObjectIdInvalidationMap(); syncer 156 chrome/browser/invalidation/invalidation_service_test_template.h expected_invalidations.Insert(syncer::Invalidation::Init(this->id2, 2, "2")); syncer 157 chrome/browser/invalidation/invalidation_service_test_template.h expected_invalidations.Insert(syncer::Invalidation::Init(this->id3, 3, "3")); syncer 165 chrome/browser/invalidation/invalidation_service_test_template.h syncer::TRANSIENT_INVALIDATION_ERROR); syncer 166 chrome/browser/invalidation/invalidation_service_test_template.h EXPECT_EQ(syncer::TRANSIENT_INVALIDATION_ERROR, syncer 170 chrome/browser/invalidation/invalidation_service_test_template.h syncer::INVALIDATIONS_ENABLED); syncer 171 chrome/browser/invalidation/invalidation_service_test_template.h EXPECT_EQ(syncer::INVALIDATIONS_ENABLED, syncer 190 chrome/browser/invalidation/invalidation_service_test_template.h syncer::FakeInvalidationHandler handler1; syncer 191 chrome/browser/invalidation/invalidation_service_test_template.h syncer::FakeInvalidationHandler handler2; syncer 192 chrome/browser/invalidation/invalidation_service_test_template.h syncer::FakeInvalidationHandler handler3; syncer 193 chrome/browser/invalidation/invalidation_service_test_template.h syncer::FakeInvalidationHandler handler4; syncer 201 chrome/browser/invalidation/invalidation_service_test_template.h syncer::ObjectIdSet ids; syncer 208 chrome/browser/invalidation/invalidation_service_test_template.h syncer::ObjectIdSet ids; syncer 216 chrome/browser/invalidation/invalidation_service_test_template.h syncer::ObjectIdSet ids; syncer 224 chrome/browser/invalidation/invalidation_service_test_template.h syncer::INVALIDATIONS_ENABLED); syncer 225 chrome/browser/invalidation/invalidation_service_test_template.h EXPECT_EQ(syncer::INVALIDATIONS_ENABLED, handler1.GetInvalidatorState()); syncer 226 chrome/browser/invalidation/invalidation_service_test_template.h EXPECT_EQ(syncer::INVALIDATIONS_ENABLED, handler2.GetInvalidatorState()); syncer 227 chrome/browser/invalidation/invalidation_service_test_template.h EXPECT_EQ(syncer::INVALIDATIONS_ENABLED, handler3.GetInvalidatorState()); syncer 228 chrome/browser/invalidation/invalidation_service_test_template.h EXPECT_EQ(syncer::TRANSIENT_INVALIDATION_ERROR, syncer 232 chrome/browser/invalidation/invalidation_service_test_template.h syncer::ObjectIdInvalidationMap invalidation_map; syncer 233 chrome/browser/invalidation/invalidation_service_test_template.h invalidation_map.Insert(syncer::Invalidation::Init(this->id1, 1, "1")); syncer 234 chrome/browser/invalidation/invalidation_service_test_template.h invalidation_map.Insert(syncer::Invalidation::Init(this->id2, 2, "2")); syncer 235 chrome/browser/invalidation/invalidation_service_test_template.h invalidation_map.Insert(syncer::Invalidation::Init(this->id3, 3, "3")); syncer 236 chrome/browser/invalidation/invalidation_service_test_template.h invalidation_map.Insert(syncer::Invalidation::Init(this->id4, 4, "4")); syncer 239 chrome/browser/invalidation/invalidation_service_test_template.h syncer::ObjectIdInvalidationMap expected_invalidations; syncer 241 chrome/browser/invalidation/invalidation_service_test_template.h syncer::Invalidation::Init(this->id1, 1, "1")); syncer 243 chrome/browser/invalidation/invalidation_service_test_template.h syncer::Invalidation::Init(this->id2, 2, "2")); syncer 248 chrome/browser/invalidation/invalidation_service_test_template.h expected_invalidations = syncer::ObjectIdInvalidationMap(); syncer 250 chrome/browser/invalidation/invalidation_service_test_template.h syncer::Invalidation::Init(this->id3, 3, "3")); syncer 260 chrome/browser/invalidation/invalidation_service_test_template.h syncer::TRANSIENT_INVALIDATION_ERROR); syncer 261 chrome/browser/invalidation/invalidation_service_test_template.h EXPECT_EQ(syncer::TRANSIENT_INVALIDATION_ERROR, syncer 263 chrome/browser/invalidation/invalidation_service_test_template.h EXPECT_EQ(syncer::TRANSIENT_INVALIDATION_ERROR, syncer 265 chrome/browser/invalidation/invalidation_service_test_template.h EXPECT_EQ(syncer::TRANSIENT_INVALIDATION_ERROR, syncer 267 chrome/browser/invalidation/invalidation_service_test_template.h EXPECT_EQ(syncer::TRANSIENT_INVALIDATION_ERROR, syncer 281 chrome/browser/invalidation/invalidation_service_test_template.h syncer::FakeInvalidationHandler handler1; syncer 284 chrome/browser/invalidation/invalidation_service_test_template.h syncer::FakeInvalidationHandler handler2; syncer 290 chrome/browser/invalidation/invalidation_service_test_template.h syncer::ObjectIdSet ids; syncer 297 chrome/browser/invalidation/invalidation_service_test_template.h syncer::ObjectIdSet ids; syncer 305 chrome/browser/invalidation/invalidation_service_test_template.h syncer::ObjectIdSet()); syncer 308 chrome/browser/invalidation/invalidation_service_test_template.h syncer::INVALIDATIONS_ENABLED); syncer 309 chrome/browser/invalidation/invalidation_service_test_template.h EXPECT_EQ(syncer::INVALIDATIONS_ENABLED, handler1.GetInvalidatorState()); syncer 310 chrome/browser/invalidation/invalidation_service_test_template.h EXPECT_EQ(syncer::INVALIDATIONS_ENABLED, handler2.GetInvalidatorState()); syncer 313 chrome/browser/invalidation/invalidation_service_test_template.h syncer::ObjectIdInvalidationMap invalidation_map; syncer 314 chrome/browser/invalidation/invalidation_service_test_template.h invalidation_map.Insert(syncer::Invalidation::Init(this->id1, 1, "1")); syncer 315 chrome/browser/invalidation/invalidation_service_test_template.h invalidation_map.Insert(syncer::Invalidation::Init(this->id2, 2, "2")); syncer 316 chrome/browser/invalidation/invalidation_service_test_template.h invalidation_map.Insert(syncer::Invalidation::Init(this->id3, 3, "3")); syncer 323 chrome/browser/invalidation/invalidation_service_test_template.h syncer::TRANSIENT_INVALIDATION_ERROR); syncer 324 chrome/browser/invalidation/invalidation_service_test_template.h EXPECT_EQ(syncer::TRANSIENT_INVALIDATION_ERROR, syncer 326 chrome/browser/invalidation/invalidation_service_test_template.h EXPECT_EQ(syncer::TRANSIENT_INVALIDATION_ERROR, syncer 338 chrome/browser/invalidation/invalidation_service_test_template.h class BoundFakeInvalidationHandler : public syncer::FakeInvalidationHandler { syncer 347 chrome/browser/invalidation/invalidation_service_test_template.h syncer::InvalidatorState GetLastRetrievedState() const; syncer 351 chrome/browser/invalidation/invalidation_service_test_template.h syncer::InvalidatorState state) OVERRIDE; syncer 355 chrome/browser/invalidation/invalidation_service_test_template.h syncer::InvalidatorState last_retrieved_state_; syncer 370 chrome/browser/invalidation/invalidation_service_test_template.h syncer::INVALIDATIONS_ENABLED); syncer 371 chrome/browser/invalidation/invalidation_service_test_template.h EXPECT_EQ(syncer::INVALIDATIONS_ENABLED, handler.GetInvalidatorState()); syncer 372 chrome/browser/invalidation/invalidation_service_test_template.h EXPECT_EQ(syncer::INVALIDATIONS_ENABLED, handler.GetLastRetrievedState()); syncer 375 chrome/browser/invalidation/invalidation_service_test_template.h syncer::TRANSIENT_INVALIDATION_ERROR); syncer 376 chrome/browser/invalidation/invalidation_service_test_template.h EXPECT_EQ(syncer::TRANSIENT_INVALIDATION_ERROR, syncer 378 chrome/browser/invalidation/invalidation_service_test_template.h EXPECT_EQ(syncer::TRANSIENT_INVALIDATION_ERROR, syncer 28 chrome/browser/invalidation/invalidator_storage.cc syncer::UnackedInvalidationsMap* map) { syncer 31 chrome/browser/invalidation/invalidator_storage.cc syncer::UnackedInvalidationSet storage(invalid_id); syncer 43 chrome/browser/invalidation/invalidator_storage.cc const syncer::UnackedInvalidationsMap& map) { syncer 45 chrome/browser/invalidation/invalidator_storage.cc for (syncer::UnackedInvalidationsMap::const_iterator it = map.begin(); syncer 112 chrome/browser/invalidation/invalidator_storage.cc const syncer::UnackedInvalidationsMap& map) { syncer 117 chrome/browser/invalidation/invalidator_storage.cc syncer::UnackedInvalidationsMap syncer 119 chrome/browser/invalidation/invalidator_storage.cc syncer::UnackedInvalidationsMap map; syncer 123 chrome/browser/invalidation/invalidator_storage.cc return syncer::UnackedInvalidationsMap(); syncer 33 chrome/browser/invalidation/invalidator_storage.h public syncer::InvalidationStateTracker { syncer 47 chrome/browser/invalidation/invalidator_storage.h const syncer::UnackedInvalidationsMap& map) OVERRIDE; syncer 48 chrome/browser/invalidation/invalidator_storage.h virtual syncer::UnackedInvalidationsMap GetSavedInvalidations() syncer 66 chrome/browser/invalidation/invalidator_storage_unittest.cc syncer::UnackedInvalidationsMap empty_map; syncer 70 chrome/browser/invalidation/invalidator_storage_unittest.cc syncer::UnackedInvalidationsMap restored_map = syncer 79 chrome/browser/invalidation/invalidator_storage_unittest.cc syncer::UnackedInvalidationSet storage1(id1); syncer 80 chrome/browser/invalidation/invalidator_storage_unittest.cc syncer::Invalidation unknown_version_inv = syncer 81 chrome/browser/invalidation/invalidator_storage_unittest.cc syncer::Invalidation::InitUnknownVersion(id1); syncer 82 chrome/browser/invalidation/invalidator_storage_unittest.cc syncer::Invalidation known_version_inv = syncer 83 chrome/browser/invalidation/invalidator_storage_unittest.cc syncer::Invalidation::Init(id1, 314, "payload"); syncer 88 chrome/browser/invalidation/invalidator_storage_unittest.cc syncer::UnackedInvalidationSet storage2(id2); syncer 89 chrome/browser/invalidation/invalidator_storage_unittest.cc syncer::Invalidation obj2_inv = syncer 90 chrome/browser/invalidation/invalidator_storage_unittest.cc syncer::Invalidation::Init(id2, 1234, "payl\0ad\xff"); syncer 93 chrome/browser/invalidation/invalidator_storage_unittest.cc syncer::UnackedInvalidationsMap map; syncer 98 chrome/browser/invalidation/invalidator_storage_unittest.cc syncer::UnackedInvalidationsMap restored_map = syncer 101 chrome/browser/invalidation/invalidator_storage_unittest.cc EXPECT_THAT(map, syncer::test_util::Eq(restored_map)); syncer 25 chrome/browser/invalidation/p2p_invalidation_service.cc syncer::P2PNotificationTarget notification_target) syncer 31 chrome/browser/invalidation/p2p_invalidation_service.cc invalidator_.reset(new syncer::P2PInvalidator( syncer 50 chrome/browser/invalidation/p2p_invalidation_service.cc syncer::InvalidationHandler* handler) { syncer 55 chrome/browser/invalidation/p2p_invalidation_service.cc syncer::InvalidationHandler* handler, syncer 56 chrome/browser/invalidation/p2p_invalidation_service.cc const syncer::ObjectIdSet& ids) { syncer 61 chrome/browser/invalidation/p2p_invalidation_service.cc syncer::InvalidationHandler* handler) { syncer 66 chrome/browser/invalidation/p2p_invalidation_service.cc const syncer::ObjectIdSet& ids) { syncer 70 chrome/browser/invalidation/p2p_invalidation_service.cc syncer::InvalidatorState P2PInvalidationService::GetInvalidatorState() const { syncer 14 chrome/browser/invalidation/p2p_invalidation_service.h namespace syncer { syncer 33 chrome/browser/invalidation/p2p_invalidation_service.h syncer::P2PNotificationTarget notification_target); syncer 42 chrome/browser/invalidation/p2p_invalidation_service.h syncer::InvalidationHandler* handler) OVERRIDE; syncer 44 chrome/browser/invalidation/p2p_invalidation_service.h syncer::InvalidationHandler* handler, syncer 45 chrome/browser/invalidation/p2p_invalidation_service.h const syncer::ObjectIdSet& ids) OVERRIDE; syncer 47 chrome/browser/invalidation/p2p_invalidation_service.h syncer::InvalidationHandler* handler) OVERRIDE; syncer 48 chrome/browser/invalidation/p2p_invalidation_service.h virtual syncer::InvalidatorState GetInvalidatorState() const OVERRIDE; syncer 58 chrome/browser/invalidation/p2p_invalidation_service.h void SendInvalidation(const syncer::ObjectIdSet& ids); syncer 62 chrome/browser/invalidation/p2p_invalidation_service.h scoped_ptr<syncer::P2PInvalidator> invalidator_; syncer 69 chrome/browser/invalidation/ticl_invalidation_service.cc invalidator_registrar_(new syncer::InvalidatorRegistrar()), syncer 111 chrome/browser/invalidation/ticl_invalidation_service.cc void TiclInvalidationService::InitForTest(syncer::Invalidator* invalidator) { syncer 124 chrome/browser/invalidation/ticl_invalidation_service.cc syncer::InvalidationHandler* handler) { syncer 132 chrome/browser/invalidation/ticl_invalidation_service.cc syncer::InvalidationHandler* handler, syncer 133 chrome/browser/invalidation/ticl_invalidation_service.cc const syncer::ObjectIdSet& ids) { syncer 146 chrome/browser/invalidation/ticl_invalidation_service.cc syncer::InvalidationHandler* handler) { syncer 158 chrome/browser/invalidation/ticl_invalidation_service.cc syncer::InvalidatorState TiclInvalidationService::GetInvalidatorState() const { syncer 166 chrome/browser/invalidation/ticl_invalidation_service.cc return syncer::TRANSIENT_INVALIDATION_ERROR; syncer 247 chrome/browser/invalidation/ticl_invalidation_service.cc syncer::INVALIDATION_CREDENTIALS_REJECTED); syncer 291 chrome/browser/invalidation/ticl_invalidation_service.cc syncer::InvalidatorState state) { syncer 292 chrome/browser/invalidation/ticl_invalidation_service.cc if (state == syncer::INVALIDATION_CREDENTIALS_REJECTED) { syncer 304 chrome/browser/invalidation/ticl_invalidation_service.cc syncer::TRANSIENT_INVALIDATION_ERROR); syncer 313 chrome/browser/invalidation/ticl_invalidation_service.cc const syncer::ObjectIdInvalidationMap& invalidation_map) { syncer 381 chrome/browser/invalidation/ticl_invalidation_service.cc syncer::NetworkChannelCreator network_channel_creator; syncer 395 chrome/browser/invalidation/ticl_invalidation_service.cc syncer::NonBlockingInvalidator::MakePushClientChannelCreator(options); syncer 404 chrome/browser/invalidation/ticl_invalidation_service.cc syncer::NonBlockingInvalidator::MakeGCMNetworkChannelCreator( syncer 414 chrome/browser/invalidation/ticl_invalidation_service.cc invalidator_.reset(new syncer::NonBlockingInvalidator( syncer 419 chrome/browser/invalidation/ticl_invalidation_service.cc syncer::WeakHandle<syncer::InvalidationStateTracker>( syncer 27 chrome/browser/invalidation/ticl_invalidation_service.h namespace syncer { syncer 41 chrome/browser/invalidation/ticl_invalidation_service.h public syncer::InvalidationHandler { syncer 61 chrome/browser/invalidation/ticl_invalidation_service.h syncer::InvalidationHandler* handler) OVERRIDE; syncer 63 chrome/browser/invalidation/ticl_invalidation_service.h syncer::InvalidationHandler* handler, syncer 64 chrome/browser/invalidation/ticl_invalidation_service.h const syncer::ObjectIdSet& ids) OVERRIDE; syncer 66 chrome/browser/invalidation/ticl_invalidation_service.h syncer::InvalidationHandler* handler) OVERRIDE; syncer 67 chrome/browser/invalidation/ticl_invalidation_service.h virtual syncer::InvalidatorState GetInvalidatorState() const OVERRIDE; syncer 94 chrome/browser/invalidation/ticl_invalidation_service.h syncer::InvalidatorState state) OVERRIDE; syncer 96 chrome/browser/invalidation/ticl_invalidation_service.h const syncer::ObjectIdInvalidationMap& invalidation_map) OVERRIDE; syncer 104 chrome/browser/invalidation/ticl_invalidation_service.h void InitForTest(syncer::Invalidator* invalidator); syncer 121 chrome/browser/invalidation/ticl_invalidation_service.h scoped_ptr<syncer::InvalidatorRegistrar> invalidator_registrar_; syncer 123 chrome/browser/invalidation/ticl_invalidation_service.h scoped_ptr<syncer::Invalidator> invalidator_; syncer 50 chrome/browser/invalidation/ticl_invalidation_service_unittest.cc fake_invalidator_ = new syncer::FakeInvalidator(); syncer 62 chrome/browser/invalidation/ticl_invalidation_service_unittest.cc void TriggerOnInvalidatorStateChange(syncer::InvalidatorState state) { syncer 67 chrome/browser/invalidation/ticl_invalidation_service_unittest.cc const syncer::ObjectIdInvalidationMap& invalidation_map) { syncer 71 chrome/browser/invalidation/ticl_invalidation_service_unittest.cc syncer::FakeInvalidator* fake_invalidator_; // owned by the service. syncer 28 chrome/browser/managed_mode/managed_user_registration_utility_unittest.cc using syncer::MANAGED_USERS; syncer 29 chrome/browser/managed_mode/managed_user_registration_utility_unittest.cc using syncer::SyncChange; syncer 30 chrome/browser/managed_mode/managed_user_registration_utility_unittest.cc using syncer::SyncChangeList; syncer 31 chrome/browser/managed_mode/managed_user_registration_utility_unittest.cc using syncer::SyncChangeProcessor; syncer 32 chrome/browser/managed_mode/managed_user_registration_utility_unittest.cc using syncer::SyncData; syncer 33 chrome/browser/managed_mode/managed_user_registration_utility_unittest.cc using syncer::SyncDataList; syncer 34 chrome/browser/managed_mode/managed_user_registration_utility_unittest.cc using syncer::SyncError; syncer 35 chrome/browser/managed_mode/managed_user_registration_utility_unittest.cc using syncer::SyncErrorFactory; syncer 36 chrome/browser/managed_mode/managed_user_registration_utility_unittest.cc using syncer::SyncMergeResult; syncer 52 chrome/browser/managed_mode/managed_user_registration_utility_unittest.cc virtual SyncDataList GetAllSyncData(syncer::ModelType type) const syncer 175 chrome/browser/managed_mode/managed_user_registration_utility_unittest.cc return scoped_ptr<SyncErrorFactory>(new syncer::SyncErrorFactoryMock()); syncer 381 chrome/browser/managed_mode/managed_user_service.cc syncer::ModelTypeSet synced_datatypes; syncer 382 chrome/browser/managed_mode/managed_user_service.cc synced_datatypes.Put(syncer::MANAGED_USER_SETTINGS); syncer 27 chrome/browser/managed_mode/managed_user_settings_service.cc using syncer::MANAGED_USER_SETTINGS; syncer 28 chrome/browser/managed_mode/managed_user_settings_service.cc using syncer::ModelType; syncer 29 chrome/browser/managed_mode/managed_user_settings_service.cc using syncer::SyncChange; syncer 30 chrome/browser/managed_mode/managed_user_settings_service.cc using syncer::SyncChangeList; syncer 31 chrome/browser/managed_mode/managed_user_settings_service.cc using syncer::SyncChangeProcessor; syncer 32 chrome/browser/managed_mode/managed_user_settings_service.cc using syncer::SyncData; syncer 33 chrome/browser/managed_mode/managed_user_settings_service.cc using syncer::SyncDataList; syncer 34 chrome/browser/managed_mode/managed_user_settings_service.cc using syncer::SyncError; syncer 35 chrome/browser/managed_mode/managed_user_settings_service.cc using syncer::SyncErrorFactory; syncer 36 chrome/browser/managed_mode/managed_user_settings_service.cc using syncer::SyncMergeResult; syncer 220 chrome/browser/managed_mode/managed_user_settings_service.cc DCHECK_EQ(syncer::MANAGED_USER_SETTINGS, type); syncer 227 chrome/browser/managed_mode/managed_user_settings_service.cc DCHECK_EQ(syncer::MANAGED_USER_SETTINGS, type); syncer 53 chrome/browser/managed_mode/managed_user_settings_service.h public syncer::SyncableService, syncer 107 chrome/browser/managed_mode/managed_user_settings_service.h static syncer::SyncData CreateSyncDataForSetting(const std::string& name, syncer 114 chrome/browser/managed_mode/managed_user_settings_service.h virtual syncer::SyncMergeResult MergeDataAndStartSyncing( syncer 115 chrome/browser/managed_mode/managed_user_settings_service.h syncer::ModelType type, syncer 116 chrome/browser/managed_mode/managed_user_settings_service.h const syncer::SyncDataList& initial_sync_data, syncer 117 chrome/browser/managed_mode/managed_user_settings_service.h scoped_ptr<syncer::SyncChangeProcessor> sync_processor, syncer 118 chrome/browser/managed_mode/managed_user_settings_service.h scoped_ptr<syncer::SyncErrorFactory> error_handler) OVERRIDE; syncer 119 chrome/browser/managed_mode/managed_user_settings_service.h virtual void StopSyncing(syncer::ModelType type) OVERRIDE; syncer 120 chrome/browser/managed_mode/managed_user_settings_service.h virtual syncer::SyncDataList GetAllSyncData(syncer::ModelType type) const syncer 122 chrome/browser/managed_mode/managed_user_settings_service.h virtual syncer::SyncError ProcessSyncChanges( syncer 124 chrome/browser/managed_mode/managed_user_settings_service.h const syncer::SyncChangeList& change_list) OVERRIDE; syncer 161 chrome/browser/managed_mode/managed_user_settings_service.h scoped_ptr<syncer::SyncChangeProcessor> sync_processor_; syncer 162 chrome/browser/managed_mode/managed_user_settings_service.h scoped_ptr<syncer::SyncErrorFactory> error_handler_; syncer 20 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc class MockSyncErrorFactory : public syncer::SyncErrorFactory { syncer 22 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc explicit MockSyncErrorFactory(syncer::ModelType type); syncer 26 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc virtual syncer::SyncError CreateAndUploadError( syncer 31 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc syncer::ModelType type_; syncer 36 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc MockSyncErrorFactory::MockSyncErrorFactory(syncer::ModelType type) syncer 41 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc syncer::SyncError MockSyncErrorFactory::CreateAndUploadError( syncer 44 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc return syncer::SyncError(location, syncer 45 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc syncer::SyncError::DATATYPE_ERROR, syncer 62 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc scoped_ptr<syncer::SyncChangeProcessor> CreateSyncProcessor() { syncer 63 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc sync_processor_.reset(new syncer::FakeSyncChangeProcessor); syncer 64 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc return scoped_ptr<syncer::SyncChangeProcessor>( syncer 65 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc new syncer::SyncChangeProcessorWrapperForTest(sync_processor_.get())); syncer 68 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc void StartSyncing(const syncer::SyncDataList& initial_sync_data) { syncer 69 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc scoped_ptr<syncer::SyncErrorFactory> error_handler( syncer 70 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc new MockSyncErrorFactory(syncer::MANAGED_USER_SETTINGS)); syncer 71 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc syncer::SyncMergeResult result = settings_service_.MergeDataAndStartSyncing( syncer 72 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc syncer::MANAGED_USER_SETTINGS, syncer 94 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc void VerifySyncDataItem(syncer::SyncData sync_data) { syncer 143 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc scoped_ptr<syncer::FakeSyncChangeProcessor> sync_processor_; syncer 147 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc StartSyncing(syncer::SyncDataList()); syncer 153 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc syncer::SyncData data = syncer 156 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc syncer::SyncChangeList change_list; syncer 158 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc syncer::SyncChange(FROM_HERE, syncer::SyncChange::ACTION_ADD, data)); syncer 159 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc syncer::SyncError error = syncer 170 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc StartSyncing(syncer::SyncDataList()); syncer 181 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc syncer::SyncChangeList change_list; syncer 183 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc syncer::SyncData data = syncer 189 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc syncer::SyncChange(FROM_HERE, syncer::SyncChange::ACTION_ADD, data)); syncer 191 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc syncer::SyncError error = syncer 222 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc StartSyncing(syncer::SyncDataList()); syncer 224 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc for (syncer::SyncChangeList::const_iterator it = syncer 229 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_ADD, it->change_type()); syncer 234 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc syncer::SyncDataList sync_data = syncer 235 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc settings_service_.GetAllSyncData(syncer::MANAGED_USER_SETTINGS); syncer 237 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc for (syncer::SyncDataList::const_iterator it = sync_data.begin(); syncer 246 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc syncer::SyncChange change = sync_processor_->changes()[0]; syncer 248 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_ADD, change.change_type()); syncer 251 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc sync_data = settings_service_.GetAllSyncData(syncer::MANAGED_USER_SETTINGS); syncer 253 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc for (syncer::SyncDataList::const_iterator it = sync_data.begin(); syncer 265 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_UPDATE, change.change_type()); syncer 268 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc sync_data = settings_service_.GetAllSyncData(syncer::MANAGED_USER_SETTINGS); syncer 270 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc for (syncer::SyncDataList::const_iterator it = sync_data.begin(); syncer 280 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_UPDATE, change.change_type()); syncer 283 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc sync_data = settings_service_.GetAllSyncData(syncer::MANAGED_USER_SETTINGS); syncer 285 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc for (syncer::SyncDataList::const_iterator it = sync_data.begin(); syncer 296 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc settings_service_.StopSyncing(syncer::MANAGED_USER_SETTINGS); syncer 23 chrome/browser/managed_mode/managed_user_shared_settings_service.cc using syncer::MANAGED_USER_SHARED_SETTINGS; syncer 24 chrome/browser/managed_mode/managed_user_shared_settings_service.cc using syncer::ModelType; syncer 25 chrome/browser/managed_mode/managed_user_shared_settings_service.cc using syncer::SyncChange; syncer 26 chrome/browser/managed_mode/managed_user_shared_settings_service.cc using syncer::SyncChangeList; syncer 27 chrome/browser/managed_mode/managed_user_shared_settings_service.cc using syncer::SyncChangeProcessor; syncer 28 chrome/browser/managed_mode/managed_user_shared_settings_service.cc using syncer::SyncData; syncer 29 chrome/browser/managed_mode/managed_user_shared_settings_service.cc using syncer::SyncDataList; syncer 30 chrome/browser/managed_mode/managed_user_shared_settings_service.cc using syncer::SyncError; syncer 31 chrome/browser/managed_mode/managed_user_shared_settings_service.cc using syncer::SyncErrorFactory; syncer 32 chrome/browser/managed_mode/managed_user_shared_settings_service.cc using syncer::SyncMergeResult; syncer 188 chrome/browser/managed_mode/managed_user_shared_settings_service.cc syncer::SyncMergeResult syncer 190 chrome/browser/managed_mode/managed_user_shared_settings_service.cc syncer::ModelType type, syncer 191 chrome/browser/managed_mode/managed_user_shared_settings_service.cc const syncer::SyncDataList& initial_sync_data, syncer 192 chrome/browser/managed_mode/managed_user_shared_settings_service.cc scoped_ptr<syncer::SyncChangeProcessor> sync_processor, syncer 193 chrome/browser/managed_mode/managed_user_shared_settings_service.cc scoped_ptr<syncer::SyncErrorFactory> error_handler) { syncer 265 chrome/browser/managed_mode/managed_user_shared_settings_service.cc void ManagedUserSharedSettingsService::StopSyncing(syncer::ModelType type) { syncer 271 chrome/browser/managed_mode/managed_user_shared_settings_service.cc syncer::SyncDataList ManagedUserSharedSettingsService::GetAllSyncData( syncer 272 chrome/browser/managed_mode/managed_user_shared_settings_service.cc syncer::ModelType type) const { syncer 289 chrome/browser/managed_mode/managed_user_shared_settings_service.cc syncer::SyncError ManagedUserSharedSettingsService::ProcessSyncChanges( syncer 291 chrome/browser/managed_mode/managed_user_shared_settings_service.cc const syncer::SyncChangeList& change_list) { syncer 38 chrome/browser/managed_mode/managed_user_shared_settings_service.h public syncer::SyncableService { syncer 83 chrome/browser/managed_mode/managed_user_shared_settings_service.h static syncer::SyncData CreateSyncDataForSetting(const std::string& mu_id, syncer 92 chrome/browser/managed_mode/managed_user_shared_settings_service.h virtual syncer::SyncMergeResult MergeDataAndStartSyncing( syncer 93 chrome/browser/managed_mode/managed_user_shared_settings_service.h syncer::ModelType type, syncer 94 chrome/browser/managed_mode/managed_user_shared_settings_service.h const syncer::SyncDataList& initial_sync_data, syncer 95 chrome/browser/managed_mode/managed_user_shared_settings_service.h scoped_ptr<syncer::SyncChangeProcessor> sync_processor, syncer 96 chrome/browser/managed_mode/managed_user_shared_settings_service.h scoped_ptr<syncer::SyncErrorFactory> error_handler) OVERRIDE; syncer 97 chrome/browser/managed_mode/managed_user_shared_settings_service.h virtual void StopSyncing(syncer::ModelType type) OVERRIDE; syncer 98 chrome/browser/managed_mode/managed_user_shared_settings_service.h virtual syncer::SyncDataList GetAllSyncData(syncer::ModelType type) const syncer 100 chrome/browser/managed_mode/managed_user_shared_settings_service.h virtual syncer::SyncError ProcessSyncChanges( syncer 102 chrome/browser/managed_mode/managed_user_shared_settings_service.h const syncer::SyncChangeList& change_list) OVERRIDE; syncer 107 chrome/browser/managed_mode/managed_user_shared_settings_service.h scoped_ptr<syncer::SyncChangeProcessor> sync_processor_; syncer 108 chrome/browser/managed_mode/managed_user_shared_settings_service.h scoped_ptr<syncer::SyncErrorFactory> error_handler_; syncer 23 chrome/browser/managed_mode/managed_user_shared_settings_service_unittest.cc using syncer::MANAGED_USER_SHARED_SETTINGS; syncer 24 chrome/browser/managed_mode/managed_user_shared_settings_service_unittest.cc using syncer::SyncChange; syncer 25 chrome/browser/managed_mode/managed_user_shared_settings_service_unittest.cc using syncer::SyncChangeList; syncer 26 chrome/browser/managed_mode/managed_user_shared_settings_service_unittest.cc using syncer::SyncChangeProcessor; syncer 27 chrome/browser/managed_mode/managed_user_shared_settings_service_unittest.cc using syncer::SyncChangeProcessorWrapperForTest; syncer 28 chrome/browser/managed_mode/managed_user_shared_settings_service_unittest.cc using syncer::SyncData; syncer 29 chrome/browser/managed_mode/managed_user_shared_settings_service_unittest.cc using syncer::SyncDataList; syncer 30 chrome/browser/managed_mode/managed_user_shared_settings_service_unittest.cc using syncer::SyncError; syncer 31 chrome/browser/managed_mode/managed_user_shared_settings_service_unittest.cc using syncer::SyncErrorFactory; syncer 32 chrome/browser/managed_mode/managed_user_shared_settings_service_unittest.cc using syncer::SyncMergeResult; syncer 36 chrome/browser/managed_mode/managed_user_shared_settings_service_unittest.cc class MockSyncErrorFactory : public syncer::SyncErrorFactory { syncer 38 chrome/browser/managed_mode/managed_user_shared_settings_service_unittest.cc explicit MockSyncErrorFactory(syncer::ModelType type); syncer 42 chrome/browser/managed_mode/managed_user_shared_settings_service_unittest.cc virtual syncer::SyncError CreateAndUploadError( syncer 47 chrome/browser/managed_mode/managed_user_shared_settings_service_unittest.cc syncer::ModelType type_; syncer 52 chrome/browser/managed_mode/managed_user_shared_settings_service_unittest.cc MockSyncErrorFactory::MockSyncErrorFactory(syncer::ModelType type) syncer 57 chrome/browser/managed_mode/managed_user_shared_settings_service_unittest.cc syncer::SyncError MockSyncErrorFactory::CreateAndUploadError( syncer 60 chrome/browser/managed_mode/managed_user_shared_settings_service_unittest.cc return syncer::SyncError(location, SyncError::DATATYPE_ERROR, message, type_); syncer 84 chrome/browser/managed_mode/managed_user_shared_settings_service_unittest.cc void StartSyncing(const syncer::SyncDataList& initial_sync_data) { syncer 85 chrome/browser/managed_mode/managed_user_shared_settings_service_unittest.cc sync_processor_.reset(new syncer::FakeSyncChangeProcessor); syncer 86 chrome/browser/managed_mode/managed_user_shared_settings_service_unittest.cc scoped_ptr<syncer::SyncErrorFactory> error_handler( syncer 139 chrome/browser/managed_mode/managed_user_shared_settings_service_unittest.cc scoped_ptr<syncer::FakeSyncChangeProcessor> sync_processor_; syncer 36 chrome/browser/managed_mode/managed_user_shared_settings_update_unittest.cc syncer::SyncChangeList changes; syncer 37 chrome/browser/managed_mode/managed_user_shared_settings_update_unittest.cc changes.push_back(syncer::SyncChange( syncer 39 chrome/browser/managed_mode/managed_user_shared_settings_update_unittest.cc syncer::SyncChange::ACTION_UPDATE, syncer 42 chrome/browser/managed_mode/managed_user_shared_settings_update_unittest.cc syncer::SyncError error = service_.ProcessSyncChanges(FROM_HERE, changes); syncer 58 chrome/browser/managed_mode/managed_user_shared_settings_update_unittest.cc syncer::SyncChangeList changes; syncer 59 chrome/browser/managed_mode/managed_user_shared_settings_update_unittest.cc changes.push_back(syncer::SyncChange( syncer 61 chrome/browser/managed_mode/managed_user_shared_settings_update_unittest.cc syncer::SyncChange::ACTION_UPDATE, syncer 67 chrome/browser/managed_mode/managed_user_shared_settings_update_unittest.cc syncer::SyncError error = service_.ProcessSyncChanges(FROM_HERE, changes); syncer 29 chrome/browser/managed_mode/managed_user_sync_service.cc using syncer::MANAGED_USERS; syncer 30 chrome/browser/managed_mode/managed_user_sync_service.cc using syncer::ModelType; syncer 31 chrome/browser/managed_mode/managed_user_sync_service.cc using syncer::SyncChange; syncer 32 chrome/browser/managed_mode/managed_user_sync_service.cc using syncer::SyncChangeList; syncer 33 chrome/browser/managed_mode/managed_user_sync_service.cc using syncer::SyncChangeProcessor; syncer 34 chrome/browser/managed_mode/managed_user_sync_service.cc using syncer::SyncData; syncer 35 chrome/browser/managed_mode/managed_user_sync_service.cc using syncer::SyncDataList; syncer 36 chrome/browser/managed_mode/managed_user_sync_service.cc using syncer::SyncError; syncer 37 chrome/browser/managed_mode/managed_user_sync_service.cc using syncer::SyncErrorFactory; syncer 38 chrome/browser/managed_mode/managed_user_sync_service.cc using syncer::SyncMergeResult; syncer 30 chrome/browser/managed_mode/managed_user_sync_service.h public syncer::SyncableService { syncer 110 chrome/browser/managed_mode/managed_user_sync_service.h virtual syncer::SyncMergeResult MergeDataAndStartSyncing( syncer 111 chrome/browser/managed_mode/managed_user_sync_service.h syncer::ModelType type, syncer 112 chrome/browser/managed_mode/managed_user_sync_service.h const syncer::SyncDataList& initial_sync_data, syncer 113 chrome/browser/managed_mode/managed_user_sync_service.h scoped_ptr<syncer::SyncChangeProcessor> sync_processor, syncer 114 chrome/browser/managed_mode/managed_user_sync_service.h scoped_ptr<syncer::SyncErrorFactory> error_handler) OVERRIDE; syncer 115 chrome/browser/managed_mode/managed_user_sync_service.h virtual void StopSyncing(syncer::ModelType type) OVERRIDE; syncer 116 chrome/browser/managed_mode/managed_user_sync_service.h virtual syncer::SyncDataList GetAllSyncData(syncer::ModelType type) const syncer 118 chrome/browser/managed_mode/managed_user_sync_service.h virtual syncer::SyncError ProcessSyncChanges( syncer 120 chrome/browser/managed_mode/managed_user_sync_service.h const syncer::SyncChangeList& change_list) OVERRIDE; syncer 155 chrome/browser/managed_mode/managed_user_sync_service.h scoped_ptr<syncer::SyncChangeProcessor> sync_processor_; syncer 156 chrome/browser/managed_mode/managed_user_sync_service.h scoped_ptr<syncer::SyncErrorFactory> error_handler_; syncer 26 chrome/browser/managed_mode/managed_user_sync_service_unittest.cc using syncer::MANAGED_USERS; syncer 27 chrome/browser/managed_mode/managed_user_sync_service_unittest.cc using syncer::SyncChange; syncer 28 chrome/browser/managed_mode/managed_user_sync_service_unittest.cc using syncer::SyncChangeList; syncer 29 chrome/browser/managed_mode/managed_user_sync_service_unittest.cc using syncer::SyncChangeProcessor; syncer 30 chrome/browser/managed_mode/managed_user_sync_service_unittest.cc using syncer::SyncData; syncer 31 chrome/browser/managed_mode/managed_user_sync_service_unittest.cc using syncer::SyncDataList; syncer 32 chrome/browser/managed_mode/managed_user_sync_service_unittest.cc using syncer::SyncError; syncer 33 chrome/browser/managed_mode/managed_user_sync_service_unittest.cc using syncer::SyncErrorFactory; syncer 34 chrome/browser/managed_mode/managed_user_sync_service_unittest.cc using syncer::SyncMergeResult; syncer 48 chrome/browser/managed_mode/managed_user_sync_service_unittest.cc virtual SyncDataList GetAllSyncData(syncer::ModelType type) const syncer 128 chrome/browser/managed_mode/managed_user_sync_service_unittest.cc return scoped_ptr<SyncErrorFactory>(new syncer::SyncErrorFactoryMock()); syncer 80 chrome/browser/media_galleries/media_galleries_test_util.cc syncer::StringOrdinal::CreateInitialOrdinal(), syncer 154 chrome/browser/notifications/extension_welcome_notification_unittest.cc ->GetSyncableService(syncer::PREFERENCES) syncer 155 chrome/browser/notifications/extension_welcome_notification_unittest.cc ->MergeDataAndStartSyncing(syncer::PREFERENCES, syncer 156 chrome/browser/notifications/extension_welcome_notification_unittest.cc syncer::SyncDataList(), syncer 157 chrome/browser/notifications/extension_welcome_notification_unittest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 158 chrome/browser/notifications/extension_welcome_notification_unittest.cc new syncer::FakeSyncChangeProcessor), syncer 159 chrome/browser/notifications/extension_welcome_notification_unittest.cc scoped_ptr<syncer::SyncErrorFactory>( syncer 160 chrome/browser/notifications/extension_welcome_notification_unittest.cc new syncer::SyncErrorFactoryMock())); syncer 42 chrome/browser/notifications/sync_notifier/chrome_notifier_delegate_unittest.cc syncer::SyncData sync_data = CreateSyncData(title, text, app_icon_url, syncer 89 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc syncer::SyncMergeResult ChromeNotifierService::MergeDataAndStartSyncing( syncer 90 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc syncer::ModelType type, syncer 91 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc const syncer::SyncDataList& initial_sync_data, syncer 92 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc scoped_ptr<syncer::SyncChangeProcessor> sync_processor, syncer 93 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc scoped_ptr<syncer::SyncErrorFactory> error_handler) { syncer 95 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc DCHECK_EQ(syncer::SYNCED_NOTIFICATIONS, type); syncer 96 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc syncer::SyncMergeResult merge_result(syncer::SYNCED_NOTIFICATIONS); syncer 98 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc syncer::SyncChangeList new_changes; syncer 101 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc for (syncer::SyncDataList::const_iterator it = initial_sync_data.begin(); syncer 103 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc const syncer::SyncData& sync_data = *it; syncer 104 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc DCHECK_EQ(syncer::SYNCED_NOTIFICATIONS, sync_data.GetDataType()); syncer 144 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc syncer::SyncData sync_data = CreateSyncDataFromNotification(*found); syncer 146 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc syncer::SyncChange(FROM_HERE, syncer 147 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc syncer::SyncChange::ACTION_UPDATE, syncer 180 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc void ChromeNotifierService::StopSyncing(syncer::ModelType type) { syncer 181 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc DCHECK_EQ(syncer::SYNCED_NOTIFICATIONS, type); syncer 186 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc syncer::SyncDataList ChromeNotifierService::GetAllSyncData( syncer 187 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc syncer::ModelType type) const { syncer 188 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc DCHECK_EQ(syncer::SYNCED_NOTIFICATIONS, type); syncer 189 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc syncer::SyncDataList sync_data; syncer 202 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc syncer::SyncError ChromeNotifierService::ProcessSyncChanges( syncer 204 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc const syncer::SyncChangeList& change_list) { syncer 206 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc syncer::SyncError error; syncer 208 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc for (syncer::SyncChangeList::const_iterator it = change_list.begin(); syncer 210 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc syncer::SyncData sync_data = it->sync_data(); syncer 211 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc DCHECK_EQ(syncer::SYNCED_NOTIFICATIONS, sync_data.GetDataType()); syncer 212 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc syncer::SyncChange::SyncChangeType change_type = it->change_type(); syncer 226 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc case syncer::SyncChange::ACTION_ADD: syncer 228 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc case syncer::SyncChange::ACTION_UPDATE: syncer 239 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc case syncer::SyncChange::ACTION_DELETE: syncer 263 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc syncer::SyncData ChromeNotifierService::CreateSyncDataFromNotification( syncer 266 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc return syncer::SyncData::CreateLocalData( syncer 274 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc const syncer::SyncData& sync_data) { syncer 446 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc syncer::SyncChangeList new_changes; syncer 448 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc syncer::SyncData sync_data = CreateSyncDataFromNotification(*notification); syncer 450 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc syncer::SyncChange(FROM_HERE, syncer 451 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc syncer::SyncChange::ACTION_UPDATE, syncer 57 chrome/browser/notifications/sync_notifier/chrome_notifier_service.h class ChromeNotifierService : public syncer::SyncableService, syncer 67 chrome/browser/notifications/sync_notifier/chrome_notifier_service.h virtual syncer::SyncMergeResult MergeDataAndStartSyncing( syncer 68 chrome/browser/notifications/sync_notifier/chrome_notifier_service.h syncer::ModelType type, syncer 69 chrome/browser/notifications/sync_notifier/chrome_notifier_service.h const syncer::SyncDataList& initial_sync_data, syncer 70 chrome/browser/notifications/sync_notifier/chrome_notifier_service.h scoped_ptr<syncer::SyncChangeProcessor> sync_processor, syncer 71 chrome/browser/notifications/sync_notifier/chrome_notifier_service.h scoped_ptr<syncer::SyncErrorFactory> error_handler) OVERRIDE; syncer 72 chrome/browser/notifications/sync_notifier/chrome_notifier_service.h virtual void StopSyncing(syncer::ModelType type) OVERRIDE; syncer 73 chrome/browser/notifications/sync_notifier/chrome_notifier_service.h virtual syncer::SyncDataList GetAllSyncData( syncer 74 chrome/browser/notifications/sync_notifier/chrome_notifier_service.h syncer::ModelType type) const OVERRIDE; syncer 75 chrome/browser/notifications/sync_notifier/chrome_notifier_service.h virtual syncer::SyncError ProcessSyncChanges( syncer 77 chrome/browser/notifications/sync_notifier/chrome_notifier_service.h const syncer::SyncChangeList& change_list) OVERRIDE; syncer 80 chrome/browser/notifications/sync_notifier/chrome_notifier_service.h static syncer::SyncData CreateSyncDataFromNotification( syncer 85 chrome/browser/notifications/sync_notifier/chrome_notifier_service.h const syncer::SyncData& sync_data); syncer 198 chrome/browser/notifications/sync_notifier/chrome_notifier_service.h scoped_ptr<syncer::SyncChangeProcessor> sync_processor_; syncer 40 chrome/browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc using syncer::SyncData; syncer 41 chrome/browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc using syncer::SyncChange; syncer 42 chrome/browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc using syncer::SyncChangeList; syncer 43 chrome/browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc using syncer::SyncChangeProcessorWrapperForTest; syncer 44 chrome/browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc using syncer::SyncDataList; syncer 45 chrome/browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc using syncer::SYNCED_NOTIFICATIONS; syncer 65 chrome/browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc class TestChangeProcessor : public syncer::SyncChangeProcessor { syncer 71 chrome/browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc virtual syncer::SyncError ProcessSyncChanges( syncer 81 chrome/browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc return syncer::SyncError(); syncer 84 chrome/browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc virtual syncer::SyncDataList GetAllSyncData(syncer::ModelType type) const syncer 86 chrome/browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc return syncer::SyncDataList(); syncer 147 chrome/browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc scoped_ptr<syncer::SyncChangeProcessor> PassProcessor() { syncer 207 chrome/browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc scoped_ptr<syncer::SyncChangeProcessor> sync_processor_; syncer 208 chrome/browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc scoped_ptr<syncer::SyncChangeProcessor> sync_processor_wrapper_; syncer 240 chrome/browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc scoped_ptr<syncer::SyncErrorFactory>(new syncer::SyncErrorFactoryMock())); syncer 256 chrome/browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc scoped_ptr<syncer::SyncErrorFactory>(new syncer::SyncErrorFactoryMock())); syncer 297 chrome/browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc scoped_ptr<syncer::SyncErrorFactory>(new syncer::SyncErrorFactoryMock())); syncer 348 chrome/browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc scoped_ptr<syncer::SyncErrorFactory>(new syncer::SyncErrorFactoryMock())); syncer 410 chrome/browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc scoped_ptr<syncer::SyncErrorFactory>(new syncer::SyncErrorFactoryMock())); syncer 455 chrome/browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc syncer::SyncDataList initial_data; syncer 460 chrome/browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc syncer::SYNCED_NOTIFICATIONS, syncer 463 chrome/browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc scoped_ptr<syncer::SyncErrorFactory>(new syncer::SyncErrorFactoryMock())); syncer 467 chrome/browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc EXPECT_EQ(2U, notifier.GetAllSyncData(syncer::SYNCED_NOTIFICATIONS).size()); syncer 499 chrome/browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc syncer::SyncDataList initial_data; syncer 504 chrome/browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc syncer::SYNCED_NOTIFICATIONS, syncer 507 chrome/browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc scoped_ptr<syncer::SyncErrorFactory>(new syncer::SyncErrorFactoryMock())); syncer 511 chrome/browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc EXPECT_EQ(2U, notifier.GetAllSyncData(syncer::SYNCED_NOTIFICATIONS).size()); syncer 537 chrome/browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc syncer::SyncDataList initial_data; syncer 542 chrome/browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc syncer::SYNCED_NOTIFICATIONS, syncer 545 chrome/browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc scoped_ptr<syncer::SyncErrorFactory>(new syncer::SyncErrorFactoryMock())); syncer 548 chrome/browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc EXPECT_EQ(1U, notifier.GetAllSyncData(syncer::SYNCED_NOTIFICATIONS).size()); syncer 76 chrome/browser/notifications/sync_notifier/sync_notifier_test_utils.cc syncer::SyncData CreateSyncData( syncer 198 chrome/browser/notifications/sync_notifier/sync_notifier_test_utils.cc syncer::SyncData sync_data = syncer::SyncData::CreateLocalData( syncer 216 chrome/browser/notifications/sync_notifier/sync_notifier_test_utils.cc syncer::SyncMergeResult syncer 218 chrome/browser/notifications/sync_notifier/sync_notifier_test_utils.cc syncer::ModelType type, syncer 219 chrome/browser/notifications/sync_notifier/sync_notifier_test_utils.cc const syncer::SyncDataList& initial_sync_data, syncer 220 chrome/browser/notifications/sync_notifier/sync_notifier_test_utils.cc scoped_ptr<syncer::SyncChangeProcessor> sync_processor, syncer 221 chrome/browser/notifications/sync_notifier/sync_notifier_test_utils.cc scoped_ptr<syncer::SyncErrorFactory> error_handler) { syncer 222 chrome/browser/notifications/sync_notifier/sync_notifier_test_utils.cc return syncer::SyncMergeResult(syncer::SYNCED_NOTIFICATION_APP_INFO); syncer 225 chrome/browser/notifications/sync_notifier/sync_notifier_test_utils.cc syncer::SyncError StubSyncedNotificationAppInfoService::ProcessSyncChanges( syncer 227 chrome/browser/notifications/sync_notifier/sync_notifier_test_utils.cc const syncer::SyncChangeList& change_list) { syncer 228 chrome/browser/notifications/sync_notifier/sync_notifier_test_utils.cc return syncer::SyncError(); syncer 231 chrome/browser/notifications/sync_notifier/sync_notifier_test_utils.cc syncer::SyncDataList StubSyncedNotificationAppInfoService::GetAllSyncData( syncer 232 chrome/browser/notifications/sync_notifier/sync_notifier_test_utils.cc syncer::ModelType type) const { syncer 233 chrome/browser/notifications/sync_notifier/sync_notifier_test_utils.cc return syncer::SyncDataList(); syncer 96 chrome/browser/notifications/sync_notifier/sync_notifier_test_utils.h syncer::SyncData CreateSyncData( syncer 118 chrome/browser/notifications/sync_notifier/sync_notifier_test_utils.h virtual syncer::SyncMergeResult MergeDataAndStartSyncing( syncer 119 chrome/browser/notifications/sync_notifier/sync_notifier_test_utils.h syncer::ModelType type, syncer 120 chrome/browser/notifications/sync_notifier/sync_notifier_test_utils.h const syncer::SyncDataList& initial_sync_data, syncer 121 chrome/browser/notifications/sync_notifier/sync_notifier_test_utils.h scoped_ptr<syncer::SyncChangeProcessor> sync_processor, syncer 122 chrome/browser/notifications/sync_notifier/sync_notifier_test_utils.h scoped_ptr<syncer::SyncErrorFactory> error_handler) OVERRIDE; syncer 123 chrome/browser/notifications/sync_notifier/sync_notifier_test_utils.h virtual void StopSyncing(syncer::ModelType type) OVERRIDE{} syncer 124 chrome/browser/notifications/sync_notifier/sync_notifier_test_utils.h virtual syncer::SyncError ProcessSyncChanges( syncer 126 chrome/browser/notifications/sync_notifier/sync_notifier_test_utils.h const syncer::SyncChangeList& change_list) OVERRIDE; syncer 127 chrome/browser/notifications/sync_notifier/sync_notifier_test_utils.h virtual syncer::SyncDataList GetAllSyncData(syncer::ModelType type) const syncer 72 chrome/browser/notifications/sync_notifier/synced_notification.cc const syncer::SyncData& sync_data, syncer 87 chrome/browser/notifications/sync_notifier/synced_notification.cc void SyncedNotification::Update(const syncer::SyncData& sync_data) { syncer 36 chrome/browser/notifications/sync_notifier/synced_notification.h SyncedNotification(const syncer::SyncData& sync_data, syncer 50 chrome/browser/notifications/sync_notifier/synced_notification.h void Update(const syncer::SyncData& sync_data); syncer 47 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service.cc syncer::SyncMergeResult syncer 49 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service.cc syncer::ModelType type, syncer 50 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service.cc const syncer::SyncDataList& initial_sync_data, syncer 51 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service.cc scoped_ptr<syncer::SyncChangeProcessor> sync_processor, syncer 52 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service.cc scoped_ptr<syncer::SyncErrorFactory> error_handler) { syncer 54 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service.cc DCHECK_EQ(syncer::SYNCED_NOTIFICATION_APP_INFO, type); syncer 55 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service.cc syncer::SyncMergeResult merge_result(syncer::SYNCED_NOTIFICATION_APP_INFO); syncer 66 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service.cc const syncer::SyncData& sync_data = initial_sync_data.front(); syncer 67 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service.cc DCHECK_EQ(syncer::SYNCED_NOTIFICATION_APP_INFO, sync_data.GetDataType()); syncer 91 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service.cc void SyncedNotificationAppInfoService::StopSyncing(syncer::ModelType type) { syncer 92 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service.cc DCHECK_EQ(syncer::SYNCED_NOTIFICATION_APP_INFO, type); syncer 98 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service.cc syncer::SyncError SyncedNotificationAppInfoService::ProcessSyncChanges( syncer 100 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service.cc const syncer::SyncChangeList& change_list) { syncer 102 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service.cc syncer::SyncError error; syncer 104 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service.cc for (syncer::SyncChangeList::const_iterator it = change_list.begin(); syncer 107 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service.cc syncer::SyncData sync_data = it->sync_data(); syncer 108 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service.cc DCHECK_EQ(syncer::SYNCED_NOTIFICATION_APP_INFO, sync_data.GetDataType()); syncer 109 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service.cc syncer::SyncChange::SyncChangeType change_type = it->change_type(); syncer 110 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service.cc DCHECK(change_type == syncer::SyncChange::ACTION_UPDATE || syncer 111 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service.cc change_type == syncer::SyncChange::ACTION_ADD); syncer 138 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service.cc syncer::SyncDataList SyncedNotificationAppInfoService::GetAllSyncData( syncer 139 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service.cc syncer::ModelType type) const { syncer 140 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service.cc DCHECK_EQ(syncer::SYNCED_NOTIFICATION_APP_INFO, type); syncer 141 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service.cc syncer::SyncDataList sync_data_list; syncer 45 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service.h class SyncedNotificationAppInfoService : public syncer::SyncableService, syncer 56 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service.h virtual syncer::SyncMergeResult MergeDataAndStartSyncing( syncer 57 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service.h syncer::ModelType type, syncer 58 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service.h const syncer::SyncDataList& initial_sync_data, syncer 59 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service.h scoped_ptr<syncer::SyncChangeProcessor> sync_processor, syncer 60 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service.h scoped_ptr<syncer::SyncErrorFactory> error_handler) OVERRIDE; syncer 64 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service.h virtual void StopSyncing(syncer::ModelType type) OVERRIDE; syncer 67 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service.h virtual syncer::SyncError ProcessSyncChanges( syncer 69 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service.h const syncer::SyncChangeList& change_list) OVERRIDE; syncer 72 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service.h virtual syncer::SyncDataList GetAllSyncData(syncer::ModelType type) syncer 145 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service.h syncer::SyncData sync_data_; syncer 21 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service_unittest.cc using syncer::SyncData; syncer 22 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service_unittest.cc using syncer::SyncChange; syncer 23 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service_unittest.cc using syncer::SyncChangeList; syncer 24 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service_unittest.cc using syncer::SyncDataList; syncer 25 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service_unittest.cc using syncer::SYNCED_NOTIFICATION_APP_INFO; syncer 44 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service_unittest.cc class TestChangeProcessor : public syncer::SyncChangeProcessor { syncer 50 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service_unittest.cc virtual syncer::SyncError ProcessSyncChanges( syncer 61 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service_unittest.cc return syncer::SyncError(); syncer 64 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service_unittest.cc virtual syncer::SyncDataList GetAllSyncData(syncer::ModelType type) syncer 66 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service_unittest.cc return syncer::SyncDataList(); syncer 93 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service_unittest.cc new syncer::FakeSyncChangeProcessor()) {} syncer 207 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service_unittest.cc scoped_ptr<syncer::SyncChangeProcessor> PassProcessor() { syncer 215 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service_unittest.cc scoped_ptr<syncer::SyncChangeProcessor> sync_processor_; syncer 216 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service_unittest.cc scoped_ptr<syncer::SyncChangeProcessor> sync_processor_delegate_; syncer 229 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service_unittest.cc scoped_ptr<syncer::SyncErrorFactory>(new syncer::SyncErrorFactoryMock())); syncer 23 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc using syncer::SyncData; syncer 95 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc syncer::SyncData sync_data1_; syncer 96 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc syncer::SyncData sync_data2_; syncer 97 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc syncer::SyncData sync_data3_; syncer 98 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc syncer::SyncData sync_data4_; syncer 141 chrome/browser/password_manager/chrome_password_manager_client.cc return sync_service->GetActiveDataTypes().Has(syncer::PASSWORDS); syncer 13 chrome/browser/password_manager/mock_password_store_service.cc if (!store || !store->Init(syncer::SyncableService::StartSyncFlare())) syncer 843 chrome/browser/password_manager/password_store_mac.cc const syncer::SyncableService::StartSyncFlare& flare) { syncer 37 chrome/browser/password_manager/password_store_mac.h const syncer::SyncableService::StartSyncFlare& flare) OVERRIDE; syncer 1067 chrome/browser/password_manager/password_store_mac_unittest.cc ASSERT_TRUE(store_->Init(syncer::SyncableService::StartSyncFlare())); syncer 201 chrome/browser/password_manager/password_store_win_unittest.cc EXPECT_TRUE(store_->Init(syncer::SyncableService::StartSyncFlare())); syncer 254 chrome/browser/password_manager/password_store_win_unittest.cc EXPECT_TRUE(store_->Init(syncer::SyncableService::StartSyncFlare())); syncer 297 chrome/browser/password_manager/password_store_win_unittest.cc EXPECT_TRUE(store_->Init(syncer::SyncableService::StartSyncFlare())); syncer 359 chrome/browser/password_manager/password_store_win_unittest.cc store_->Init(syncer::SyncableService::StartSyncFlare()); syncer 393 chrome/browser/password_manager/password_store_win_unittest.cc store_->Init(syncer::SyncableService::StartSyncFlare()); syncer 414 chrome/browser/password_manager/password_store_win_unittest.cc store_->Init(syncer::SyncableService::StartSyncFlare()); syncer 263 chrome/browser/password_manager/password_store_x_unittest.cc store->Init(syncer::SyncableService::StartSyncFlare()); syncer 368 chrome/browser/password_manager/password_store_x_unittest.cc store->Init(syncer::SyncableService::StartSyncFlare()); syncer 13 chrome/browser/password_manager/test_password_store_service.cc if (!store || !store->Init(syncer::SyncableService::StartSyncFlare())) syncer 316 chrome/browser/policy/cloud/cloud_policy_browsertest.cc syncer::Invalidation::Init( syncer 87 chrome/browser/policy/cloud/cloud_policy_invalidator.cc syncer::InvalidatorState state) { syncer 90 chrome/browser/policy/cloud/cloud_policy_invalidator.cc invalidation_service_enabled_ = state == syncer::INVALIDATIONS_ENABLED; syncer 95 chrome/browser/policy/cloud/cloud_policy_invalidator.cc const syncer::ObjectIdInvalidationMap& invalidation_map) { syncer 98 chrome/browser/policy/cloud/cloud_policy_invalidator.cc const syncer::SingleObjectInvalidationSet& list = syncer 106 chrome/browser/policy/cloud/cloud_policy_invalidator.cc syncer::SingleObjectInvalidationSet::const_reverse_iterator it = syncer 164 chrome/browser/policy/cloud/cloud_policy_invalidator.cc const syncer::Invalidation& invalidation) { syncer 179 chrome/browser/policy/cloud/cloud_policy_invalidator.cc invalidation_.reset(new syncer::Invalidation(invalidation)); syncer 259 chrome/browser/policy/cloud/cloud_policy_invalidator.cc syncer::ObjectIdSet ids; syncer 270 chrome/browser/policy/cloud/cloud_policy_invalidator.cc syncer::ObjectIdSet()); syncer 34 chrome/browser/policy/cloud/cloud_policy_invalidator.h class CloudPolicyInvalidator : public syncer::InvalidationHandler, syncer 79 chrome/browser/policy/cloud/cloud_policy_invalidator.h syncer::InvalidatorState state) OVERRIDE; syncer 81 chrome/browser/policy/cloud/cloud_policy_invalidator.h const syncer::ObjectIdInvalidationMap& invalidation_map) OVERRIDE; syncer 95 chrome/browser/policy/cloud/cloud_policy_invalidator.h void HandleInvalidation(const syncer::Invalidation& invalidation); syncer 188 chrome/browser/policy/cloud/cloud_policy_invalidator.h scoped_ptr<syncer::Invalidation> invalidation_; syncer 112 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc syncer::Invalidation FireInvalidation( syncer 119 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc syncer::Invalidation FireUnknownVersionInvalidation(PolicyObject object); syncer 133 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc bool IsUnsent(const syncer::Invalidation& invalidation); syncer 141 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc bool IsInvalidationAcknowledged(const syncer::Invalidation& invalidation); syncer 305 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc syncer::TRANSIENT_INVALIDATION_ERROR); syncer 309 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc invalidation_service_.SetInvalidatorState(syncer::INVALIDATIONS_ENABLED); syncer 312 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc syncer::Invalidation CloudPolicyInvalidatorTest::FireInvalidation( syncer 316 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc syncer::Invalidation invalidation = syncer::Invalidation::Init( syncer 324 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc syncer::Invalidation CloudPolicyInvalidatorTest::FireUnknownVersionInvalidation( syncer 326 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc syncer::Invalidation invalidation = syncer::Invalidation::InitUnknownVersion( syncer 350 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc const syncer::Invalidation& invalidation) { syncer 364 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc const syncer::Invalidation& invalidation) { syncer 526 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc syncer::Invalidation inv = FireUnknownVersionInvalidation(POLICY_OBJECT_A); syncer 554 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc syncer::Invalidation inv = FireUnknownVersionInvalidation(POLICY_OBJECT_A); syncer 577 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc syncer::Invalidation inv = syncer 596 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc syncer::Invalidation inv = FireUnknownVersionInvalidation(POLICY_OBJECT_A); syncer 615 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc syncer::Invalidation inv1 = FireInvalidation(POLICY_OBJECT_A, 1, "test1"); syncer 617 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc syncer::Invalidation inv2 = FireInvalidation(POLICY_OBJECT_A, 2, "test2"); syncer 619 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc syncer::Invalidation inv3 = FireInvalidation(POLICY_OBJECT_A, 3, "test3"); syncer 645 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc syncer::Invalidation inv1 = FireUnknownVersionInvalidation(POLICY_OBJECT_A); syncer 649 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc syncer::Invalidation inv2 = FireUnknownVersionInvalidation(POLICY_OBJECT_A); syncer 653 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc syncer::Invalidation inv3 = FireUnknownVersionInvalidation(POLICY_OBJECT_A); syncer 676 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc syncer::Invalidation inv = FireInvalidation(POLICY_OBJECT_A, 3, "test"); syncer 690 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc syncer::Invalidation inv = FireInvalidation(POLICY_OBJECT_A, 3, "test"); syncer 740 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc syncer::Invalidation inv = FireInvalidation(POLICY_OBJECT_A, 1, "test"); syncer 24 chrome/browser/prefs/pref_model_associator.cc using syncer::PREFERENCES; syncer 25 chrome/browser/prefs/pref_model_associator.cc using syncer::PRIORITY_PREFERENCES; syncer 29 chrome/browser/prefs/pref_model_associator.cc const sync_pb::PreferenceSpecifics& GetSpecifics(const syncer::SyncData& pref) { syncer 30 chrome/browser/prefs/pref_model_associator.cc DCHECK(pref.GetDataType() == syncer::PREFERENCES || syncer 31 chrome/browser/prefs/pref_model_associator.cc pref.GetDataType() == syncer::PRIORITY_PREFERENCES); syncer 32 chrome/browser/prefs/pref_model_associator.cc if (pref.GetDataType() == syncer::PRIORITY_PREFERENCES) { syncer 40 chrome/browser/prefs/pref_model_associator.cc const syncer::ModelType type, syncer 42 chrome/browser/prefs/pref_model_associator.cc if (type == syncer::PRIORITY_PREFERENCES) { syncer 81 chrome/browser/prefs/pref_model_associator.cc PrefModelAssociator::PrefModelAssociator(syncer::ModelType type) syncer 100 chrome/browser/prefs/pref_model_associator.cc const syncer::SyncData& sync_pref, syncer 102 chrome/browser/prefs/pref_model_associator.cc syncer::SyncChangeList* sync_changes, syncer 145 chrome/browser/prefs/pref_model_associator.cc syncer::SyncData sync_data; syncer 169 chrome/browser/prefs/pref_model_associator.cc syncer::SyncChange(FROM_HERE, syncer 170 chrome/browser/prefs/pref_model_associator.cc syncer::SyncChange::ACTION_UPDATE, syncer 174 chrome/browser/prefs/pref_model_associator.cc syncer::SyncData old_sync_data; syncer 183 chrome/browser/prefs/pref_model_associator.cc syncer::SyncChange(FROM_HERE, syncer 184 chrome/browser/prefs/pref_model_associator.cc syncer::SyncChange::ACTION_UPDATE, syncer 198 chrome/browser/prefs/pref_model_associator.cc syncer::SyncData sync_data; syncer 204 chrome/browser/prefs/pref_model_associator.cc syncer::SyncChange(FROM_HERE, syncer 205 chrome/browser/prefs/pref_model_associator.cc syncer::SyncChange::ACTION_ADD, syncer 216 chrome/browser/prefs/pref_model_associator.cc syncer::SyncMergeResult PrefModelAssociator::MergeDataAndStartSyncing( syncer 217 chrome/browser/prefs/pref_model_associator.cc syncer::ModelType type, syncer 218 chrome/browser/prefs/pref_model_associator.cc const syncer::SyncDataList& initial_sync_data, syncer 219 chrome/browser/prefs/pref_model_associator.cc scoped_ptr<syncer::SyncChangeProcessor> sync_processor, syncer 220 chrome/browser/prefs/pref_model_associator.cc scoped_ptr<syncer::SyncErrorFactory> sync_error_factory) { syncer 227 chrome/browser/prefs/pref_model_associator.cc syncer::SyncMergeResult merge_result(type); syncer 231 chrome/browser/prefs/pref_model_associator.cc syncer::SyncChangeList new_changes; syncer 241 chrome/browser/prefs/pref_model_associator.cc for (syncer::SyncDataList::const_iterator sync_iter = syncer 277 chrome/browser/prefs/pref_model_associator.cc InitPrefAndAssociate(syncer::SyncData(), *pref_name_iter, &new_changes, syncer 286 chrome/browser/prefs/pref_model_associator.cc syncer::SyncChange::SyncChangeType change_type = syncer 288 chrome/browser/prefs/pref_model_associator.cc syncer::SyncChange::ACTION_ADD : syncer 289 chrome/browser/prefs/pref_model_associator.cc syncer::SyncChange::ACTION_UPDATE; syncer 291 chrome/browser/prefs/pref_model_associator.cc syncer::SyncChange(FROM_HERE, change_type, migrated_pref_iter->second)); syncer 306 chrome/browser/prefs/pref_model_associator.cc void PrefModelAssociator::StopSyncing(syncer::ModelType type) { syncer 338 chrome/browser/prefs/pref_model_associator.cc syncer::SyncData* sync_data) const { syncer 359 chrome/browser/prefs/pref_model_associator.cc *sync_data = syncer::SyncData::CreateLocalData(name, name, specifics); syncer 436 chrome/browser/prefs/pref_model_associator.cc syncer::SyncDataList PrefModelAssociator::GetAllSyncData( syncer 437 chrome/browser/prefs/pref_model_associator.cc syncer::ModelType type) syncer 440 chrome/browser/prefs/pref_model_associator.cc syncer::SyncDataList current_data; syncer 451 chrome/browser/prefs/pref_model_associator.cc syncer::SyncData sync_data; syncer 459 chrome/browser/prefs/pref_model_associator.cc syncer::SyncError PrefModelAssociator::ProcessSyncChanges( syncer 461 chrome/browser/prefs/pref_model_associator.cc const syncer::SyncChangeList& change_list) { syncer 463 chrome/browser/prefs/pref_model_associator.cc syncer::SyncError error(FROM_HERE, syncer 464 chrome/browser/prefs/pref_model_associator.cc syncer::SyncError::DATATYPE_ERROR, syncer 470 chrome/browser/prefs/pref_model_associator.cc syncer::SyncChangeList::const_iterator iter; syncer 481 chrome/browser/prefs/pref_model_associator.cc if (iter->change_type() == syncer::SyncChange::ACTION_DELETE) { syncer 521 chrome/browser/prefs/pref_model_associator.cc if (iter->change_type() == syncer::SyncChange::ACTION_ADD) { syncer 525 chrome/browser/prefs/pref_model_associator.cc return syncer::SyncError(); syncer 596 chrome/browser/prefs/pref_model_associator.cc syncer::SyncChangeList changes; syncer 614 chrome/browser/prefs/pref_model_associator.cc InitPrefAndAssociate(syncer::SyncData(), name, &changes, NULL); syncer 617 chrome/browser/prefs/pref_model_associator.cc syncer::SyncData sync_data; syncer 623 chrome/browser/prefs/pref_model_associator.cc syncer::SyncChange(FROM_HERE, syncer 624 chrome/browser/prefs/pref_model_associator.cc syncer::SyncChange::ACTION_UPDATE, syncer 637 chrome/browser/prefs/pref_model_associator.cc syncer::SyncChange::SyncChangeType change_type = syncer 639 chrome/browser/prefs/pref_model_associator.cc syncer::SyncChange::ACTION_ADD : syncer 640 chrome/browser/prefs/pref_model_associator.cc syncer::SyncChange::ACTION_UPDATE; syncer 642 chrome/browser/prefs/pref_model_associator.cc syncer::SyncChange(FROM_HERE, change_type, sync_data)); syncer 646 chrome/browser/prefs/pref_model_associator.cc syncer::SyncError error = syncer 37 chrome/browser/prefs/pref_model_associator.h : public syncer::SyncableService, syncer 40 chrome/browser/prefs/pref_model_associator.h explicit PrefModelAssociator(syncer::ModelType type); syncer 47 chrome/browser/prefs/pref_model_associator.h virtual syncer::SyncDataList GetAllSyncData( syncer 48 chrome/browser/prefs/pref_model_associator.h syncer::ModelType type) const OVERRIDE; syncer 49 chrome/browser/prefs/pref_model_associator.h virtual syncer::SyncError ProcessSyncChanges( syncer 51 chrome/browser/prefs/pref_model_associator.h const syncer::SyncChangeList& change_list) OVERRIDE; syncer 52 chrome/browser/prefs/pref_model_associator.h virtual syncer::SyncMergeResult MergeDataAndStartSyncing( syncer 53 chrome/browser/prefs/pref_model_associator.h syncer::ModelType type, syncer 54 chrome/browser/prefs/pref_model_associator.h const syncer::SyncDataList& initial_sync_data, syncer 55 chrome/browser/prefs/pref_model_associator.h scoped_ptr<syncer::SyncChangeProcessor> sync_processor, syncer 56 chrome/browser/prefs/pref_model_associator.h scoped_ptr<syncer::SyncErrorFactory> sync_error_factory) OVERRIDE; syncer 57 chrome/browser/prefs/pref_model_associator.h virtual void StopSyncing(syncer::ModelType type) OVERRIDE; syncer 93 chrome/browser/prefs/pref_model_associator.h syncer::SyncData* sync_data) const; syncer 115 chrome/browser/prefs/pref_model_associator.h typedef std::map<std::string, syncer::SyncData> SyncDataMap; syncer 127 chrome/browser/prefs/pref_model_associator.h void InitPrefAndAssociate(const syncer::SyncData& sync_pref, syncer 129 chrome/browser/prefs/pref_model_associator.h syncer::SyncChangeList* sync_changes, syncer 171 chrome/browser/prefs/pref_model_associator.h scoped_ptr<syncer::SyncChangeProcessor> sync_processor_; syncer 174 chrome/browser/prefs/pref_model_associator.h scoped_ptr<syncer::SyncErrorFactory> sync_error_factory_; syncer 178 chrome/browser/prefs/pref_model_associator.h syncer::ModelType type_; syncer 47 chrome/browser/prefs/pref_service_syncable.cc pref_sync_associator_(syncer::PREFERENCES), syncer 48 chrome/browser/prefs/pref_service_syncable.cc priority_pref_sync_associator_(syncer::PRIORITY_PREFERENCES) { syncer 131 chrome/browser/prefs/pref_service_syncable.cc syncer::SyncableService* PrefServiceSyncable::GetSyncableService( syncer 132 chrome/browser/prefs/pref_service_syncable.cc const syncer::ModelType& type) { syncer 133 chrome/browser/prefs/pref_service_syncable.cc if (type == syncer::PREFERENCES) { syncer 135 chrome/browser/prefs/pref_service_syncable.cc } else if (type == syncer::PRIORITY_PREFERENCES) { syncer 16 chrome/browser/prefs/pref_service_syncable.h namespace syncer { syncer 79 chrome/browser/prefs/pref_service_syncable.h syncer::SyncableService* GetSyncableService(const syncer::ModelType& type); syncer 62 chrome/browser/prefs/synced_pref_change_registrar_browsertest.cc syncer::SyncData change_data = syncer::SyncData::CreateRemoteData( syncer 64 chrome/browser/prefs/synced_pref_change_registrar_browsertest.cc syncer::SyncChange change( syncer 65 chrome/browser/prefs/synced_pref_change_registrar_browsertest.cc FROM_HERE, syncer::SyncChange::ACTION_UPDATE, change_data); syncer 67 chrome/browser/prefs/synced_pref_change_registrar_browsertest.cc syncer::SyncChangeList change_list; syncer 101 chrome/browser/prefs/synced_pref_change_registrar_browsertest.cc syncer_ = prefs_->GetSyncableService(syncer::PREFERENCES); syncer 103 chrome/browser/prefs/synced_pref_change_registrar_browsertest.cc syncer::PREFERENCES, syncer 104 chrome/browser/prefs/synced_pref_change_registrar_browsertest.cc syncer::SyncDataList(), syncer 105 chrome/browser/prefs/synced_pref_change_registrar_browsertest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 106 chrome/browser/prefs/synced_pref_change_registrar_browsertest.cc new syncer::FakeSyncChangeProcessor), syncer 107 chrome/browser/prefs/synced_pref_change_registrar_browsertest.cc scoped_ptr<syncer::SyncErrorFactory>(new syncer::SyncErrorFactoryMock)); syncer 116 chrome/browser/prefs/synced_pref_change_registrar_browsertest.cc syncer::SyncableService* syncer_; syncer 135 chrome/browser/search_engines/template_url_service.cc syncer::SyncChangeList* change_list, syncer 138 chrome/browser/search_engines/template_url_service.cc const syncer::SyncChange& change_i = (*change_list)[index]; syncer 141 chrome/browser/search_engines/template_url_service.cc syncer::SyncChange::SyncChangeType type = change_i.change_type(); syncer 142 chrome/browser/search_engines/template_url_service.cc if ((type == syncer::SyncChange::ACTION_UPDATE || syncer 143 chrome/browser/search_engines/template_url_service.cc type == syncer::SyncChange::ACTION_DELETE) && syncer 146 chrome/browser/search_engines/template_url_service.cc if (type == syncer::SyncChange::ACTION_ADD && syncer 149 chrome/browser/search_engines/template_url_service.cc if (type == syncer::SyncChange::ACTION_UPDATE) { syncer 151 chrome/browser/search_engines/template_url_service.cc const syncer::SyncChange& change_j = (*change_list)[j]; syncer 152 chrome/browser/search_engines/template_url_service.cc if ((syncer::SyncChange::ACTION_UPDATE == change_j.change_type()) && syncer 167 chrome/browser/search_engines/template_url_service.cc syncer::SyncChangeList* change_list) { syncer 941 chrome/browser/search_engines/template_url_service.cc syncer::SyncDataList TemplateURLService::GetAllSyncData( syncer 942 chrome/browser/search_engines/template_url_service.cc syncer::ModelType type) const { syncer 943 chrome/browser/search_engines/template_url_service.cc DCHECK_EQ(syncer::SEARCH_ENGINES, type); syncer 945 chrome/browser/search_engines/template_url_service.cc syncer::SyncDataList current_data; syncer 960 chrome/browser/search_engines/template_url_service.cc syncer::SyncError TemplateURLService::ProcessSyncChanges( syncer 962 chrome/browser/search_engines/template_url_service.cc const syncer::SyncChangeList& change_list) { syncer 964 chrome/browser/search_engines/template_url_service.cc syncer::SyncError error(FROM_HERE, syncer 965 chrome/browser/search_engines/template_url_service.cc syncer::SyncError::DATATYPE_ERROR, syncer 967 chrome/browser/search_engines/template_url_service.cc syncer::SEARCH_ENGINES); syncer 982 chrome/browser/search_engines/template_url_service.cc syncer::SyncChangeList new_changes; syncer 983 chrome/browser/search_engines/template_url_service.cc syncer::SyncError error; syncer 984 chrome/browser/search_engines/template_url_service.cc for (syncer::SyncChangeList::const_iterator iter = change_list.begin(); syncer 986 chrome/browser/search_engines/template_url_service.cc DCHECK_EQ(syncer::SEARCH_ENGINES, iter->sync_data().GetDataType()); syncer 1003 chrome/browser/search_engines/template_url_service.cc if (iter->change_type() == syncer::SyncChange::ACTION_DELETE) { syncer 1033 chrome/browser/search_engines/template_url_service.cc syncer::SyncData sync_data = CreateSyncDataFromTemplateURL(new_turl); syncer 1034 chrome/browser/search_engines/template_url_service.cc new_changes.push_back(syncer::SyncChange(FROM_HERE, syncer 1035 chrome/browser/search_engines/template_url_service.cc syncer::SyncChange::ACTION_ADD, syncer 1043 chrome/browser/search_engines/template_url_service.cc } else if (iter->change_type() == syncer::SyncChange::ACTION_ADD) { syncer 1063 chrome/browser/search_engines/template_url_service.cc } else if (iter->change_type() == syncer::SyncChange::ACTION_UPDATE) { syncer 1097 chrome/browser/search_engines/template_url_service.cc syncer::SyncMergeResult TemplateURLService::MergeDataAndStartSyncing( syncer 1098 chrome/browser/search_engines/template_url_service.cc syncer::ModelType type, syncer 1099 chrome/browser/search_engines/template_url_service.cc const syncer::SyncDataList& initial_sync_data, syncer 1100 chrome/browser/search_engines/template_url_service.cc scoped_ptr<syncer::SyncChangeProcessor> sync_processor, syncer 1101 chrome/browser/search_engines/template_url_service.cc scoped_ptr<syncer::SyncErrorFactory> sync_error_factory) { syncer 1103 chrome/browser/search_engines/template_url_service.cc DCHECK_EQ(type, syncer::SEARCH_ENGINES); syncer 1107 chrome/browser/search_engines/template_url_service.cc syncer::SyncMergeResult merge_result(type); syncer 1133 chrome/browser/search_engines/template_url_service.cc syncer::SyncChangeList new_changes; syncer 1137 chrome/browser/search_engines/template_url_service.cc GetAllSyncData(syncer::SEARCH_ENGINES)); syncer 1158 chrome/browser/search_engines/template_url_service.cc syncer::SyncChange(FROM_HERE, syncer 1159 chrome/browser/search_engines/template_url_service.cc syncer::SyncChange::ACTION_DELETE, syncer 1186 chrome/browser/search_engines/template_url_service.cc syncer::SyncChange(FROM_HERE, syncer 1187 chrome/browser/search_engines/template_url_service.cc syncer::SyncChange::ACTION_UPDATE, syncer 1215 chrome/browser/search_engines/template_url_service.cc syncer::SyncChange(FROM_HERE, syncer 1216 chrome/browser/search_engines/template_url_service.cc syncer::SyncChange::ACTION_ADD, syncer 1226 chrome/browser/search_engines/template_url_service.cc GetAllSyncData(syncer::SEARCH_ENGINES).size()); syncer 1240 chrome/browser/search_engines/template_url_service.cc void TemplateURLService::StopSyncing(syncer::ModelType type) { syncer 1241 chrome/browser/search_engines/template_url_service.cc DCHECK_EQ(type, syncer::SEARCH_ENGINES); syncer 1250 chrome/browser/search_engines/template_url_service.cc syncer::SyncChange::SyncChangeType type) { syncer 1251 chrome/browser/search_engines/template_url_service.cc DCHECK_NE(type, syncer::SyncChange::ACTION_INVALID); syncer 1268 chrome/browser/search_engines/template_url_service.cc syncer::SyncChangeList changes; syncer 1270 chrome/browser/search_engines/template_url_service.cc syncer::SyncData sync_data = CreateSyncDataFromTemplateURL(*turl); syncer 1271 chrome/browser/search_engines/template_url_service.cc changes.push_back(syncer::SyncChange(from_here, syncer 1279 chrome/browser/search_engines/template_url_service.cc syncer::SyncData TemplateURLService::CreateSyncDataFromTemplateURL( syncer 1316 chrome/browser/search_engines/template_url_service.cc return syncer::SyncData::CreateLocalData(se_specifics->sync_guid(), syncer 1325 chrome/browser/search_engines/template_url_service.cc const syncer::SyncData& sync_data, syncer 1326 chrome/browser/search_engines/template_url_service.cc syncer::SyncChangeList* change_list) { syncer 1336 chrome/browser/search_engines/template_url_service.cc syncer::SyncChange(FROM_HERE, syncer 1337 chrome/browser/search_engines/template_url_service.cc syncer::SyncChange::ACTION_DELETE, syncer 1395 chrome/browser/search_engines/template_url_service.cc syncer::SyncData sync_data = CreateSyncDataFromTemplateURL(*turl); syncer 1396 chrome/browser/search_engines/template_url_service.cc change_list->push_back(syncer::SyncChange(FROM_HERE, syncer 1397 chrome/browser/search_engines/template_url_service.cc syncer::SyncChange::ACTION_UPDATE, syncer 1419 chrome/browser/search_engines/template_url_service.cc const syncer::SyncDataList& sync_data) { syncer 1421 chrome/browser/search_engines/template_url_service.cc for (syncer::SyncDataList::const_iterator i(sync_data.begin()); syncer 1894 chrome/browser/search_engines/template_url_service.cc syncer::SyncChange::ACTION_UPDATE); syncer 2204 chrome/browser/search_engines/template_url_service.cc syncer::SyncChange::ACTION_UPDATE); syncer 2256 chrome/browser/search_engines/template_url_service.cc syncer::SyncChange::ACTION_ADD); syncer 2282 chrome/browser/search_engines/template_url_service.cc syncer::SyncChange::ACTION_DELETE); syncer 2409 chrome/browser/search_engines/template_url_service.cc syncer::SyncChangeList* change_list) { syncer 2443 chrome/browser/search_engines/template_url_service.cc syncer::SyncData sync_data = CreateSyncDataFromTemplateURL(*loser); syncer 2444 chrome/browser/search_engines/template_url_service.cc change_list->push_back(syncer::SyncChange(FROM_HERE, syncer 2445 chrome/browser/search_engines/template_url_service.cc syncer::SyncChange::ACTION_UPDATE, syncer 2452 chrome/browser/search_engines/template_url_service.cc syncer::SyncChangeList* change_list, syncer 2454 chrome/browser/search_engines/template_url_service.cc syncer::SyncMergeResult* merge_result) { syncer 2483 chrome/browser/search_engines/template_url_service.cc syncer::SyncData sync_data = syncer 2485 chrome/browser/search_engines/template_url_service.cc change_list->push_back(syncer::SyncChange( syncer 2486 chrome/browser/search_engines/template_url_service.cc FROM_HERE, syncer::SyncChange::ACTION_UPDATE, sync_data)); syncer 34 chrome/browser/search_engines/template_url_service.h namespace syncer { syncer 67 chrome/browser/search_engines/template_url_service.h public syncer::SyncableService { syncer 73 chrome/browser/search_engines/template_url_service.h typedef std::map<std::string, syncer::SyncData> SyncDataMap; syncer 316 chrome/browser/search_engines/template_url_service.h virtual syncer::SyncDataList GetAllSyncData( syncer 317 chrome/browser/search_engines/template_url_service.h syncer::ModelType type) const OVERRIDE; syncer 321 chrome/browser/search_engines/template_url_service.h virtual syncer::SyncError ProcessSyncChanges( syncer 323 chrome/browser/search_engines/template_url_service.h const syncer::SyncChangeList& change_list) OVERRIDE; syncer 327 chrome/browser/search_engines/template_url_service.h virtual syncer::SyncMergeResult MergeDataAndStartSyncing( syncer 328 chrome/browser/search_engines/template_url_service.h syncer::ModelType type, syncer 329 chrome/browser/search_engines/template_url_service.h const syncer::SyncDataList& initial_sync_data, syncer 330 chrome/browser/search_engines/template_url_service.h scoped_ptr<syncer::SyncChangeProcessor> sync_processor, syncer 331 chrome/browser/search_engines/template_url_service.h scoped_ptr<syncer::SyncErrorFactory> sync_error_factory) OVERRIDE; syncer 332 chrome/browser/search_engines/template_url_service.h virtual void StopSyncing(syncer::ModelType type) OVERRIDE; syncer 341 chrome/browser/search_engines/template_url_service.h syncer::SyncChange::SyncChangeType type); syncer 347 chrome/browser/search_engines/template_url_service.h static syncer::SyncData CreateSyncDataFromTemplateURL( syncer 361 chrome/browser/search_engines/template_url_service.h const syncer::SyncData& sync_data, syncer 362 chrome/browser/search_engines/template_url_service.h syncer::SyncChangeList* change_list); syncer 366 chrome/browser/search_engines/template_url_service.h const syncer::SyncDataList& sync_data); syncer 608 chrome/browser/search_engines/template_url_service.h syncer::SyncChangeList* change_list); syncer 626 chrome/browser/search_engines/template_url_service.h syncer::SyncChangeList* change_list, syncer 628 chrome/browser/search_engines/template_url_service.h syncer::SyncMergeResult* merge_result); syncer 748 chrome/browser/search_engines/template_url_service.h scoped_ptr<syncer::SyncChangeProcessor> sync_processor_; syncer 751 chrome/browser/search_engines/template_url_service.h scoped_ptr<syncer::SyncErrorFactory> sync_error_factory_; syncer 39 chrome/browser/search_engines/template_url_service_sync_unittest.cc std::string GetGUID(const syncer::SyncData& sync_data) { syncer 44 chrome/browser/search_engines/template_url_service_sync_unittest.cc std::string GetURL(const syncer::SyncData& sync_data) { syncer 49 chrome/browser/search_engines/template_url_service_sync_unittest.cc std::string GetKeyword(const syncer::SyncData& sync_data) { syncer 57 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncData CreateCustomSyncData(const TemplateURL& turl, syncer 80 chrome/browser/search_engines/template_url_service_sync_unittest.cc return syncer::SyncData::CreateLocalData(turl.sync_guid(), // Must be valid! syncer 89 chrome/browser/search_engines/template_url_service_sync_unittest.cc class TestChangeProcessor : public syncer::SyncChangeProcessor { syncer 95 chrome/browser/search_engines/template_url_service_sync_unittest.cc virtual syncer::SyncError ProcessSyncChanges( syncer 97 chrome/browser/search_engines/template_url_service_sync_unittest.cc const syncer::SyncChangeList& change_list) OVERRIDE; syncer 99 chrome/browser/search_engines/template_url_service_sync_unittest.cc virtual syncer::SyncDataList GetAllSyncData(syncer::ModelType type) const syncer 101 chrome/browser/search_engines/template_url_service_sync_unittest.cc return syncer::SyncDataList(); syncer 108 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncChange change_for_guid(const std::string& guid) const { syncer 119 chrome/browser/search_engines/template_url_service_sync_unittest.cc std::map<std::string, syncer::SyncChange> change_map_; syncer 131 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncError TestChangeProcessor::ProcessSyncChanges( syncer 133 chrome/browser/search_engines/template_url_service_sync_unittest.cc const syncer::SyncChangeList& change_list) { syncer 135 chrome/browser/search_engines/template_url_service_sync_unittest.cc return syncer::SyncError( syncer 137 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncError::DATATYPE_ERROR, syncer 139 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SEARCH_ENGINES); syncer 142 chrome/browser/search_engines/template_url_service_sync_unittest.cc for (syncer::SyncChangeList::const_iterator iter = change_list.begin(); syncer 145 chrome/browser/search_engines/template_url_service_sync_unittest.cc return syncer::SyncError(); syncer 170 chrome/browser/search_engines/template_url_service_sync_unittest.cc scoped_ptr<syncer::SyncChangeProcessor> PassProcessor(); syncer 171 chrome/browser/search_engines/template_url_service_sync_unittest.cc scoped_ptr<syncer::SyncErrorFactory> CreateAndPassSyncErrorFactory(); syncer 189 chrome/browser/search_engines/template_url_service_sync_unittest.cc void AssertEquals(const syncer::SyncDataList& data1, syncer 190 chrome/browser/search_engines/template_url_service_sync_unittest.cc const syncer::SyncDataList& data2) const; syncer 193 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncChange CreateTestSyncChange( syncer 194 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncChange::SyncChangeType type, syncer 201 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncDataList CreateInitialSyncData() const; syncer 204 chrome/browser/search_engines/template_url_service_sync_unittest.cc TemplateURL* Deserialize(const syncer::SyncData& sync_data); syncer 222 chrome/browser/search_engines/template_url_service_sync_unittest.cc scoped_ptr<syncer::SyncChangeProcessorWrapperForTest> sync_processor_wrapper_; syncer 229 chrome/browser/search_engines/template_url_service_sync_unittest.cc sync_processor_wrapper_(new syncer::SyncChangeProcessorWrapperForTest( syncer 249 chrome/browser/search_engines/template_url_service_sync_unittest.cc scoped_ptr<syncer::SyncChangeProcessor> syncer 251 chrome/browser/search_engines/template_url_service_sync_unittest.cc return sync_processor_wrapper_.PassAs<syncer::SyncChangeProcessor>(); syncer 254 chrome/browser/search_engines/template_url_service_sync_unittest.cc scoped_ptr<syncer::SyncErrorFactory> TemplateURLServiceSyncTest:: syncer 256 chrome/browser/search_engines/template_url_service_sync_unittest.cc return scoped_ptr<syncer::SyncErrorFactory>( syncer 257 chrome/browser/search_engines/template_url_service_sync_unittest.cc new syncer::SyncErrorFactoryMock()); syncer 297 chrome/browser/search_engines/template_url_service_sync_unittest.cc const syncer::SyncDataList& data1, syncer 298 chrome/browser/search_engines/template_url_service_sync_unittest.cc const syncer::SyncDataList& data2) const { syncer 314 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncChange TemplateURLServiceSyncTest::CreateTestSyncChange( syncer 315 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncChange::SyncChangeType type, syncer 320 chrome/browser/search_engines/template_url_service_sync_unittest.cc return syncer::SyncChange( syncer 326 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncDataList TemplateURLServiceSyncTest::CreateInitialSyncData() const { syncer 327 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncDataList list; syncer 343 chrome/browser/search_engines/template_url_service_sync_unittest.cc const syncer::SyncData& sync_data) { syncer 344 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncChangeList dummy; syncer 368 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncData sync_data = syncer 381 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncDataList all_sync_data = syncer 382 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->GetAllSyncData(syncer::SEARCH_ENGINES); syncer 386 chrome/browser/search_engines/template_url_service_sync_unittest.cc for (syncer::SyncDataList::const_iterator iter = all_sync_data.begin(); syncer 400 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncDataList all_sync_data = syncer 401 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->GetAllSyncData(syncer::SEARCH_ENGINES); syncer 405 chrome/browser/search_engines/template_url_service_sync_unittest.cc for (syncer::SyncDataList::const_iterator iter = all_sync_data.begin(); syncer 420 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncDataList all_sync_data = syncer 421 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->GetAllSyncData(syncer::SEARCH_ENGINES); syncer 425 chrome/browser/search_engines/template_url_service_sync_unittest.cc for (syncer::SyncDataList::const_iterator iter = all_sync_data.begin(); syncer 521 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncChangeList changes; syncer 527 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_UPDATE, changes[0].change_type()); syncer 550 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_UPDATE, changes[0].change_type()); syncer 567 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_UPDATE, changes[0].change_type()); syncer 584 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_UPDATE, changes[0].change_type()); syncer 590 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncMergeResult merge_result = model()->MergeDataAndStartSyncing( syncer 591 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SEARCH_ENGINES, syncer::SyncDataList(), syncer 594 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(0U, model()->GetAllSyncData(syncer::SEARCH_ENGINES).size()); syncer 604 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncDataList initial_data = CreateInitialSyncData(); syncer 606 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncMergeResult merge_result = model()->MergeDataAndStartSyncing( syncer 607 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SEARCH_ENGINES, initial_data, syncer 610 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(3U, model()->GetAllSyncData(syncer::SEARCH_ENGINES).size()); syncer 613 chrome/browser/search_engines/template_url_service_sync_unittest.cc for (syncer::SyncDataList::const_iterator iter = initial_data.begin(); syncer 636 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncDataList initial_data = CreateInitialSyncData(); syncer 638 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncMergeResult merge_result = model()->MergeDataAndStartSyncing( syncer 639 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SEARCH_ENGINES, initial_data, syncer 642 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(6U, model()->GetAllSyncData(syncer::SEARCH_ENGINES).size()); syncer 645 chrome/browser/search_engines/template_url_service_sync_unittest.cc for (syncer::SyncDataList::const_iterator iter = initial_data.begin(); syncer 672 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncDataList initial_data = CreateInitialSyncData(); syncer 673 chrome/browser/search_engines/template_url_service_sync_unittest.cc for (syncer::SyncDataList::const_iterator iter = initial_data.begin(); syncer 679 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncMergeResult merge_result = model()->MergeDataAndStartSyncing( syncer 680 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SEARCH_ENGINES, initial_data, syncer 683 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(3U, model()->GetAllSyncData(syncer::SEARCH_ENGINES).size()); syncer 684 chrome/browser/search_engines/template_url_service_sync_unittest.cc for (syncer::SyncDataList::const_iterator iter = initial_data.begin(); syncer 702 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncDataList initial_data; syncer 720 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncMergeResult merge_result = model()->MergeDataAndStartSyncing( syncer 721 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SEARCH_ENGINES, initial_data, syncer 725 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(2U, model()->GetAllSyncData(syncer::SEARCH_ENGINES).size()); syncer 734 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncChange change = processor()->change_for_guid("xyz"); syncer 735 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_TRUE(change.change_type() == syncer::SyncChange::ACTION_UPDATE); syncer 759 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncMergeResult merge_result = model()->MergeDataAndStartSyncing( syncer 760 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SEARCH_ENGINES, syncer 767 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(4U, model()->GetAllSyncData(syncer::SEARCH_ENGINES).size()); syncer 775 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncChange key1_change = processor()->change_for_guid("key1"); syncer 776 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_UPDATE, key1_change.change_type()); syncer 789 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncChange key2_change = processor()->change_for_guid("key2"); syncer 790 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_UPDATE, key2_change.change_type()); syncer 805 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_ADD, syncer 831 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncMergeResult merge_result = model()->MergeDataAndStartSyncing( syncer 832 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SEARCH_ENGINES, syncer 838 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(4U, model()->GetAllSyncData(syncer::SEARCH_ENGINES).size()); syncer 864 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_ADD, syncer 880 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SEARCH_ENGINES, syncer::SyncDataList(), syncer 884 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncChangeList changes; syncer 885 chrome/browser/search_engines/template_url_service_sync_unittest.cc changes.push_back(CreateTestSyncChange(syncer::SyncChange::ACTION_ADD, syncer 887 chrome/browser/search_engines/template_url_service_sync_unittest.cc changes.push_back(CreateTestSyncChange(syncer::SyncChange::ACTION_ADD, syncer 889 chrome/browser/search_engines/template_url_service_sync_unittest.cc changes.push_back(CreateTestSyncChange(syncer::SyncChange::ACTION_ADD, syncer 894 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(3U, model()->GetAllSyncData(syncer::SEARCH_ENGINES).size()); syncer 902 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->MergeDataAndStartSyncing(syncer::SEARCH_ENGINES, syncer 907 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncChangeList changes; syncer 908 chrome/browser/search_engines/template_url_service_sync_unittest.cc changes.push_back(CreateTestSyncChange(syncer::SyncChange::ACTION_ADD, syncer 910 chrome/browser/search_engines/template_url_service_sync_unittest.cc changes.push_back(CreateTestSyncChange(syncer::SyncChange::ACTION_UPDATE, syncer 913 chrome/browser/search_engines/template_url_service_sync_unittest.cc changes.push_back(CreateTestSyncChange(syncer::SyncChange::ACTION_DELETE, syncer 919 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(3U, model()->GetAllSyncData(syncer::SEARCH_ENGINES).size()); syncer 932 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->MergeDataAndStartSyncing(syncer::SEARCH_ENGINES, syncer 938 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncChangeList changes; syncer 939 chrome/browser/search_engines/template_url_service_sync_unittest.cc changes.push_back(CreateTestSyncChange(syncer::SyncChange::ACTION_ADD, syncer 941 chrome/browser/search_engines/template_url_service_sync_unittest.cc changes.push_back(CreateTestSyncChange(syncer::SyncChange::ACTION_UPDATE, syncer 947 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(4U, model()->GetAllSyncData(syncer::SEARCH_ENGINES).size()); syncer 953 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_UPDATE, syncer 956 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_UPDATE, syncer 976 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->MergeDataAndStartSyncing(syncer::SEARCH_ENGINES, syncer 982 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncChangeList changes; syncer 983 chrome/browser/search_engines/template_url_service_sync_unittest.cc changes.push_back(CreateTestSyncChange(syncer::SyncChange::ACTION_ADD, syncer 986 chrome/browser/search_engines/template_url_service_sync_unittest.cc changes.push_back(CreateTestSyncChange(syncer::SyncChange::ACTION_UPDATE, syncer 993 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(4U, model()->GetAllSyncData(syncer::SEARCH_ENGINES).size()); syncer 1014 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_UPDATE, syncer 1017 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_UPDATE, syncer 1024 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->MergeDataAndStartSyncing(syncer::SEARCH_ENGINES, syncer 1034 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncChange change = processor()->change_for_guid("new"); syncer 1035 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_ADD, change.change_type()); syncer 1046 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_UPDATE, change.change_type()); syncer 1055 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_DELETE, change.change_type()); syncer 1059 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->MergeDataAndStartSyncing(syncer::SEARCH_ENGINES, syncer 1074 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncChangeList changes; syncer 1075 chrome/browser/search_engines/template_url_service_sync_unittest.cc changes.push_back(CreateTestSyncChange(syncer::SyncChange::ACTION_ADD, syncer 1078 chrome/browser/search_engines/template_url_service_sync_unittest.cc changes.push_back(CreateTestSyncChange(syncer::SyncChange::ACTION_ADD, syncer 1100 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncDataList initial_data; syncer 1111 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->MergeDataAndStartSyncing(syncer::SEARCH_ENGINES, initial_data, syncer 1127 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncChange key1_change = processor()->change_for_guid("key1"); syncer 1128 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_UPDATE, key1_change.change_type()); syncer 1131 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncChange key2_change = processor()->change_for_guid("key2"); syncer 1132 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_UPDATE, key2_change.change_type()); syncer 1148 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncDataList initial_data; syncer 1165 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->MergeDataAndStartSyncing(syncer::SEARCH_ENGINES, initial_data, syncer 1184 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncChange sync1_change = processor()->change_for_guid("sync1"); syncer 1185 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_UPDATE, sync1_change.change_type()); syncer 1189 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncChange sync2_change = processor()->change_for_guid("sync2"); syncer 1190 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_UPDATE, sync2_change.change_type()); syncer 1199 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncDataList initial_data; syncer 1208 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->MergeDataAndStartSyncing(syncer::SEARCH_ENGINES, initial_data, syncer 1224 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncChange key1_change = processor()->change_for_guid("key1"); syncer 1225 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_UPDATE, key1_change.change_type()); syncer 1229 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncChange key2_change = processor()->change_for_guid("key2"); syncer 1230 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_UPDATE, key2_change.change_type()); syncer 1237 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncDataList initial_data; syncer 1259 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->MergeDataAndStartSyncing(syncer::SEARCH_ENGINES, initial_data, syncer 1271 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncChange keyword_change = processor()->change_for_guid("keyword"); syncer 1272 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_UPDATE, keyword_change.change_type()); syncer 1279 chrome/browser/search_engines/template_url_service_sync_unittest.cc model_b()->MergeDataAndStartSyncing(syncer::SEARCH_ENGINES, syncer 1285 chrome/browser/search_engines/template_url_service_sync_unittest.cc scoped_ptr<syncer::SyncChangeProcessorWrapperForTest> delegate_b( syncer 1286 chrome/browser/search_engines/template_url_service_sync_unittest.cc new syncer::SyncChangeProcessorWrapperForTest(model_b())); syncer 1287 chrome/browser/search_engines/template_url_service_sync_unittest.cc model_a()->MergeDataAndStartSyncing(syncer::SEARCH_ENGINES, syncer 1288 chrome/browser/search_engines/template_url_service_sync_unittest.cc model_b()->GetAllSyncData(syncer::SEARCH_ENGINES), syncer 1289 chrome/browser/search_engines/template_url_service_sync_unittest.cc delegate_b.PassAs<syncer::SyncChangeProcessor>(), syncer 1293 chrome/browser/search_engines/template_url_service_sync_unittest.cc AssertEquals(model_a()->GetAllSyncData(syncer::SEARCH_ENGINES), syncer 1294 chrome/browser/search_engines/template_url_service_sync_unittest.cc model_b()->GetAllSyncData(syncer::SEARCH_ENGINES)); syncer 1299 chrome/browser/search_engines/template_url_service_sync_unittest.cc model_b()->MergeDataAndStartSyncing(syncer::SEARCH_ENGINES, syncer 1314 chrome/browser/search_engines/template_url_service_sync_unittest.cc scoped_ptr<syncer::SyncChangeProcessorWrapperForTest> delegate_b( syncer 1315 chrome/browser/search_engines/template_url_service_sync_unittest.cc new syncer::SyncChangeProcessorWrapperForTest(model_b())); syncer 1316 chrome/browser/search_engines/template_url_service_sync_unittest.cc model_a()->MergeDataAndStartSyncing(syncer::SEARCH_ENGINES, syncer 1317 chrome/browser/search_engines/template_url_service_sync_unittest.cc model_b()->GetAllSyncData(syncer::SEARCH_ENGINES), syncer 1318 chrome/browser/search_engines/template_url_service_sync_unittest.cc delegate_b.PassAs<syncer::SyncChangeProcessor>(), syncer 1322 chrome/browser/search_engines/template_url_service_sync_unittest.cc AssertEquals(model_a()->GetAllSyncData(syncer::SEARCH_ENGINES), syncer 1323 chrome/browser/search_engines/template_url_service_sync_unittest.cc model_b()->GetAllSyncData(syncer::SEARCH_ENGINES)); syncer 1327 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncError error = syncer 1329 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SEARCH_ENGINES, syncer 1334 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->StopSyncing(syncer::SEARCH_ENGINES); syncer 1336 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncChangeList changes; syncer 1337 chrome/browser/search_engines/template_url_service_sync_unittest.cc changes.push_back(CreateTestSyncChange(syncer::SyncChange::ACTION_UPDATE, syncer 1350 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncError error = syncer 1352 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SEARCH_ENGINES, syncer 1361 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncChangeList changes; syncer 1362 chrome/browser/search_engines/template_url_service_sync_unittest.cc changes.push_back(CreateTestSyncChange(syncer::SyncChange::ACTION_UPDATE, syncer 1377 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncError error = syncer 1379 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SEARCH_ENGINES, syncer 1385 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncChangeList changes; syncer 1386 chrome/browser/search_engines/template_url_service_sync_unittest.cc changes.push_back(CreateTestSyncChange(syncer::SyncChange::ACTION_UPDATE, syncer 1397 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncDataList initial_data; syncer 1403 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncError error = syncer 1405 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SEARCH_ENGINES, syncer 1431 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->StopSyncing(syncer::SEARCH_ENGINES); syncer 1433 chrome/browser/search_engines/template_url_service_sync_unittest.cc new syncer::SyncChangeProcessorWrapperForTest(sync_processor_.get())); syncer 1435 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SEARCH_ENGINES, syncer 1448 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncDataList initial_data = CreateInitialSyncData(); syncer 1453 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->MergeDataAndStartSyncing(syncer::SEARCH_ENGINES, initial_data, syncer 1457 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(3U, model()->GetAllSyncData(syncer::SEARCH_ENGINES).size()); syncer 1470 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncChangeList changes1; syncer 1471 chrome/browser/search_engines/template_url_service_sync_unittest.cc changes1.push_back(CreateTestSyncChange(syncer::SyncChange::ACTION_ADD, syncer 1476 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(4U, model()->GetAllSyncData(syncer::SEARCH_ENGINES).size()); syncer 1481 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncChangeList changes2; syncer 1482 chrome/browser/search_engines/template_url_service_sync_unittest.cc changes2.push_back(CreateTestSyncChange(syncer::SyncChange::ACTION_ADD, syncer 1487 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(5U, model()->GetAllSyncData(syncer::SEARCH_ENGINES).size()); syncer 1493 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncDataList initial_data; syncer 1516 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->MergeDataAndStartSyncing(syncer::SEARCH_ENGINES, initial_data, syncer 1521 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(2U, model()->GetAllSyncData(syncer::SEARCH_ENGINES).size()); syncer 1540 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncChangeList changes1; syncer 1541 chrome/browser/search_engines/template_url_service_sync_unittest.cc changes1.push_back(CreateTestSyncChange(syncer::SyncChange::ACTION_DELETE, syncer 1546 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(2U, model()->GetAllSyncData(syncer::SEARCH_ENGINES).size()); syncer 1550 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncChange undelete = processor()->change_for_guid("key1"); syncer 1551 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_ADD, undelete.change_type()); syncer 1557 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncChangeList changes2; syncer 1558 chrome/browser/search_engines/template_url_service_sync_unittest.cc changes2.push_back(CreateTestSyncChange(syncer::SyncChange::ACTION_ADD, syncer 1563 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(3U, model()->GetAllSyncData(syncer::SEARCH_ENGINES).size()); syncer 1591 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncDataList initial_data = CreateInitialSyncData(); syncer 1597 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->MergeDataAndStartSyncing(syncer::SEARCH_ENGINES, initial_data, syncer 1601 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(4U, model()->GetAllSyncData(syncer::SEARCH_ENGINES).size()); syncer 1625 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncDataList initial_data = CreateInitialSyncData(); syncer 1626 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->MergeDataAndStartSyncing(syncer::SEARCH_ENGINES, initial_data, syncer 1630 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(4U, model()->GetAllSyncData(syncer::SEARCH_ENGINES).size()); syncer 1643 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncDataList initial_data = CreateInitialSyncData(); syncer 1648 chrome/browser/search_engines/template_url_service_sync_unittest.cc for (syncer::SyncDataList::const_iterator iter = initial_data.begin(); syncer 1658 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->MergeDataAndStartSyncing(syncer::SEARCH_ENGINES, initial_data, syncer 1661 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(3U, model()->GetAllSyncData(syncer::SEARCH_ENGINES).size()); syncer 1671 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncDataList initial_data = CreateInitialSyncData(); syncer 1672 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->MergeDataAndStartSyncing(syncer::SEARCH_ENGINES, initial_data, syncer 1676 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(3U, model()->GetAllSyncData(syncer::SEARCH_ENGINES).size()); syncer 1697 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncChangeList changes; syncer 1698 chrome/browser/search_engines/template_url_service_sync_unittest.cc changes.push_back(CreateTestSyncChange(syncer::SyncChange::ACTION_ADD, syncer 1704 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(4U, model()->GetAllSyncData(syncer::SEARCH_ENGINES).size()); syncer 1732 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncDataList initial_data = CreateInitialSyncData(); syncer 1738 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->MergeDataAndStartSyncing(syncer::SEARCH_ENGINES, initial_data, syncer 1741 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(3U, model()->GetAllSyncData(syncer::SEARCH_ENGINES).size()); syncer 1758 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncDataList initial_data = CreateInitialSyncData(); syncer 1765 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->MergeDataAndStartSyncing(syncer::SEARCH_ENGINES, initial_data, syncer 1771 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(3U, model()->GetAllSyncData(syncer::SEARCH_ENGINES).size()); syncer 1778 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_UPDATE, syncer 1790 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncDataList initial_data; syncer 1800 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->MergeDataAndStartSyncing(syncer::SEARCH_ENGINES, initial_data, syncer 1808 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_DELETE, syncer 1811 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_DELETE, syncer 1821 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncMergeResult merge_result = model()->MergeDataAndStartSyncing( syncer 1822 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SEARCH_ENGINES, syncer 1829 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncChange change = processor()->change_for_guid("key1"); syncer 1830 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_DELETE, change.change_type()); syncer 1832 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_DELETE, change.change_type()); syncer 1888 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncDataList initial_data; syncer 1896 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncMergeResult merge_result = model()->MergeDataAndStartSyncing( syncer 1897 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SEARCH_ENGINES, syncer 1903 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncChange change = processor()->change_for_guid(sync_guid); syncer 1904 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_UPDATE, change.change_type()); syncer 1924 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncDataList initial_data; syncer 1930 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->MergeDataAndStartSyncing(syncer::SEARCH_ENGINES, initial_data, syncer 1938 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncChangeList changes; syncer 1939 chrome/browser/search_engines/template_url_service_sync_unittest.cc changes.push_back(CreateTestSyncChange(syncer::SyncChange::ACTION_UPDATE, syncer 1952 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncChange change(processor()->change_for_guid("guid")); syncer 1953 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_UPDATE, change.change_type()); syncer 2053 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncChangeList change_list; syncer 2054 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncMergeResult merge_result(syncer::SEARCH_ENGINES); syncer 2076 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_UPDATE, syncer 2121 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncDataList list; syncer 2125 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncMergeResult merge_result = model()->MergeDataAndStartSyncing( syncer 2126 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SEARCH_ENGINES, list, PassProcessor(), syncer 2137 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncMergeResult merge_result = model()->MergeDataAndStartSyncing( syncer 2138 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SEARCH_ENGINES, syncer::SyncDataList(), PassProcessor(), syncer 2147 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncChangeList changes; syncer 2148 chrome/browser/search_engines/template_url_service_sync_unittest.cc changes.push_back(CreateTestSyncChange(syncer::SyncChange::ACTION_ADD, syncer 2168 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncMergeResult merge_result = model()->MergeDataAndStartSyncing( syncer 2169 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SEARCH_ENGINES, syncer::SyncDataList(), PassProcessor(), syncer 2177 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncChangeList changes; syncer 2178 chrome/browser/search_engines/template_url_service_sync_unittest.cc changes.push_back(CreateTestSyncChange(syncer::SyncChange::ACTION_UPDATE, syncer 2206 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncDataList list; syncer 2208 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncMergeResult merge_result = model()->MergeDataAndStartSyncing( syncer 2209 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SEARCH_ENGINES, list, PassProcessor(), syncer 2236 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncDataList list; syncer 2238 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncMergeResult merge_result = model()->MergeDataAndStartSyncing( syncer 2239 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SEARCH_ENGINES, list, PassProcessor(), syncer 38 chrome/browser/sessions/session_types_unittest.cc const base::Time kTimestamp = syncer::ProtoTimeToTime(100); syncer 294 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc syncer::SyncMergeResult SpellcheckCustomDictionary::MergeDataAndStartSyncing( syncer 295 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc syncer::ModelType type, syncer 296 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc const syncer::SyncDataList& initial_sync_data, syncer 297 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc scoped_ptr<syncer::SyncChangeProcessor> sync_processor, syncer 298 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc scoped_ptr<syncer::SyncErrorFactory> sync_error_handler) { syncer 304 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc DCHECK_EQ(syncer::DICTIONARY, type); syncer 310 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc for (syncer::SyncDataList::const_iterator it = initial_sync_data.begin(); syncer 313 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc DCHECK_EQ(syncer::DICTIONARY, it->GetDataType()); syncer 331 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc syncer::SyncMergeResult result(type); syncer 336 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc void SpellcheckCustomDictionary::StopSyncing(syncer::ModelType type) { syncer 338 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc DCHECK_EQ(syncer::DICTIONARY, type); syncer 343 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc syncer::SyncDataList SpellcheckCustomDictionary::GetAllSyncData( syncer 344 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc syncer::ModelType type) const { syncer 346 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc DCHECK_EQ(syncer::DICTIONARY, type); syncer 347 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc syncer::SyncDataList data; syncer 357 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc data.push_back(syncer::SyncData::CreateLocalData(word, word, specifics)); syncer 362 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc syncer::SyncError SpellcheckCustomDictionary::ProcessSyncChanges( syncer 364 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc const syncer::SyncChangeList& change_list) { syncer 367 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc for (syncer::SyncChangeList::const_iterator it = change_list.begin(); syncer 373 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc case syncer::SyncChange::ACTION_ADD: syncer 376 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc case syncer::SyncChange::ACTION_DELETE: syncer 383 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc syncer::SyncChange::ChangeTypeToString(it->change_type())); syncer 392 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc return syncer::SyncError(); syncer 469 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc syncer::SyncError SpellcheckCustomDictionary::Sync( syncer 472 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc syncer::SyncError error; syncer 488 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc syncer::SyncChangeList sync_change_list; syncer 497 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc sync_change_list.push_back(syncer::SyncChange( syncer 499 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc syncer::SyncChange::ACTION_ADD, syncer 500 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc syncer::SyncData::CreateLocalData(word, word, specifics))); syncer 509 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc sync_change_list.push_back(syncer::SyncChange( syncer 511 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc syncer::SyncChange::ACTION_DELETE, syncer 512 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc syncer::SyncData::CreateLocalData(word, word, specifics))); syncer 523 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc StopSyncing(syncer::DICTIONARY); syncer 28 chrome/browser/spellchecker/spellcheck_custom_dictionary.h public syncer::SyncableService { syncer 112 chrome/browser/spellchecker/spellcheck_custom_dictionary.h virtual syncer::SyncMergeResult MergeDataAndStartSyncing( syncer 113 chrome/browser/spellchecker/spellcheck_custom_dictionary.h syncer::ModelType type, syncer 114 chrome/browser/spellchecker/spellcheck_custom_dictionary.h const syncer::SyncDataList& initial_sync_data, syncer 115 chrome/browser/spellchecker/spellcheck_custom_dictionary.h scoped_ptr<syncer::SyncChangeProcessor> sync_processor, syncer 116 chrome/browser/spellchecker/spellcheck_custom_dictionary.h scoped_ptr<syncer::SyncErrorFactory> sync_error_handler) OVERRIDE; syncer 117 chrome/browser/spellchecker/spellcheck_custom_dictionary.h virtual void StopSyncing(syncer::ModelType type) OVERRIDE; syncer 118 chrome/browser/spellchecker/spellcheck_custom_dictionary.h virtual syncer::SyncDataList GetAllSyncData( syncer 119 chrome/browser/spellchecker/spellcheck_custom_dictionary.h syncer::ModelType type) const OVERRIDE; syncer 120 chrome/browser/spellchecker/spellcheck_custom_dictionary.h virtual syncer::SyncError ProcessSyncChanges( syncer 122 chrome/browser/spellchecker/spellcheck_custom_dictionary.h const syncer::SyncChangeList& change_list) OVERRIDE; syncer 157 chrome/browser/spellchecker/spellcheck_custom_dictionary.h syncer::SyncError Sync(const Change& dictionary_change); syncer 173 chrome/browser/spellchecker/spellcheck_custom_dictionary.h scoped_ptr<syncer::SyncChangeProcessor> sync_processor_; syncer 176 chrome/browser/spellchecker/spellcheck_custom_dictionary.h scoped_ptr<syncer::SyncErrorFactory> sync_error_handler_; syncer 44 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc syncer::SyncDataList GetAllSyncDataNoLimit( syncer 46 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc syncer::SyncDataList data; syncer 53 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc data.push_back(syncer::SyncData::CreateLocalData(word, word, specifics)); syncer 117 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc class SyncErrorFactoryStub : public syncer::SyncErrorFactory { syncer 124 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc virtual syncer::SyncError CreateAndUploadError( syncer 128 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc return syncer::SyncError(location, syncer 129 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc syncer::SyncError::DATATYPE_ERROR, syncer 131 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc syncer::DICTIONARY); syncer 300 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc syncer::SyncDataList data = dictionary->GetAllSyncData(syncer::DICTIONARY); syncer 306 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc data = dictionary->GetAllSyncData(syncer::DICTIONARY); syncer 313 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc EXPECT_EQ(syncer::DICTIONARY, data[i].GetDataType()); syncer 314 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc EXPECT_EQ(words[i], syncer::SyncDataLocal(data[i]).GetTag()); syncer 321 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc data = dictionary->GetAllSyncData(syncer::DICTIONARY); syncer 340 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc dictionary->GetAllSyncData(syncer::DICTIONARY).size()); syncer 346 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc dictionary->GetAllSyncData(syncer::DICTIONARY).size()); syncer 352 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc dictionary->GetAllSyncData(syncer::DICTIONARY).size()); syncer 358 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc dictionary->GetAllSyncData(syncer::DICTIONARY).size()); syncer 370 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc syncer::SyncChangeList changes; syncer 376 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc changes.push_back(syncer::SyncChange( syncer 378 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc syncer::SyncChange::ACTION_ADD, syncer 379 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc syncer::SyncData::CreateLocalData(word, word, specifics))); syncer 387 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc changes.push_back(syncer::SyncChange( syncer 389 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc syncer::SyncChange::ACTION_ADD, syncer 390 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc syncer::SyncData::CreateLocalData(word, word, specifics))); syncer 397 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc changes.push_back(syncer::SyncChange( syncer 399 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc syncer::SyncChange::ACTION_ADD, syncer 400 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc syncer::SyncData::CreateLocalData(word, word, specifics))); syncer 407 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc changes.push_back(syncer::SyncChange( syncer 409 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc syncer::SyncChange::ACTION_DELETE, syncer 410 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc syncer::SyncData::CreateLocalData(word, word, specifics))); syncer 417 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc changes.push_back(syncer::SyncChange( syncer 419 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc syncer::SyncChange::ACTION_DELETE, syncer 420 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc syncer::SyncData::CreateLocalData(word, word, specifics))); syncer 464 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc syncer::DICTIONARY, syncer 466 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc syncer::DICTIONARY), syncer 467 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 468 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc new syncer::SyncChangeProcessorWrapperForTest( syncer 470 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc scoped_ptr<syncer::SyncErrorFactory>( syncer 507 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc syncer::DICTIONARY, syncer 509 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc syncer::DICTIONARY), syncer 510 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 511 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc new syncer::SyncChangeProcessorWrapperForTest( syncer 513 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc scoped_ptr<syncer::SyncErrorFactory>( syncer 526 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc custom_dictionary->GetAllSyncData(syncer::DICTIONARY).size()); syncer 528 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc custom_dictionary2->GetAllSyncData(syncer::DICTIONARY).size()); syncer 564 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc syncer::DICTIONARY, syncer 566 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc syncer::DICTIONARY), syncer 567 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 568 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc new syncer::SyncChangeProcessorWrapperForTest( syncer 570 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc scoped_ptr<syncer::SyncErrorFactory>( syncer 583 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc custom_dictionary->GetAllSyncData(syncer::DICTIONARY).size()); syncer 585 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc custom_dictionary2->GetAllSyncData(syncer::DICTIONARY).size()); syncer 620 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc syncer::DICTIONARY, syncer 622 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 623 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc new syncer::SyncChangeProcessorWrapperForTest( syncer 625 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc scoped_ptr<syncer::SyncErrorFactory>( syncer 638 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc custom_dictionary->GetAllSyncData(syncer::DICTIONARY).size()); syncer 640 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc custom_dictionary2->GetAllSyncData(syncer::DICTIONARY).size()); syncer 670 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc syncer::DICTIONARY, syncer 672 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc syncer::DICTIONARY), syncer 673 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 674 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc new syncer::SyncChangeProcessorWrapperForTest( syncer 676 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc scoped_ptr<syncer::SyncErrorFactory>( syncer 689 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc custom_dictionary->GetAllSyncData(syncer::DICTIONARY).size()); syncer 691 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc custom_dictionary2->GetAllSyncData(syncer::DICTIONARY).size()); syncer 718 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc syncer::DICTIONARY, syncer 720 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc syncer::DICTIONARY), syncer 721 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 722 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc new syncer::SyncChangeProcessorWrapperForTest( syncer 724 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc scoped_ptr<syncer::SyncErrorFactory>( syncer 745 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc custom_dictionary->GetAllSyncData(syncer::DICTIONARY).size()); syncer 747 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc custom_dictionary2->GetAllSyncData(syncer::DICTIONARY).size()); syncer 768 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc syncer::DICTIONARY, syncer 770 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc syncer::DICTIONARY), syncer 771 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 772 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc new syncer::SyncChangeProcessorWrapperForTest( syncer 774 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc scoped_ptr<syncer::SyncErrorFactory>( syncer 789 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc EXPECT_EQ(2UL, custom_dictionary->GetAllSyncData(syncer::DICTIONARY).size()); syncer 790 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc EXPECT_EQ(2UL, custom_dictionary2->GetAllSyncData(syncer::DICTIONARY).size()); syncer 811 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc syncer::DICTIONARY, syncer 813 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc syncer::DICTIONARY), syncer 814 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 815 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc new syncer::SyncChangeProcessorWrapperForTest( syncer 817 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc scoped_ptr<syncer::SyncErrorFactory>( syncer 840 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc custom_dictionary->GetAllSyncData(syncer::DICTIONARY).size()); syncer 842 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc custom_dictionary2->GetAllSyncData(syncer::DICTIONARY).size()); syncer 869 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc syncer::DICTIONARY, syncer 871 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc syncer::DICTIONARY), syncer 872 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 873 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc new syncer::SyncChangeProcessorWrapperForTest( syncer 875 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc scoped_ptr<syncer::SyncErrorFactory>( syncer 892 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc custom_dictionary->GetAllSyncData(syncer::DICTIONARY).size()); syncer 894 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc custom_dictionary2->GetAllSyncData(syncer::DICTIONARY).size()); syncer 991 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc syncer::DICTIONARY, syncer 993 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc syncer::DICTIONARY), syncer 994 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 995 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc new syncer::SyncChangeProcessorWrapperForTest( syncer 997 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc scoped_ptr<syncer::SyncErrorFactory>( syncer 1045 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc syncer::DICTIONARY, syncer 1046 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc server_custom_dictionary->GetAllSyncData(syncer::DICTIONARY), syncer 1047 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 1048 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc new syncer::SyncChangeProcessorWrapperForTest( syncer 1050 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc scoped_ptr<syncer::SyncErrorFactory>( syncer 1093 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc syncer::DICTIONARY, syncer 1094 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc server_custom_dictionary->GetAllSyncData(syncer::DICTIONARY), syncer 1095 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 1096 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc new syncer::SyncChangeProcessorWrapperForTest( syncer 1098 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc scoped_ptr<syncer::SyncErrorFactory>( syncer 171 chrome/browser/sync/about_sync_util.cc time_str = syncer::GetTimeDebugString(time); syncer 179 chrome/browser/sync/about_sync_util.cc case syncer::CONNECTION_NOT_ATTEMPTED: syncer 182 chrome/browser/sync/about_sync_util.cc case syncer::CONNECTION_OK: syncer 187 chrome/browser/sync/about_sync_util.cc case syncer::CONNECTION_AUTH_ERROR: syncer 192 chrome/browser/sync/about_sync_util.cc case syncer::CONNECTION_SERVER_ERROR: syncer 338 chrome/browser/sync/about_sync_util.cc syncer::SyncStatus full_status; syncer 341 chrome/browser/sync/about_sync_util.cc const syncer::sessions::SyncSessionSnapshot& snapshot = syncer 344 chrome/browser/sync/about_sync_util.cc syncer::sessions::SyncSessionSnapshot(); syncer 410 chrome/browser/sync/about_sync_util.cc syncer::GetUpdatesSourceString(snapshot.legacy_updates_source())); syncer 472 chrome/browser/sync/about_sync_util.cc full_status.sync_protocol_error.error_type != syncer::UNKNOWN_ERROR && syncer 473 chrome/browser/sync/about_sync_util.cc full_status.sync_protocol_error.error_type != syncer::SYNC_SUCCESS; syncer 490 chrome/browser/sync/about_sync_util.cc error_type.SetValue(syncer::GetSyncErrorTypeString( syncer 492 chrome/browser/sync/about_sync_util.cc action.SetValue(syncer::GetClientActionString( syncer 18 chrome/browser/sync/abstract_profile_sync_service_test.cc using syncer::ModelType; syncer 19 chrome/browser/sync/abstract_profile_sync_service_test.cc using syncer::UserShare; syncer 22 chrome/browser/sync/abstract_profile_sync_service_test.cc syncer::ImmutableChangeRecordList syncer 24 chrome/browser/sync/abstract_profile_sync_service_test.cc int64 node_id, syncer::ChangeRecord::Action action) { syncer 25 chrome/browser/sync/abstract_profile_sync_service_test.cc syncer::ChangeRecord record; syncer 28 chrome/browser/sync/abstract_profile_sync_service_test.cc syncer::ChangeRecordList records(1, record); syncer 29 chrome/browser/sync/abstract_profile_sync_service_test.cc return syncer::ImmutableChangeRecordList(&records); syncer 33 chrome/browser/sync/abstract_profile_sync_service_test.cc syncer::ImmutableChangeRecordList syncer 36 chrome/browser/sync/abstract_profile_sync_service_test.cc syncer::ChangeRecord record; syncer 37 chrome/browser/sync/abstract_profile_sync_service_test.cc record.action = syncer::ChangeRecord::ACTION_DELETE; syncer 40 chrome/browser/sync/abstract_profile_sync_service_test.cc syncer::ChangeRecordList records(1, record); syncer 41 chrome/browser/sync/abstract_profile_sync_service_test.cc return syncer::ImmutableChangeRecordList(&records); syncer 65 chrome/browser/sync/abstract_profile_sync_service_test.cc return syncer::TestUserShare::CreateRoot(model_type, syncer 23 chrome/browser/sync/abstract_profile_sync_service_test.h namespace syncer { syncer 29 chrome/browser/sync/abstract_profile_sync_service_test.h static syncer::ImmutableChangeRecordList MakeSingletonChangeRecordList( syncer 30 chrome/browser/sync/abstract_profile_sync_service_test.h int64 node_id, syncer::ChangeRecord::Action action); syncer 33 chrome/browser/sync/abstract_profile_sync_service_test.h static syncer::ImmutableChangeRecordList syncer 48 chrome/browser/sync/abstract_profile_sync_service_test.h bool CreateRoot(syncer::ModelType model_type); syncer 58 chrome/browser/sync/abstract_profile_sync_service_test.h syncer::ModelType model_type); syncer 69 chrome/browser/sync/abstract_profile_sync_service_test.h syncer::ModelType model_type_; syncer 19 chrome/browser/sync/backend_migrator.cc using syncer::ModelTypeSet; syncer 23 chrome/browser/sync/backend_migrator.cc using syncer::ModelTypeToString; syncer 28 chrome/browser/sync/backend_migrator.cc syncer::UserShare* user_share, syncer 48 chrome/browser/sync/backend_migrator.cc void BackendMigrator::MigrateTypes(syncer::ModelTypeSet types) { syncer 107 chrome/browser/sync/backend_migrator.cc manager_->PurgeForMigration(to_migrate_, syncer::CONFIGURE_REASON_MIGRATION); syncer 126 chrome/browser/sync/backend_migrator.cc syncer::ModelTypeSet GetUnsyncedDataTypes(syncer::UserShare* user_share) { syncer 127 chrome/browser/sync/backend_migrator.cc syncer::ReadTransaction trans(FROM_HERE, user_share); syncer 128 chrome/browser/sync/backend_migrator.cc syncer::ModelTypeSet unsynced_data_types; syncer 129 chrome/browser/sync/backend_migrator.cc for (int i = syncer::FIRST_REAL_MODEL_TYPE; syncer 130 chrome/browser/sync/backend_migrator.cc i < syncer::MODEL_TYPE_COUNT; ++i) { syncer 131 chrome/browser/sync/backend_migrator.cc syncer::ModelType type = syncer::ModelTypeFromInt(i); syncer 182 chrome/browser/sync/backend_migrator.cc const syncer::ModelTypeSet unsynced_types = syncer 186 chrome/browser/sync/backend_migrator.cc << syncer::ModelTypeSetToString(unsynced_types) syncer 188 chrome/browser/sync/backend_migrator.cc << syncer::ModelTypeSetToString(to_migrate_) syncer 198 chrome/browser/sync/backend_migrator.cc << syncer::ModelTypeSetToString(full_set); syncer 199 chrome/browser/sync/backend_migrator.cc manager_->Configure(full_set, syncer::CONFIGURE_REASON_MIGRATION); syncer 205 chrome/browser/sync/backend_migrator.cc << syncer::ModelTypeSetToString(to_migrate_); syncer 217 chrome/browser/sync/backend_migrator.cc syncer::ModelTypeSet BackendMigrator::GetPendingMigrationTypesForTest() const { syncer 18 chrome/browser/sync/backend_migrator.h namespace syncer { syncer 51 chrome/browser/sync/backend_migrator.h syncer::UserShare* user_share, syncer 58 chrome/browser/sync/backend_migrator.h void MigrateTypes(syncer::ModelTypeSet types); syncer 71 chrome/browser/sync/backend_migrator.h syncer::ModelTypeSet GetPendingMigrationTypesForTest() const; syncer 89 chrome/browser/sync/backend_migrator.h syncer::UserShare* user_share_; syncer 97 chrome/browser/sync/backend_migrator.h syncer::ModelTypeSet to_migrate_; syncer 28 chrome/browser/sync/backend_migrator_unittest.cc using syncer::sessions::SyncSessionSnapshot; syncer 39 chrome/browser/sync/backend_migrator_unittest.cc preferred_types_.Put(syncer::BOOKMARKS); syncer 40 chrome/browser/sync/backend_migrator_unittest.cc preferred_types_.Put(syncer::PREFERENCES); syncer 41 chrome/browser/sync/backend_migrator_unittest.cc preferred_types_.Put(syncer::AUTOFILL); syncer 50 chrome/browser/sync/backend_migrator_unittest.cc SetUnsyncedTypes(syncer::ModelTypeSet()); syncer 60 chrome/browser/sync/backend_migrator_unittest.cc void SetUnsyncedTypes(syncer::ModelTypeSet unsynced_types) { syncer 61 chrome/browser/sync/backend_migrator_unittest.cc syncer::WriteTransaction trans(FROM_HERE, syncer 63 chrome/browser/sync/backend_migrator_unittest.cc for (int i = syncer::FIRST_REAL_MODEL_TYPE; syncer 64 chrome/browser/sync/backend_migrator_unittest.cc i < syncer::MODEL_TYPE_COUNT; ++i) { syncer 65 chrome/browser/sync/backend_migrator_unittest.cc syncer::ModelType type = syncer::ModelTypeFromInt(i); syncer 75 chrome/browser/sync/backend_migrator_unittest.cc syncer::ModelTypeSet requested_types) { syncer 80 chrome/browser/sync/backend_migrator_unittest.cc std::map<syncer::ModelType, syncer::SyncError> errors; syncer 85 chrome/browser/sync/backend_migrator_unittest.cc syncer::ModelTypeSet(), syncer 86 chrome/browser/sync/backend_migrator_unittest.cc syncer::ModelTypeSet()); syncer 94 chrome/browser/sync/backend_migrator_unittest.cc syncer::ModelTypeSet preferred_types() { return preferred_types_; } syncer 96 chrome/browser/sync/backend_migrator_unittest.cc void RemovePreferredType(syncer::ModelType type) { syncer 106 chrome/browser/sync/backend_migrator_unittest.cc syncer::ModelTypeSet preferred_types_; syncer 110 chrome/browser/sync/backend_migrator_unittest.cc syncer::TestUserShare test_user_share_; syncer 128 chrome/browser/sync/backend_migrator_unittest.cc syncer::ModelTypeSet to_migrate, difference; syncer 129 chrome/browser/sync/backend_migrator_unittest.cc to_migrate.Put(syncer::PREFERENCES); syncer 130 chrome/browser/sync/backend_migrator_unittest.cc difference.Put(syncer::AUTOFILL); syncer 131 chrome/browser/sync/backend_migrator_unittest.cc difference.Put(syncer::BOOKMARKS); syncer 137 chrome/browser/sync/backend_migrator_unittest.cc PurgeForMigration(_, syncer::CONFIGURE_REASON_MIGRATION)).Times(1); syncer 140 chrome/browser/sync/backend_migrator_unittest.cc Configure(_, syncer::CONFIGURE_REASON_MIGRATION)).Times(1); syncer 149 chrome/browser/sync/backend_migrator_unittest.cc SetUnsyncedTypes(syncer::ModelTypeSet()); syncer 159 chrome/browser/sync/backend_migrator_unittest.cc syncer::ModelTypeSet to_migrate, difference; syncer 160 chrome/browser/sync/backend_migrator_unittest.cc to_migrate.Put(syncer::NIGORI); syncer 161 chrome/browser/sync/backend_migrator_unittest.cc difference.Put(syncer::AUTOFILL); syncer 162 chrome/browser/sync/backend_migrator_unittest.cc difference.Put(syncer::BOOKMARKS); syncer 168 chrome/browser/sync/backend_migrator_unittest.cc syncer::CONFIGURE_REASON_MIGRATION)); syncer 177 chrome/browser/sync/backend_migrator_unittest.cc SetUnsyncedTypes(syncer::ModelTypeSet()); syncer 186 chrome/browser/sync/backend_migrator_unittest.cc syncer::ModelTypeSet to_migrate; syncer 187 chrome/browser/sync/backend_migrator_unittest.cc to_migrate.Put(syncer::PREFERENCES); syncer 199 chrome/browser/sync/backend_migrator_unittest.cc PurgeForMigration(_, syncer::CONFIGURE_REASON_MIGRATION)); syncer 200 chrome/browser/sync/backend_migrator_unittest.cc SetUnsyncedTypes(syncer::ModelTypeSet()); syncer 201 chrome/browser/sync/backend_migrator_unittest.cc SendConfigureDone(DataTypeManager::OK, syncer::ModelTypeSet()); syncer 209 chrome/browser/sync/backend_migrator_unittest.cc syncer::ModelTypeSet to_migrate1, to_migrate2, to_migrate_union, bookmarks; syncer 210 chrome/browser/sync/backend_migrator_unittest.cc to_migrate1.Put(syncer::PREFERENCES); syncer 211 chrome/browser/sync/backend_migrator_unittest.cc to_migrate2.Put(syncer::AUTOFILL); syncer 212 chrome/browser/sync/backend_migrator_unittest.cc to_migrate_union.Put(syncer::PREFERENCES); syncer 213 chrome/browser/sync/backend_migrator_unittest.cc to_migrate_union.Put(syncer::AUTOFILL); syncer 214 chrome/browser/sync/backend_migrator_unittest.cc bookmarks.Put(syncer::BOOKMARKS); syncer 220 chrome/browser/sync/backend_migrator_unittest.cc PurgeForMigration(_, syncer::CONFIGURE_REASON_MIGRATION)).Times(2); syncer 226 chrome/browser/sync/backend_migrator_unittest.cc const syncer::ModelTypeSet difference1 = syncer 232 chrome/browser/sync/backend_migrator_unittest.cc PurgeForMigration(_, syncer::CONFIGURE_REASON_MIGRATION)).Times(1); syncer 233 chrome/browser/sync/backend_migrator_unittest.cc EXPECT_CALL(*manager(), Configure(_, syncer::CONFIGURE_REASON_MIGRATION)) syncer 247 chrome/browser/sync/backend_migrator_unittest.cc syncer::ModelTypeSet to_migrate; syncer 248 chrome/browser/sync/backend_migrator_unittest.cc syncer::ModelTypeSet difference; syncer 249 chrome/browser/sync/backend_migrator_unittest.cc to_migrate.Put(syncer::PREFERENCES); syncer 250 chrome/browser/sync/backend_migrator_unittest.cc difference.Put(syncer::AUTOFILL); syncer 251 chrome/browser/sync/backend_migrator_unittest.cc difference.Put(syncer::BOOKMARKS); syncer 256 chrome/browser/sync/backend_migrator_unittest.cc syncer::CONFIGURE_REASON_MIGRATION)); syncer 262 chrome/browser/sync/backend_migrator_unittest.cc syncer::CONFIGURE_REASON_MIGRATION)); syncer 263 chrome/browser/sync/backend_migrator_unittest.cc SetUnsyncedTypes(syncer::ModelTypeSet()); syncer 273 chrome/browser/sync/backend_migrator_unittest.cc syncer::ModelTypeSet to_migrate, difference; syncer 274 chrome/browser/sync/backend_migrator_unittest.cc to_migrate.Put(syncer::PREFERENCES); syncer 275 chrome/browser/sync/backend_migrator_unittest.cc to_migrate.Put(syncer::AUTOFILL); syncer 276 chrome/browser/sync/backend_migrator_unittest.cc difference.Put(syncer::BOOKMARKS); syncer 282 chrome/browser/sync/backend_migrator_unittest.cc PurgeForMigration(_, syncer::CONFIGURE_REASON_MIGRATION)).Times(1); syncer 285 chrome/browser/sync/backend_migrator_unittest.cc Configure(_, syncer::CONFIGURE_REASON_MIGRATION)).Times(1); syncer 293 chrome/browser/sync/backend_migrator_unittest.cc syncer::ModelTypeSet prefs; syncer 294 chrome/browser/sync/backend_migrator_unittest.cc prefs.Put(syncer::PREFERENCES); syncer 305 chrome/browser/sync/backend_migrator_unittest.cc syncer::ModelTypeSet to_migrate; syncer 306 chrome/browser/sync/backend_migrator_unittest.cc to_migrate.Put(syncer::PREFERENCES); syncer 312 chrome/browser/sync/backend_migrator_unittest.cc PurgeForMigration(_, syncer::CONFIGURE_REASON_MIGRATION)).Times(1); syncer 315 chrome/browser/sync/backend_migrator_unittest.cc Configure(_, syncer::CONFIGURE_REASON_MIGRATION)).Times(1); syncer 318 chrome/browser/sync/backend_migrator_unittest.cc RemovePreferredType(syncer::PREFERENCES); syncer 322 chrome/browser/sync/backend_migrator_unittest.cc SetUnsyncedTypes(syncer::ModelTypeSet()); syncer 328 chrome/browser/sync/backend_migrator_unittest.cc syncer::ModelTypeSet to_migrate; syncer 329 chrome/browser/sync/backend_migrator_unittest.cc to_migrate.Put(syncer::PREFERENCES); syncer 335 chrome/browser/sync/backend_migrator_unittest.cc PurgeForMigration(_, syncer::CONFIGURE_REASON_MIGRATION)).Times(1); syncer 337 chrome/browser/sync/backend_migrator_unittest.cc SetUnsyncedTypes(syncer::ModelTypeSet()); syncer 338 chrome/browser/sync/backend_migrator_unittest.cc SendConfigureDone(DataTypeManager::ABORTED, syncer::ModelTypeSet()); syncer 16 chrome/browser/sync/backend_unrecoverable_error_handler.cc const syncer::WeakHandle<ProfileSyncService>& service) : service_(service) { syncer 20 chrome/browser/sync/backend_unrecoverable_error_handler.h : public syncer::UnrecoverableErrorHandler { syncer 23 chrome/browser/sync/backend_unrecoverable_error_handler.h const syncer::WeakHandle<ProfileSyncService>& service); syncer 29 chrome/browser/sync/backend_unrecoverable_error_handler.h syncer::WeakHandle<ProfileSyncService> service_; syncer 37 chrome/browser/sync/glue/autofill_data_type_controller.cc syncer::ModelType AutofillDataTypeController::type() const { syncer 38 chrome/browser/sync/glue/autofill_data_type_controller.cc return syncer::AUTOFILL; syncer 41 chrome/browser/sync/glue/autofill_data_type_controller.cc syncer::ModelSafeGroup AutofillDataTypeController::model_safe_group() const { syncer 42 chrome/browser/sync/glue/autofill_data_type_controller.cc return syncer::GROUP_DB; syncer 31 chrome/browser/sync/glue/autofill_data_type_controller.h virtual syncer::ModelType type() const OVERRIDE; syncer 32 chrome/browser/sync/glue/autofill_data_type_controller.h virtual syncer::ModelSafeGroup model_safe_group() const OVERRIDE; syncer 166 chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc const syncer::SyncMergeResult& local_merge_result, syncer 167 chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc const syncer::SyncMergeResult& syncer_merge_result) { syncer 172 chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc void OnLoadFinished(syncer::ModelType type, syncer::SyncError error) { syncer 174 chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc EXPECT_EQ(type, syncer::AUTOFILL); syncer 200 chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc syncer::SyncError last_start_error_; syncer 218 chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc .WillOnce(Return(base::WeakPtr<syncer::SyncableService>())); syncer 249 chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc .WillOnce(Return(base::WeakPtr<syncer::SyncableService>())); syncer 39 chrome/browser/sync/glue/autofill_profile_data_type_controller.cc syncer::ModelType AutofillProfileDataTypeController::type() const { syncer 40 chrome/browser/sync/glue/autofill_profile_data_type_controller.cc return syncer::AUTOFILL_PROFILE; syncer 43 chrome/browser/sync/glue/autofill_profile_data_type_controller.cc syncer::ModelSafeGroup syncer 45 chrome/browser/sync/glue/autofill_profile_data_type_controller.cc return syncer::GROUP_DB; syncer 30 chrome/browser/sync/glue/autofill_profile_data_type_controller.h virtual syncer::ModelType type() const OVERRIDE; syncer 31 chrome/browser/sync/glue/autofill_profile_data_type_controller.h virtual syncer::ModelSafeGroup model_safe_group() const OVERRIDE; syncer 39 chrome/browser/sync/glue/bookmark_change_processor.cc using syncer::ChangeRecord; syncer 40 chrome/browser/sync/glue/bookmark_change_processor.cc using syncer::ChangeRecordList; syncer 75 chrome/browser/sync/glue/bookmark_change_processor.cc syncer::WriteNode* dst) { syncer 105 chrome/browser/sync/glue/bookmark_change_processor.cc void BookmarkChangeProcessor::RemoveOneSyncNode(syncer::WriteNode* sync_node) { syncer 116 chrome/browser/sync/glue/bookmark_change_processor.cc syncer::syncable::kInvalidTransactionVersion; syncer 118 chrome/browser/sync/glue/bookmark_change_processor.cc syncer::WriteTransaction trans(FROM_HERE, share_handle(), &new_version); syncer 119 chrome/browser/sync/glue/bookmark_change_processor.cc syncer::WriteNode topmost_sync_node(&trans); syncer 139 chrome/browser/sync/glue/bookmark_change_processor.cc int64 new_version = syncer::syncable::kInvalidTransactionVersion; syncer 141 chrome/browser/sync/glue/bookmark_change_processor.cc syncer::WriteTransaction trans(FROM_HERE, share_handle(), &new_version); syncer 148 chrome/browser/sync/glue/bookmark_change_processor.cc syncer::kInvalidId) { syncer 159 chrome/browser/sync/glue/bookmark_change_processor.cc syncer::WriteTransaction* trans, const int64& topmost_node_id) { syncer 160 chrome/browser/sync/glue/bookmark_change_processor.cc syncer::WriteNode topmost_node(trans); syncer 184 chrome/browser/sync/glue/bookmark_change_processor.cc syncer::WriteNode node(trans); syncer 186 chrome/browser/sync/glue/bookmark_change_processor.cc if (!node.GetIsFolder() || node.GetFirstChildId() == syncer::kInvalidId) { syncer 200 chrome/browser/sync/glue/bookmark_change_processor.cc if (child_id != syncer::kInvalidId) { syncer 223 chrome/browser/sync/glue/bookmark_change_processor.cc int64 new_version = syncer::syncable::kInvalidTransactionVersion; syncer 224 chrome/browser/sync/glue/bookmark_change_processor.cc int64 sync_id = syncer::kInvalidId; syncer 227 chrome/browser/sync/glue/bookmark_change_processor.cc syncer::WriteTransaction trans(FROM_HERE, share_handle(), &new_version); syncer 232 chrome/browser/sync/glue/bookmark_change_processor.cc if (syncer::kInvalidId != sync_id) { syncer 245 chrome/browser/sync/glue/bookmark_change_processor.cc BookmarkModel* model, int index, syncer::WriteTransaction* trans, syncer 252 chrome/browser/sync/glue/bookmark_change_processor.cc syncer::WriteNode sync_child(trans); syncer 258 chrome/browser/sync/glue/bookmark_change_processor.cc return syncer::kInvalidId; syncer 289 chrome/browser/sync/glue/bookmark_change_processor.cc int64 new_version = syncer::syncable::kInvalidTransactionVersion; syncer 292 chrome/browser/sync/glue/bookmark_change_processor.cc syncer::WriteTransaction trans(FROM_HERE, share_handle(), &new_version); syncer 295 chrome/browser/sync/glue/bookmark_change_processor.cc syncer::WriteNode sync_node(&trans); syncer 299 chrome/browser/sync/glue/bookmark_change_processor.cc syncer::kInvalidId) { syncer 312 chrome/browser/sync/glue/bookmark_change_processor.cc syncer::Cryptographer* crypto = trans.GetCryptographer(); syncer 313 chrome/browser/sync/glue/bookmark_change_processor.cc syncer::ModelTypeSet encrypted_types(trans.GetEncryptedTypes()); syncer 318 chrome/browser/sync/glue/bookmark_change_processor.cc const bool agreement = encrypted_types.Has(syncer::BOOKMARKS); syncer 376 chrome/browser/sync/glue/bookmark_change_processor.cc int64 new_version = syncer::syncable::kInvalidTransactionVersion; syncer 379 chrome/browser/sync/glue/bookmark_change_processor.cc syncer::WriteTransaction trans(FROM_HERE, share_handle(), &new_version); syncer 382 chrome/browser/sync/glue/bookmark_change_processor.cc syncer::WriteNode sync_node(&trans); syncer 409 chrome/browser/sync/glue/bookmark_change_processor.cc int64 new_version = syncer::syncable::kInvalidTransactionVersion; syncer 413 chrome/browser/sync/glue/bookmark_change_processor.cc syncer::WriteTransaction trans(FROM_HERE, share_handle(), &new_version); syncer 421 chrome/browser/sync/glue/bookmark_change_processor.cc syncer::WriteNode sync_child(&trans); syncer 446 chrome/browser/sync/glue/bookmark_change_processor.cc const BookmarkNode* parent, int index, syncer::WriteTransaction* trans, syncer 447 chrome/browser/sync/glue/bookmark_change_processor.cc syncer::WriteNode* dst, BookmarkModelAssociator* associator) { syncer 448 chrome/browser/sync/glue/bookmark_change_processor.cc syncer::ReadNode sync_parent(trans); syncer 463 chrome/browser/sync/glue/bookmark_change_processor.cc DCHECK_EQ(dst->GetPredecessorId(), syncer::kInvalidId); syncer 468 chrome/browser/sync/glue/bookmark_change_processor.cc syncer::ReadNode sync_prev(trans); syncer 489 chrome/browser/sync/glue/bookmark_change_processor.cc const syncer::BaseTransaction* trans, syncer 491 chrome/browser/sync/glue/bookmark_change_processor.cc const syncer::ImmutableChangeRecordList& changes) { syncer 579 chrome/browser/sync/glue/bookmark_change_processor.cc syncer::ReadNode synced_bookmarks(trans); syncer 580 chrome/browser/sync/glue/bookmark_change_processor.cc int64 synced_bookmarks_id = syncer::kInvalidId; syncer 582 chrome/browser/sync/glue/bookmark_change_processor.cc syncer::BaseNode::INIT_OK) { syncer 602 chrome/browser/sync/glue/bookmark_change_processor.cc if (synced_bookmarks_id != syncer::kInvalidId && syncer 612 chrome/browser/sync/glue/bookmark_change_processor.cc syncer::ReadNode src(trans); syncer 613 chrome/browser/sync/glue/bookmark_change_processor.cc if (src.InitByIdLookup(it->id) != syncer::BaseNode::INIT_OK) { syncer 697 chrome/browser/sync/glue/bookmark_change_processor.cc const syncer::BaseNode& sync_node, syncer 721 chrome/browser/sync/glue/bookmark_change_processor.cc if (new_version != syncer::syncable::kInvalidTransactionVersion) { syncer 733 chrome/browser/sync/glue/bookmark_change_processor.cc syncer::BaseNode* sync_node, syncer 766 chrome/browser/sync/glue/bookmark_change_processor.cc const syncer::BaseNode* sync_node, syncer 794 chrome/browser/sync/glue/bookmark_change_processor.cc const syncer::BaseNode* sync_node, syncer 810 chrome/browser/sync/glue/bookmark_change_processor.cc syncer::WriteNode* sync_node) { syncer 854 chrome/browser/sync/glue/bookmark_change_processor.cc syncer::WriteNode* sync_node) { syncer 21 chrome/browser/sync/glue/bookmark_change_processor.h namespace syncer { syncer 69 chrome/browser/sync/glue/bookmark_change_processor.h const syncer::BaseTransaction* trans, syncer 71 chrome/browser/sync/glue/bookmark_change_processor.h const syncer::ImmutableChangeRecordList& changes) OVERRIDE; syncer 79 chrome/browser/sync/glue/bookmark_change_processor.h const syncer::BaseNode& sync_node, syncer 88 chrome/browser/sync/glue/bookmark_change_processor.h syncer::BaseNode* sync_node, syncer 98 chrome/browser/sync/glue/bookmark_change_processor.h static bool SetBookmarkFavicon(const syncer::BaseNode* sync_node, syncer 115 chrome/browser/sync/glue/bookmark_change_processor.h syncer::WriteNode* sync_node); syncer 125 chrome/browser/sync/glue/bookmark_change_processor.h syncer::WriteTransaction* trans, syncer 146 chrome/browser/sync/glue/bookmark_change_processor.h static void SetBookmarkMetaInfo(const syncer::BaseNode* sync_node, syncer 152 chrome/browser/sync/glue/bookmark_change_processor.h syncer::WriteNode* sync_node); syncer 165 chrome/browser/sync/glue/bookmark_change_processor.h syncer::WriteTransaction* trans, syncer 166 chrome/browser/sync/glue/bookmark_change_processor.h syncer::WriteNode* dst, syncer 172 chrome/browser/sync/glue/bookmark_change_processor.h syncer::WriteNode* dst); syncer 180 chrome/browser/sync/glue/bookmark_change_processor.h void RemoveOneSyncNode(syncer::WriteNode* sync_node); syncer 187 chrome/browser/sync/glue/bookmark_change_processor.h void RemoveAllChildNodes(syncer::WriteTransaction* trans, syncer 39 chrome/browser/sync/glue/bookmark_data_type_controller.cc syncer::ModelType BookmarkDataTypeController::type() const { syncer 40 chrome/browser/sync/glue/bookmark_data_type_controller.cc return syncer::BOOKMARKS; syncer 28 chrome/browser/sync/glue/bookmark_data_type_controller.h virtual syncer::ModelType type() const OVERRIDE; syncer 127 chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc WillRepeatedly(Return(syncer::SyncError())); syncer 134 chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc WillOnce(Return(syncer::SyncError())); syncer 260 chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc WillRepeatedly(Return(syncer::SyncError(FROM_HERE, syncer 261 chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc syncer::SyncError::DATATYPE_ERROR, syncer 263 chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc syncer::BOOKMARKS))); syncer 84 chrome/browser/sync/glue/bookmark_model_associator.cc syncer::SyncAPINameToServerName(title1, &title1); syncer 88 chrome/browser/sync/glue/bookmark_model_associator.cc syncer::SyncAPINameToServerName(title2, &title2); syncer 213 chrome/browser/sync/glue/bookmark_model_associator.cc syncer::UserShare* user_share, syncer 241 chrome/browser/sync/glue/bookmark_model_associator.cc syncer::SyncError BookmarkModelAssociator::DisassociateModels() { syncer 245 chrome/browser/sync/glue/bookmark_model_associator.cc return syncer::SyncError(); syncer 250 chrome/browser/sync/glue/bookmark_model_associator.cc return iter == id_map_.end() ? syncer::kInvalidId : iter->second; syncer 261 chrome/browser/sync/glue/bookmark_model_associator.cc syncer::BaseNode* sync_node) { syncer 264 chrome/browser/sync/glue/bookmark_model_associator.cc if (sync_id == syncer::kInvalidId) syncer 266 chrome/browser/sync/glue/bookmark_model_associator.cc if (sync_node->InitByIdLookup(sync_id) != syncer::BaseNode::INIT_OK) syncer 276 chrome/browser/sync/glue/bookmark_model_associator.cc DCHECK_NE(sync_id, syncer::kInvalidId); syncer 313 chrome/browser/sync/glue/bookmark_model_associator.cc syncer::ReadTransaction trans(FROM_HERE, user_share_); syncer 315 chrome/browser/sync/glue/bookmark_model_associator.cc syncer::ReadNode bookmark_bar_node(&trans); syncer 317 chrome/browser/sync/glue/bookmark_model_associator.cc syncer::BaseNode::INIT_OK) { syncer 321 chrome/browser/sync/glue/bookmark_model_associator.cc syncer::ReadNode other_bookmarks_node(&trans); syncer 323 chrome/browser/sync/glue/bookmark_model_associator.cc syncer::BaseNode::INIT_OK) { syncer 327 chrome/browser/sync/glue/bookmark_model_associator.cc syncer::ReadNode mobile_bookmarks_node(&trans); syncer 330 chrome/browser/sync/glue/bookmark_model_associator.cc syncer::BaseNode::INIT_OK) { syncer 344 chrome/browser/sync/glue/bookmark_model_associator.cc const syncer::BaseNode* sync_node) const { syncer 367 chrome/browser/sync/glue/bookmark_model_associator.cc if (sync_id != syncer::kInvalidId) syncer 378 chrome/browser/sync/glue/bookmark_model_associator.cc syncer::ReadTransaction trans(FROM_HERE, user_share_); syncer 379 chrome/browser/sync/glue/bookmark_model_associator.cc syncer::ReadNode sync_node(&trans); syncer 380 chrome/browser/sync/glue/bookmark_model_associator.cc if (sync_node.InitByTagLookup(tag.c_str()) != syncer::BaseNode::INIT_OK) syncer 386 chrome/browser/sync/glue/bookmark_model_associator.cc syncer::SyncError BookmarkModelAssociator::AssociateModels( syncer 387 chrome/browser/sync/glue/bookmark_model_associator.cc syncer::SyncMergeResult* local_merge_result, syncer 388 chrome/browser/sync/glue/bookmark_model_associator.cc syncer::SyncMergeResult* syncer_merge_result) { syncer 394 chrome/browser/sync/glue/bookmark_model_associator.cc syncer::SyncError error = CheckModelSyncState(local_merge_result, syncer 406 chrome/browser/sync/glue/bookmark_model_associator.cc syncer::SyncError BookmarkModelAssociator::BuildAssociations( syncer 407 chrome/browser/sync/glue/bookmark_model_associator.cc syncer::SyncMergeResult* local_merge_result, syncer 408 chrome/browser/sync/glue/bookmark_model_associator.cc syncer::SyncMergeResult* syncer_merge_result) { syncer 457 chrome/browser/sync/glue/bookmark_model_associator.cc DCHECK_NE(bookmark_bar_sync_id, syncer::kInvalidId); syncer 460 chrome/browser/sync/glue/bookmark_model_associator.cc DCHECK_NE(other_bookmarks_sync_id, syncer::kInvalidId); syncer 464 chrome/browser/sync/glue/bookmark_model_associator.cc DCHECK_NE(syncer::kInvalidId, mobile_bookmarks_sync_id); syncer 472 chrome/browser/sync/glue/bookmark_model_associator.cc if (mobile_bookmarks_sync_id != syncer::kInvalidId) syncer 475 chrome/browser/sync/glue/bookmark_model_associator.cc syncer::WriteTransaction trans(FROM_HERE, user_share_); syncer 476 chrome/browser/sync/glue/bookmark_model_associator.cc syncer::ReadNode bm_root(&trans); syncer 477 chrome/browser/sync/glue/bookmark_model_associator.cc if (bm_root.InitByTagLookup(syncer::ModelTypeToRootTag(syncer::BOOKMARKS)) == syncer 478 chrome/browser/sync/glue/bookmark_model_associator.cc syncer::BaseNode::INIT_OK) { syncer 493 chrome/browser/sync/glue/bookmark_model_associator.cc syncer::ReadNode sync_parent(&trans); syncer 495 chrome/browser/sync/glue/bookmark_model_associator.cc syncer::BaseNode::INIT_OK) { syncer 515 chrome/browser/sync/glue/bookmark_model_associator.cc syncer::ReadNode sync_child_node(&trans); syncer 517 chrome/browser/sync/glue/bookmark_model_associator.cc syncer::BaseNode::INIT_OK) { syncer 562 chrome/browser/sync/glue/bookmark_model_associator.cc if (syncer::kInvalidId == sync_child_id) { syncer 580 chrome/browser/sync/glue/bookmark_model_associator.cc return syncer::SyncError(); syncer 593 chrome/browser/sync/glue/bookmark_model_associator.cc syncer::BaseTransaction* trans) { syncer 596 chrome/browser/sync/glue/bookmark_model_associator.cc syncer::BookmarkDeleteJournalList bk_delete_journals; syncer 597 chrome/browser/sync/glue/bookmark_model_associator.cc syncer::DeleteJournal::GetBookmarkDeleteJournals(trans, &bk_delete_journals); syncer 670 chrome/browser/sync/glue/bookmark_model_associator.cc syncer::DeleteJournal::PurgeDeleteJournals(trans, journals_to_purge); syncer 696 chrome/browser/sync/glue/bookmark_model_associator.cc int64 new_version = syncer::syncable::kInvalidTransactionVersion; syncer 699 chrome/browser/sync/glue/bookmark_model_associator.cc syncer::WriteTransaction trans(FROM_HERE, user_share_, &new_version); syncer 705 chrome/browser/sync/glue/bookmark_model_associator.cc syncer::WriteNode sync_node(&trans); syncer 706 chrome/browser/sync/glue/bookmark_model_associator.cc if (sync_node.InitByIdLookup(sync_id) != syncer::BaseNode::INIT_OK) { syncer 728 chrome/browser/sync/glue/bookmark_model_associator.cc syncer::ReadTransaction trans(FROM_HERE, user_share_); syncer 729 chrome/browser/sync/glue/bookmark_model_associator.cc const syncer::ModelTypeSet encrypted_types = trans.GetEncryptedTypes(); syncer 730 chrome/browser/sync/glue/bookmark_model_associator.cc return !encrypted_types.Has(syncer::BOOKMARKS) || syncer 734 chrome/browser/sync/glue/bookmark_model_associator.cc syncer::SyncError BookmarkModelAssociator::CheckModelSyncState( syncer 735 chrome/browser/sync/glue/bookmark_model_associator.cc syncer::SyncMergeResult* local_merge_result, syncer 736 chrome/browser/sync/glue/bookmark_model_associator.cc syncer::SyncMergeResult* syncer_merge_result) const { syncer 739 chrome/browser/sync/glue/bookmark_model_associator.cc if (native_version != syncer::syncable::kInvalidTransactionVersion) { syncer 740 chrome/browser/sync/glue/bookmark_model_associator.cc syncer::ReadTransaction trans(FROM_HERE, user_share_); syncer 743 chrome/browser/sync/glue/bookmark_model_associator.cc int64 sync_version = trans.GetModelVersion(syncer::BOOKMARKS); syncer 748 chrome/browser/sync/glue/bookmark_model_associator.cc ModelTypeToHistogramInt(syncer::BOOKMARKS), syncer 749 chrome/browser/sync/glue/bookmark_model_associator.cc syncer::MODEL_TYPE_COUNT); syncer 754 chrome/browser/sync/glue/bookmark_model_associator.cc syncer::syncable::kInvalidTransactionVersion); syncer 764 chrome/browser/sync/glue/bookmark_model_associator.cc return syncer::SyncError(FROM_HERE, syncer 765 chrome/browser/sync/glue/bookmark_model_associator.cc syncer::SyncError::PERSISTENCE_ERROR, syncer 767 chrome/browser/sync/glue/bookmark_model_associator.cc syncer::BOOKMARKS); syncer 771 chrome/browser/sync/glue/bookmark_model_associator.cc return syncer::SyncError(); syncer 24 chrome/browser/sync/glue/bookmark_model_associator.h namespace syncer { syncer 39 chrome/browser/sync/glue/bookmark_model_associator.h static syncer::ModelType model_type() { return syncer::BOOKMARKS; } syncer 46 chrome/browser/sync/glue/bookmark_model_associator.h syncer::UserShare* user_share, syncer 63 chrome/browser/sync/glue/bookmark_model_associator.h virtual syncer::SyncError AssociateModels( syncer 64 chrome/browser/sync/glue/bookmark_model_associator.h syncer::SyncMergeResult* local_merge_result, syncer 65 chrome/browser/sync/glue/bookmark_model_associator.h syncer::SyncMergeResult* syncer_merge_result) OVERRIDE; syncer 67 chrome/browser/sync/glue/bookmark_model_associator.h virtual syncer::SyncError DisassociateModels() OVERRIDE; syncer 87 chrome/browser/sync/glue/bookmark_model_associator.h syncer::BaseNode* sync_node) OVERRIDE; syncer 120 chrome/browser/sync/glue/bookmark_model_associator.h syncer::SyncError BuildAssociations( syncer 121 chrome/browser/sync/glue/bookmark_model_associator.h syncer::SyncMergeResult* local_merge_result, syncer 122 chrome/browser/sync/glue/bookmark_model_associator.h syncer::SyncMergeResult* syncer_merge_result); syncer 126 chrome/browser/sync/glue/bookmark_model_associator.h int64 ApplyDeletesFromSyncJournal(syncer::BaseTransaction* trans); syncer 140 chrome/browser/sync/glue/bookmark_model_associator.h const syncer::BaseNode* sync_node) const; syncer 146 chrome/browser/sync/glue/bookmark_model_associator.h syncer::SyncError CheckModelSyncState( syncer 147 chrome/browser/sync/glue/bookmark_model_associator.h syncer::SyncMergeResult* local_merge_result, syncer 148 chrome/browser/sync/glue/bookmark_model_associator.h syncer::SyncMergeResult* syncer_merge_result) const; syncer 152 chrome/browser/sync/glue/bookmark_model_associator.h syncer::UserShare* user_share_; syncer 17 chrome/browser/sync/glue/browser_thread_model_worker.cc BrowserThread::ID thread, syncer::ModelSafeGroup group, syncer 18 chrome/browser/sync/glue/browser_thread_model_worker.cc syncer::WorkerLoopDestructionObserver* observer) syncer 23 chrome/browser/sync/glue/browser_thread_model_worker.cc syncer::SyncerError BrowserThreadModelWorker::DoWorkAndWaitUntilDoneImpl( syncer 24 chrome/browser/sync/glue/browser_thread_model_worker.cc const syncer::WorkCallback& work) { syncer 25 chrome/browser/sync/glue/browser_thread_model_worker.cc syncer::SyncerError error = syncer::UNSET; syncer 38 chrome/browser/sync/glue/browser_thread_model_worker.cc error = syncer::CANNOT_DO_WORK; syncer 45 chrome/browser/sync/glue/browser_thread_model_worker.cc syncer::ModelSafeGroup BrowserThreadModelWorker::GetModelSafeGroup() { syncer 63 chrome/browser/sync/glue/browser_thread_model_worker.cc const syncer::WorkCallback& work, syncer 65 chrome/browser/sync/glue/browser_thread_model_worker.cc syncer::SyncerError* error) { syncer 73 chrome/browser/sync/glue/browser_thread_model_worker.cc syncer::WorkerLoopDestructionObserver* observer) syncer 74 chrome/browser/sync/glue/browser_thread_model_worker.cc : BrowserThreadModelWorker(BrowserThread::DB, syncer::GROUP_DB, observer) { syncer 78 chrome/browser/sync/glue/browser_thread_model_worker.cc const syncer::WorkCallback& work, syncer 80 chrome/browser/sync/glue/browser_thread_model_worker.cc syncer::SyncerError* error) { syncer 87 chrome/browser/sync/glue/browser_thread_model_worker.cc syncer::WorkerLoopDestructionObserver* observer) syncer 88 chrome/browser/sync/glue/browser_thread_model_worker.cc : BrowserThreadModelWorker(BrowserThread::FILE, syncer::GROUP_FILE, syncer 93 chrome/browser/sync/glue/browser_thread_model_worker.cc const syncer::WorkCallback& work, syncer 95 chrome/browser/sync/glue/browser_thread_model_worker.cc syncer::SyncerError* error) { syncer 25 chrome/browser/sync/glue/browser_thread_model_worker.h class BrowserThreadModelWorker : public syncer::ModelSafeWorker { syncer 28 chrome/browser/sync/glue/browser_thread_model_worker.h syncer::ModelSafeGroup group, syncer 29 chrome/browser/sync/glue/browser_thread_model_worker.h syncer::WorkerLoopDestructionObserver* observer); syncer 33 chrome/browser/sync/glue/browser_thread_model_worker.h virtual syncer::ModelSafeGroup GetModelSafeGroup() OVERRIDE; syncer 38 chrome/browser/sync/glue/browser_thread_model_worker.h virtual syncer::SyncerError DoWorkAndWaitUntilDoneImpl( syncer 39 chrome/browser/sync/glue/browser_thread_model_worker.h const syncer::WorkCallback& work) OVERRIDE; syncer 45 chrome/browser/sync/glue/browser_thread_model_worker.h const syncer::WorkCallback& work, syncer 47 chrome/browser/sync/glue/browser_thread_model_worker.h syncer::SyncerError* error) = 0; syncer 51 chrome/browser/sync/glue/browser_thread_model_worker.h syncer::ModelSafeGroup group_; syncer 61 chrome/browser/sync/glue/browser_thread_model_worker.h explicit DatabaseModelWorker(syncer::WorkerLoopDestructionObserver* observer); syncer 65 chrome/browser/sync/glue/browser_thread_model_worker.h const syncer::WorkCallback& work, syncer 67 chrome/browser/sync/glue/browser_thread_model_worker.h syncer::SyncerError* error) OVERRIDE; syncer 75 chrome/browser/sync/glue/browser_thread_model_worker.h explicit FileModelWorker(syncer::WorkerLoopDestructionObserver* observer); syncer 79 chrome/browser/sync/glue/browser_thread_model_worker.h const syncer::WorkCallback& work, syncer 81 chrome/browser/sync/glue/browser_thread_model_worker.h syncer::SyncerError* error) OVERRIDE; syncer 45 chrome/browser/sync/glue/browser_thread_model_worker_unittest.cc syncer::WorkCallback c = syncer 57 chrome/browser/sync/glue/browser_thread_model_worker_unittest.cc syncer::SyncerError DoWork() { syncer 63 chrome/browser/sync/glue/browser_thread_model_worker_unittest.cc return syncer::SYNCER_OK; syncer 18 chrome/browser/sync/glue/change_processor.cc syncer::UserShare* share_handle) { syncer 31 chrome/browser/sync/glue/change_processor.cc syncer::UserShare* ChangeProcessor::share_handle() const { syncer 14 chrome/browser/sync/glue/change_processor.h namespace syncer { syncer 36 chrome/browser/sync/glue/change_processor.h void Start(Profile* profile, syncer::UserShare* share_handle); syncer 42 chrome/browser/sync/glue/change_processor.h const syncer::BaseTransaction* trans, syncer 44 chrome/browser/sync/glue/change_processor.h const syncer::ImmutableChangeRecordList& changes) = 0; syncer 79 chrome/browser/sync/glue/change_processor.h virtual syncer::UserShare* share_handle() const; syncer 85 chrome/browser/sync/glue/change_processor.h syncer::UserShare* share_handle_; syncer 21 chrome/browser/sync/glue/change_processor_mock.h void(const syncer::BaseTransaction*, int64, syncer 22 chrome/browser/sync/glue/change_processor_mock.h const syncer::ImmutableChangeRecordList&)); syncer 32 chrome/browser/sync/glue/change_processor_mock.h syncer::SyncError(const tracked_objects::Location&, syncer 34 chrome/browser/sync/glue/change_processor_mock.h syncer::ModelType)); syncer 34 chrome/browser/sync/glue/data_type_manager_impl.cc GenerateCryptoErrorsForTypes(syncer::ModelTypeSet encrypted_types) { syncer 36 chrome/browser/sync/glue/data_type_manager_impl.cc for (syncer::ModelTypeSet::Iterator iter = encrypted_types.First(); syncer 38 chrome/browser/sync/glue/data_type_manager_impl.cc crypto_errors[iter.Get()] = syncer::SyncError( syncer 40 chrome/browser/sync/glue/data_type_manager_impl.cc syncer::SyncError::CRYPTO_ERROR, syncer 53 chrome/browser/sync/glue/data_type_manager_impl.cc const syncer::WeakHandle<syncer::DataTypeDebugInfoListener>& syncer 64 chrome/browser/sync/glue/data_type_manager_impl.cc last_configure_reason_(syncer::CONFIGURE_REASON_UNKNOWN), syncer 78 chrome/browser/sync/glue/data_type_manager_impl.cc void DataTypeManagerImpl::Configure(syncer::ModelTypeSet desired_types, syncer 79 chrome/browser/sync/glue/data_type_manager_impl.cc syncer::ConfigureReason reason) { syncer 80 chrome/browser/sync/glue/data_type_manager_impl.cc desired_types.PutAll(syncer::CoreTypes()); syncer 83 chrome/browser/sync/glue/data_type_manager_impl.cc syncer::ModelTypeSet filtered_desired_types; syncer 84 chrome/browser/sync/glue/data_type_manager_impl.cc for (syncer::ModelTypeSet::Iterator type = desired_types.First(); syncer 86 chrome/browser/sync/glue/data_type_manager_impl.cc if (syncer::IsControlType(type.Get()) || syncer 95 chrome/browser/sync/glue/data_type_manager_impl.cc syncer::ModelTypeSet undesired_types, syncer 96 chrome/browser/sync/glue/data_type_manager_impl.cc syncer::ConfigureReason reason) { syncer 97 chrome/browser/sync/glue/data_type_manager_impl.cc syncer::ModelTypeSet remainder = Difference(last_requested_types_, syncer 103 chrome/browser/sync/glue/data_type_manager_impl.cc syncer::ModelTypeSet desired_types, syncer 104 chrome/browser/sync/glue/data_type_manager_impl.cc syncer::ConfigureReason reason) { syncer 106 chrome/browser/sync/glue/data_type_manager_impl.cc DCHECK_NE(reason, syncer::CONFIGURE_REASON_UNKNOWN); syncer 107 chrome/browser/sync/glue/data_type_manager_impl.cc DVLOG(1) << "Configuring for " << syncer::ModelTypeSetToString(desired_types) syncer 117 chrome/browser/sync/glue/data_type_manager_impl.cc reason == syncer::CONFIGURE_REASON_RECONFIGURATION && syncer 118 chrome/browser/sync/glue/data_type_manager_impl.cc syncer::Intersection(failed_data_types_handler_->GetFailedTypes(), syncer 144 chrome/browser/sync/glue/data_type_manager_impl.cc const syncer::ModelTypeSet& types_being_configured) const { syncer 151 chrome/browser/sync/glue/data_type_manager_impl.cc syncer::ModelTypeSet error_types = syncer 153 chrome/browser/sync/glue/data_type_manager_impl.cc syncer::ModelTypeSet fatal_types = syncer 155 chrome/browser/sync/glue/data_type_manager_impl.cc syncer::ModelTypeSet crypto_types = syncer 160 chrome/browser/sync/glue/data_type_manager_impl.cc syncer::ModelTypeSet persistence_types = syncer 164 chrome/browser/sync/glue/data_type_manager_impl.cc syncer::ModelTypeSet enabled_types = last_requested_types_; syncer 166 chrome/browser/sync/glue/data_type_manager_impl.cc syncer::ModelTypeSet disabled_types = syncer 167 chrome/browser/sync/glue/data_type_manager_impl.cc syncer::Difference( syncer 168 chrome/browser/sync/glue/data_type_manager_impl.cc syncer::Union(syncer::UserTypes(), syncer::ControlTypes()), syncer 170 chrome/browser/sync/glue/data_type_manager_impl.cc syncer::ModelTypeSet to_configure = syncer::Intersection( syncer 172 chrome/browser/sync/glue/data_type_manager_impl.cc DVLOG(1) << "Enabling: " << syncer::ModelTypeSetToString(enabled_types); syncer 173 chrome/browser/sync/glue/data_type_manager_impl.cc DVLOG(1) << "Configuring: " << syncer::ModelTypeSetToString(to_configure); syncer 174 chrome/browser/sync/glue/data_type_manager_impl.cc DVLOG(1) << "Disabling: " << syncer::ModelTypeSetToString(disabled_types); syncer 198 chrome/browser/sync/glue/data_type_manager_impl.cc void DataTypeManagerImpl::Restart(syncer::ConfigureReason reason) { syncer 203 chrome/browser/sync/glue/data_type_manager_impl.cc syncer::ModelTypeSet encrypted_types = syncer 215 chrome/browser/sync/glue/data_type_manager_impl.cc syncer::ModelTypeSet failed_types = syncer 217 chrome/browser/sync/glue/data_type_manager_impl.cc syncer::ModelTypeSet enabled_types = syncer 218 chrome/browser/sync/glue/data_type_manager_impl.cc syncer::Difference(last_requested_types_, failed_types); syncer 245 chrome/browser/sync/glue/data_type_manager_impl.cc syncer::ModelTypeSet()), syncer 250 chrome/browser/sync/glue/data_type_manager_impl.cc syncer::ModelTypeSet DataTypeManagerImpl::GetPriorityTypes() const { syncer 251 chrome/browser/sync/glue/data_type_manager_impl.cc syncer::ModelTypeSet high_priority_types; syncer 252 chrome/browser/sync/glue/data_type_manager_impl.cc high_priority_types.PutAll(syncer::PriorityCoreTypes()); syncer 253 chrome/browser/sync/glue/data_type_manager_impl.cc high_priority_types.PutAll(syncer::PriorityUserTypes()); syncer 258 chrome/browser/sync/glue/data_type_manager_impl.cc const syncer::ModelTypeSet& types) { syncer 259 chrome/browser/sync/glue/data_type_manager_impl.cc syncer::ModelTypeSet high_priority_types = GetPriorityTypes(); syncer 262 chrome/browser/sync/glue/data_type_manager_impl.cc syncer::ModelTypeSet low_priority_types = syncer 263 chrome/browser/sync/glue/data_type_manager_impl.cc syncer::Difference(types, high_priority_types); syncer 274 chrome/browser/sync/glue/data_type_manager_impl.cc result.push(syncer::ModelTypeSet()); syncer 312 chrome/browser/sync/glue/data_type_manager_impl.cc syncer::ModelTypeSet types_to_download, syncer 313 chrome/browser/sync/glue/data_type_manager_impl.cc syncer::ModelTypeSet high_priority_types_before, syncer 314 chrome/browser/sync/glue/data_type_manager_impl.cc syncer::ModelTypeSet first_sync_types, syncer 315 chrome/browser/sync/glue/data_type_manager_impl.cc syncer::ModelTypeSet failed_configuration_types) { syncer 334 chrome/browser/sync/glue/data_type_manager_impl.cc syncer::ModelTypeSetToString(failed_configuration_types); syncer 335 chrome/browser/sync/glue/data_type_manager_impl.cc syncer::SyncError error(FROM_HERE, syncer 336 chrome/browser/sync/glue/data_type_manager_impl.cc syncer::SyncError::UNRECOVERABLE_ERROR, syncer 346 chrome/browser/sync/glue/data_type_manager_impl.cc syncer::ModelTypeSet ready_types = types_to_download; syncer 348 chrome/browser/sync/glue/data_type_manager_impl.cc syncer::ModelTypeSet new_types_to_download; syncer 371 chrome/browser/sync/glue/data_type_manager_impl.cc syncer::Union(ready_types, high_priority_types_before)), syncer 387 chrome/browser/sync/glue/data_type_manager_impl.cc syncer::ModelType type, syncer 388 chrome/browser/sync/glue/data_type_manager_impl.cc const syncer::DataTypeAssociationStats& association_stats) { syncer 395 chrome/browser/sync/glue/data_type_manager_impl.cc configuration_stats_.push_back(syncer::DataTypeConfigurationStats()); syncer 428 chrome/browser/sync/glue/data_type_manager_impl.cc syncer::ModelTypeSet encrypted_types = result.needs_crypto; syncer 452 chrome/browser/sync/glue/data_type_manager_impl.cc syncer::SyncError()); syncer 463 chrome/browser/sync/glue/data_type_manager_impl.cc syncer::ModelTypeSet failed_data_types = syncer 466 chrome/browser/sync/glue/data_type_manager_impl.cc if (!syncer::Intersection(last_requested_types_, syncer 497 chrome/browser/sync/glue/data_type_manager_impl.cc std::map<syncer::ModelType, syncer::SyncError>(), syncer 498 chrome/browser/sync/glue/data_type_manager_impl.cc syncer::ModelTypeSet(), syncer 499 chrome/browser/sync/glue/data_type_manager_impl.cc syncer::ModelTypeSet()); syncer 505 chrome/browser/sync/glue/data_type_manager_impl.cc const syncer::SyncError& error) { syncer 511 chrome/browser/sync/glue/data_type_manager_impl.cc std::map<syncer::ModelType, syncer::SyncError> errors; syncer 517 chrome/browser/sync/glue/data_type_manager_impl.cc syncer::ModelTypeSet(), syncer 518 chrome/browser/sync/glue/data_type_manager_impl.cc syncer::ModelTypeSet()); syncer 553 chrome/browser/sync/glue/data_type_manager_impl.cc &syncer::DataTypeDebugInfoListener::OnDataTypeConfigureComplete, syncer 21 chrome/browser/sync/glue/data_type_manager_impl.h namespace syncer { syncer 36 chrome/browser/sync/glue/data_type_manager_impl.h typedef std::queue<syncer::ModelTypeSet> TypeSetPriorityList; syncer 42 chrome/browser/sync/glue/data_type_manager_impl.h const syncer::WeakHandle<syncer::DataTypeDebugInfoListener>& syncer 52 chrome/browser/sync/glue/data_type_manager_impl.h virtual void Configure(syncer::ModelTypeSet desired_types, syncer 53 chrome/browser/sync/glue/data_type_manager_impl.h syncer::ConfigureReason reason) OVERRIDE; syncer 57 chrome/browser/sync/glue/data_type_manager_impl.h syncer::ModelTypeSet undesired_types, syncer 58 chrome/browser/sync/glue/data_type_manager_impl.h syncer::ConfigureReason reason) OVERRIDE; syncer 65 chrome/browser/sync/glue/data_type_manager_impl.h syncer::ModelType type, syncer 66 chrome/browser/sync/glue/data_type_manager_impl.h const syncer::DataTypeAssociationStats& association_stats) OVERRIDE; syncer 81 chrome/browser/sync/glue/data_type_manager_impl.h const syncer::SyncError& error); syncer 85 chrome/browser/sync/glue/data_type_manager_impl.h virtual syncer::ModelTypeSet GetPriorityTypes() const; syncer 89 chrome/browser/sync/glue/data_type_manager_impl.h TypeSetPriorityList PrioritizeTypes(const syncer::ModelTypeSet& types); syncer 94 chrome/browser/sync/glue/data_type_manager_impl.h void Restart(syncer::ConfigureReason reason); syncer 96 chrome/browser/sync/glue/data_type_manager_impl.h syncer::ModelTypeSet types_to_download, syncer 97 chrome/browser/sync/glue/data_type_manager_impl.h syncer::ModelTypeSet high_priority_types_before, syncer 98 chrome/browser/sync/glue/data_type_manager_impl.h syncer::ModelTypeSet first_sync_types, syncer 99 chrome/browser/sync/glue/data_type_manager_impl.h syncer::ModelTypeSet failed_configuration_types); syncer 111 chrome/browser/sync/glue/data_type_manager_impl.h void ConfigureImpl(syncer::ModelTypeSet desired_types, syncer 112 chrome/browser/sync/glue/data_type_manager_impl.h syncer::ConfigureReason reason); syncer 116 chrome/browser/sync/glue/data_type_manager_impl.h const syncer::ModelTypeSet& types_being_configured) const; syncer 129 chrome/browser/sync/glue/data_type_manager_impl.h std::map<syncer::ModelType, int> start_order_; syncer 130 chrome/browser/sync/glue/data_type_manager_impl.h syncer::ModelTypeSet last_requested_types_; syncer 138 chrome/browser/sync/glue/data_type_manager_impl.h syncer::ConfigureReason last_configure_reason_; syncer 149 chrome/browser/sync/glue/data_type_manager_impl.h const syncer::WeakHandle<syncer::DataTypeDebugInfoListener> syncer 170 chrome/browser/sync/glue/data_type_manager_impl.h syncer::ModelTypeSet types; syncer 171 chrome/browser/sync/glue/data_type_manager_impl.h syncer::ModelTypeSet first_sync_types; syncer 175 chrome/browser/sync/glue/data_type_manager_impl.h syncer::ModelTypeSet high_priority_types_before; syncer 176 chrome/browser/sync/glue/data_type_manager_impl.h syncer::ModelTypeSet configured_types; syncer 185 chrome/browser/sync/glue/data_type_manager_impl.h std::vector<syncer::DataTypeConfigurationStats> configuration_stats_; syncer 24 chrome/browser/sync/glue/data_type_manager_impl_unittest.cc using syncer::ModelType; syncer 25 chrome/browser/sync/glue/data_type_manager_impl_unittest.cc using syncer::ModelTypeSet; syncer 26 chrome/browser/sync/glue/data_type_manager_impl_unittest.cc using syncer::ModelTypeToString; syncer 27 chrome/browser/sync/glue/data_type_manager_impl_unittest.cc using syncer::BOOKMARKS; syncer 28 chrome/browser/sync/glue/data_type_manager_impl_unittest.cc using syncer::APPS; syncer 29 chrome/browser/sync/glue/data_type_manager_impl_unittest.cc using syncer::PASSWORDS; syncer 30 chrome/browser/sync/glue/data_type_manager_impl_unittest.cc using syncer::PREFERENCES; syncer 31 chrome/browser/sync/glue/data_type_manager_impl_unittest.cc using syncer::NIGORI; syncer 45 chrome/browser/sync/glue/data_type_manager_impl_unittest.cc syncer::ModelTypeSet AddHighPriorityTypesTo(syncer::ModelTypeSet types) { syncer 46 chrome/browser/sync/glue/data_type_manager_impl_unittest.cc syncer::ModelTypeSet result = syncer::ControlTypes(); syncer 59 chrome/browser/sync/glue/data_type_manager_impl_unittest.cc syncer::ConfigureReason reason, syncer 70 chrome/browser/sync/glue/data_type_manager_impl_unittest.cc << syncer::ModelTypeSetToString(expected_configure_types_) syncer 72 chrome/browser/sync/glue/data_type_manager_impl_unittest.cc << syncer::ModelTypeSetToString( syncer 81 chrome/browser/sync/glue/data_type_manager_impl_unittest.cc void set_expected_configure_types(syncer::ModelTypeSet types) { syncer 87 chrome/browser/sync/glue/data_type_manager_impl_unittest.cc syncer::ModelTypeSet expected_configure_types_; syncer 108 chrome/browser/sync/glue/data_type_manager_impl_unittest.cc virtual syncer::ModelTypeSet GetEncryptedDataTypes() const OVERRIDE; syncer 113 chrome/browser/sync/glue/data_type_manager_impl_unittest.cc void set_encrypted_types(syncer::ModelTypeSet encrypted_types) { syncer 118 chrome/browser/sync/glue/data_type_manager_impl_unittest.cc syncer::ModelTypeSet encrypted_types_; syncer 129 chrome/browser/sync/glue/data_type_manager_impl_unittest.cc syncer::ModelTypeSet syncer 139 chrome/browser/sync/glue/data_type_manager_impl_unittest.cc const syncer::WeakHandle<syncer::DataTypeDebugInfoListener>& syncer 152 chrome/browser/sync/glue/data_type_manager_impl_unittest.cc custom_priority_types_(syncer::ControlTypes()) {} syncer 154 chrome/browser/sync/glue/data_type_manager_impl_unittest.cc void set_priority_types(const syncer::ModelTypeSet& priority_types) { syncer 169 chrome/browser/sync/glue/data_type_manager_impl_unittest.cc virtual syncer::ModelTypeSet GetPriorityTypes() const OVERRIDE { syncer 173 chrome/browser/sync/glue/data_type_manager_impl_unittest.cc syncer::ModelTypeSet custom_priority_types_; syncer 191 chrome/browser/sync/glue/data_type_manager_impl_unittest.cc syncer::WeakHandle<syncer::DataTypeDebugInfoListener>(), syncer 209 chrome/browser/sync/glue/data_type_manager_impl_unittest.cc const syncer::ModelTypeSet& desired_types) { syncer 210 chrome/browser/sync/glue/data_type_manager_impl_unittest.cc dtm->Configure(desired_types, syncer::CONFIGURE_REASON_RECONFIGURATION); syncer 222 chrome/browser/sync/glue/data_type_manager_impl_unittest.cc syncer::Difference(types_to_configure, failed_download_types), syncer 245 chrome/browser/sync/glue/data_type_manager_impl_unittest.cc void FailEncryptionFor(syncer::ModelTypeSet encrypted_types) { syncer 772 chrome/browser/sync/glue/data_type_manager_impl_unittest.cc to_migrate.PutAll(syncer::ControlTypes()); syncer 777 chrome/browser/sync/glue/data_type_manager_impl_unittest.cc syncer::CONFIGURE_REASON_MIGRATION); syncer 812 chrome/browser/sync/glue/data_type_manager_impl_unittest.cc syncer::CONFIGURE_REASON_MIGRATION); syncer 849 chrome/browser/sync/glue/data_type_manager_impl_unittest.cc AddHighPriorityTypesTo(syncer::ModelTypeSet(PREFERENCES))); syncer 880 chrome/browser/sync/glue/data_type_manager_impl_unittest.cc AddHighPriorityTypesTo(syncer::ModelTypeSet(PREFERENCES))); syncer 927 chrome/browser/sync/glue/data_type_manager_impl_unittest.cc AddHighPriorityTypesTo(syncer::ModelTypeSet(PREFERENCES))); syncer 962 chrome/browser/sync/glue/data_type_manager_impl_unittest.cc AddHighPriorityTypesTo(syncer::ModelTypeSet(PREFERENCES))); syncer 998 chrome/browser/sync/glue/data_type_manager_impl_unittest.cc AddHighPriorityTypesTo(syncer::ModelTypeSet(PREFERENCES))); syncer 1028 chrome/browser/sync/glue/data_type_manager_impl_unittest.cc configurer_.set_expected_configure_types(syncer::ControlTypes()); syncer 1050 chrome/browser/sync/glue/data_type_manager_impl_unittest.cc AddHighPriorityTypesTo(syncer::ModelTypeSet(PREFERENCES))); syncer 1105 chrome/browser/sync/glue/data_type_manager_impl_unittest.cc syncer::ModelTypeSet expected_types = syncer::ControlTypes(); syncer 215 chrome/browser/sync/glue/device_info.cc syncer::GetSessionName( syncer 19 chrome/browser/sync/glue/extension_data_type_controller.cc syncer::ModelType type, syncer 30 chrome/browser/sync/glue/extension_data_type_controller.cc DCHECK(type == syncer::EXTENSIONS || type == syncer::APPS); syncer 21 chrome/browser/sync/glue/extension_data_type_controller.h syncer::ModelType type, // Either EXTENSIONS or APPS. syncer 23 chrome/browser/sync/glue/extension_setting_data_type_controller.cc syncer::ModelType type, syncer 37 chrome/browser/sync/glue/extension_setting_data_type_controller.cc DCHECK(type == syncer::EXTENSION_SETTINGS || type == syncer::APP_SETTINGS); syncer 40 chrome/browser/sync/glue/extension_setting_data_type_controller.cc syncer::ModelType ExtensionSettingDataTypeController::type() const { syncer 44 chrome/browser/sync/glue/extension_setting_data_type_controller.cc syncer::ModelSafeGroup syncer 46 chrome/browser/sync/glue/extension_setting_data_type_controller.cc return syncer::GROUP_FILE; syncer 17 chrome/browser/sync/glue/extension_setting_data_type_controller.h namespace syncer { syncer 32 chrome/browser/sync/glue/extension_setting_data_type_controller.h syncer::ModelType type, syncer 38 chrome/browser/sync/glue/extension_setting_data_type_controller.h virtual syncer::ModelType type() const OVERRIDE; syncer 39 chrome/browser/sync/glue/extension_setting_data_type_controller.h virtual syncer::ModelSafeGroup model_safe_group() const OVERRIDE; syncer 51 chrome/browser/sync/glue/extension_setting_data_type_controller.h syncer::ModelType type_; syncer 20 chrome/browser/sync/glue/extensions_activity_monitor.cc : extensions_activity_(new syncer::ExtensionsActivity()) { syncer 54 chrome/browser/sync/glue/extensions_activity_monitor.cc const scoped_refptr<syncer::ExtensionsActivity>& syncer 13 chrome/browser/sync/glue/extensions_activity_monitor.h namespace syncer { syncer 30 chrome/browser/sync/glue/extensions_activity_monitor.h const scoped_refptr<syncer::ExtensionsActivity>& GetExtensionsActivity(); syncer 33 chrome/browser/sync/glue/extensions_activity_monitor.h scoped_refptr<syncer::ExtensionsActivity> extensions_activity_; syncer 110 chrome/browser/sync/glue/extensions_activity_monitor_unittest.cc syncer::ExtensionsActivity::Records results; syncer 128 chrome/browser/sync/glue/extensions_activity_monitor_unittest.cc syncer::ExtensionsActivity::Records results; syncer 141 chrome/browser/sync/glue/extensions_activity_monitor_unittest.cc syncer::ExtensionsActivity::Records new_records; syncer 157 chrome/browser/sync/glue/extensions_activity_monitor_unittest.cc syncer::ExtensionsActivity::Records results; syncer 16 chrome/browser/sync/glue/fake_generic_change_processor.cc base::WeakPtr<syncer::SyncableService>(), syncer 17 chrome/browser/sync/glue/fake_generic_change_processor.cc base::WeakPtr<syncer::SyncMergeResult>(), syncer 19 chrome/browser/sync/glue/fake_generic_change_processor.cc syncer::FakeAttachmentService::CreateForTest()), syncer 27 chrome/browser/sync/glue/fake_generic_change_processor.cc const syncer::SyncError& error) { syncer 31 chrome/browser/sync/glue/fake_generic_change_processor.cc const syncer::SyncError& error) { syncer 47 chrome/browser/sync/glue/fake_generic_change_processor.cc syncer::SyncError FakeGenericChangeProcessor::ProcessSyncChanges( syncer 49 chrome/browser/sync/glue/fake_generic_change_processor.cc const syncer::SyncChangeList& change_list) { syncer 53 chrome/browser/sync/glue/fake_generic_change_processor.cc syncer::SyncError FakeGenericChangeProcessor::GetAllSyncDataReturnError( syncer 54 chrome/browser/sync/glue/fake_generic_change_processor.cc syncer::ModelType type, syncer::SyncDataList* current_sync_data) const { syncer 58 chrome/browser/sync/glue/fake_generic_change_processor.cc int FakeGenericChangeProcessor::GetSyncCountForType(syncer::ModelType type) { syncer 63 chrome/browser/sync/glue/fake_generic_change_processor.cc syncer::ModelType type, bool* has_nodes) { syncer 69 chrome/browser/sync/glue/fake_generic_change_processor.cc syncer::ModelType type) { syncer 21 chrome/browser/sync/glue/fake_generic_change_processor.h void set_process_sync_changes_error(const syncer::SyncError& error); syncer 22 chrome/browser/sync/glue/fake_generic_change_processor.h void set_get_sync_data_for_type_error(const syncer::SyncError& error); syncer 28 chrome/browser/sync/glue/fake_generic_change_processor.h virtual syncer::SyncError ProcessSyncChanges( syncer 30 chrome/browser/sync/glue/fake_generic_change_processor.h const syncer::SyncChangeList& change_list) OVERRIDE; syncer 31 chrome/browser/sync/glue/fake_generic_change_processor.h virtual syncer::SyncError GetAllSyncDataReturnError( syncer 32 chrome/browser/sync/glue/fake_generic_change_processor.h syncer::ModelType type, syncer 33 chrome/browser/sync/glue/fake_generic_change_processor.h syncer::SyncDataList* data) const OVERRIDE; syncer 34 chrome/browser/sync/glue/fake_generic_change_processor.h virtual int GetSyncCountForType(syncer::ModelType type) OVERRIDE; syncer 35 chrome/browser/sync/glue/fake_generic_change_processor.h virtual bool SyncModelHasUserCreatedNodes(syncer::ModelType type, syncer 37 chrome/browser/sync/glue/fake_generic_change_processor.h virtual bool CryptoReadyIfNecessary(syncer::ModelType type) OVERRIDE; syncer 40 chrome/browser/sync/glue/fake_generic_change_processor.h syncer::SyncError process_sync_changes_error_; syncer 41 chrome/browser/sync/glue/fake_generic_change_processor.h syncer::SyncError get_sync_data_for_type_error_; syncer 169 chrome/browser/sync/glue/favicon_cache.cc syncer::TimeToProtoTime(favicon_info->last_visit_time)); syncer 217 chrome/browser/sync/glue/favicon_cache.cc syncer::ModelType type) { syncer 218 chrome/browser/sync/glue/favicon_cache.cc if (type == syncer::FAVICON_IMAGES) syncer 220 chrome/browser/sync/glue/favicon_cache.cc else if (type == syncer::FAVICON_TRACKING) syncer 240 chrome/browser/sync/glue/favicon_cache.cc syncer::SyncMergeResult FaviconCache::MergeDataAndStartSyncing( syncer 241 chrome/browser/sync/glue/favicon_cache.cc syncer::ModelType type, syncer 242 chrome/browser/sync/glue/favicon_cache.cc const syncer::SyncDataList& initial_sync_data, syncer 243 chrome/browser/sync/glue/favicon_cache.cc scoped_ptr<syncer::SyncChangeProcessor> sync_processor, syncer 244 chrome/browser/sync/glue/favicon_cache.cc scoped_ptr<syncer::SyncErrorFactory> error_handler) { syncer 245 chrome/browser/sync/glue/favicon_cache.cc DCHECK(type == syncer::FAVICON_IMAGES || type == syncer::FAVICON_TRACKING); syncer 246 chrome/browser/sync/glue/favicon_cache.cc if (type == syncer::FAVICON_IMAGES) syncer 251 chrome/browser/sync/glue/favicon_cache.cc syncer::SyncMergeResult merge_result(type); syncer 260 chrome/browser/sync/glue/favicon_cache.cc syncer::SyncChangeList local_changes; syncer 261 chrome/browser/sync/glue/favicon_cache.cc for (syncer::SyncDataList::const_iterator iter = initial_sync_data.begin(); syncer 288 chrome/browser/sync/glue/favicon_cache.cc syncer::SyncChange(FROM_HERE, syncer 289 chrome/browser/sync/glue/favicon_cache.cc syncer::SyncChange::ACTION_ADD, syncer 303 chrome/browser/sync/glue/favicon_cache.cc if (type == syncer::FAVICON_IMAGES) { syncer 313 chrome/browser/sync/glue/favicon_cache.cc void FaviconCache::StopSyncing(syncer::ModelType type) { syncer 320 chrome/browser/sync/glue/favicon_cache.cc syncer::SyncDataList FaviconCache::GetAllSyncData(syncer::ModelType type) syncer 322 chrome/browser/sync/glue/favicon_cache.cc syncer::SyncDataList data_list; syncer 325 chrome/browser/sync/glue/favicon_cache.cc if ((type == syncer::FAVICON_IMAGES && syncer 327 chrome/browser/sync/glue/favicon_cache.cc (type == syncer::FAVICON_TRACKING && syncer 335 chrome/browser/sync/glue/favicon_cache.cc syncer::SyncError FaviconCache::ProcessSyncChanges( syncer 337 chrome/browser/sync/glue/favicon_cache.cc const syncer::SyncChangeList& change_list) { syncer 340 chrome/browser/sync/glue/favicon_cache.cc return syncer::SyncError(FROM_HERE, syncer 341 chrome/browser/sync/glue/favicon_cache.cc syncer::SyncError::DATATYPE_ERROR, syncer 346 chrome/browser/sync/glue/favicon_cache.cc syncer::SyncChangeList new_changes; syncer 347 chrome/browser/sync/glue/favicon_cache.cc syncer::SyncError error; syncer 348 chrome/browser/sync/glue/favicon_cache.cc syncer::ModelType type = syncer::UNSPECIFIED; syncer 349 chrome/browser/sync/glue/favicon_cache.cc for (syncer::SyncChangeList::const_iterator iter = change_list.begin(); syncer 352 chrome/browser/sync/glue/favicon_cache.cc DCHECK(type == syncer::FAVICON_IMAGES || type == syncer::FAVICON_TRACKING); syncer 360 chrome/browser/sync/glue/favicon_cache.cc if (iter->change_type() == syncer::SyncChange::ACTION_DELETE) { syncer 373 chrome/browser/sync/glue/favicon_cache.cc } else if (iter->change_type() == syncer::SyncChange::ACTION_UPDATE || syncer 374 chrome/browser/sync/glue/favicon_cache.cc iter->change_type() == syncer::SyncChange::ACTION_ADD) { syncer 396 chrome/browser/sync/glue/favicon_cache.cc if (type == syncer::FAVICON_IMAGES) { syncer 427 chrome/browser/sync/glue/favicon_cache.cc syncer::SyncChange::ACTION_INVALID, syncer 428 chrome/browser/sync/glue/favicon_cache.cc syncer::SyncChange::ACTION_UPDATE); syncer 475 chrome/browser/sync/glue/favicon_cache.cc syncer::SyncChange::ACTION_INVALID, syncer 477 chrome/browser/sync/glue/favicon_cache.cc syncer::SyncChange::ACTION_UPDATE : syncer 478 chrome/browser/sync/glue/favicon_cache.cc syncer::SyncChange::ACTION_ADD)); syncer 565 chrome/browser/sync/glue/favicon_cache.cc syncer::ProtoTimeToTime(visit_time_ms)); syncer 568 chrome/browser/sync/glue/favicon_cache.cc syncer::SyncChange::ACTION_ADD, syncer 570 chrome/browser/sync/glue/favicon_cache.cc syncer::SyncChange::ACTION_ADD : syncer 571 chrome/browser/sync/glue/favicon_cache.cc syncer::SyncChange::ACTION_UPDATE)); syncer 592 chrome/browser/sync/glue/favicon_cache.cc syncer::SyncChangeList image_deletions, tracking_deletions; syncer 673 chrome/browser/sync/glue/favicon_cache.cc syncer::SyncChange::SyncChangeType image_change = syncer 674 chrome/browser/sync/glue/favicon_cache.cc syncer::SyncChange::ACTION_INVALID; syncer 676 chrome/browser/sync/glue/favicon_cache.cc image_change = syncer::SyncChange::ACTION_ADD; syncer 678 chrome/browser/sync/glue/favicon_cache.cc image_change = syncer::SyncChange::ACTION_UPDATE; syncer 679 chrome/browser/sync/glue/favicon_cache.cc syncer::SyncChange::SyncChangeType tracking_change = syncer 680 chrome/browser/sync/glue/favicon_cache.cc syncer::SyncChange::ACTION_UPDATE; syncer 682 chrome/browser/sync/glue/favicon_cache.cc tracking_change = syncer::SyncChange::ACTION_ADD; syncer 689 chrome/browser/sync/glue/favicon_cache.cc syncer::SyncChange::SyncChangeType image_change_type, syncer 690 chrome/browser/sync/glue/favicon_cache.cc syncer::SyncChange::SyncChangeType tracking_change_type) { syncer 704 chrome/browser/sync/glue/favicon_cache.cc syncer::SyncChangeList image_changes; syncer 705 chrome/browser/sync/glue/favicon_cache.cc syncer::SyncChangeList tracking_changes; syncer 706 chrome/browser/sync/glue/favicon_cache.cc if (image_change_type != syncer::SyncChange::ACTION_INVALID) { syncer 713 chrome/browser/sync/glue/favicon_cache.cc syncer::SyncChange(FROM_HERE, syncer 715 chrome/browser/sync/glue/favicon_cache.cc syncer::SyncData::CreateLocalData( syncer 720 chrome/browser/sync/glue/favicon_cache.cc if (tracking_change_type != syncer::SyncChange::ACTION_INVALID) { syncer 727 chrome/browser/sync/glue/favicon_cache.cc syncer::SyncChange(FROM_HERE, syncer 729 chrome/browser/sync/glue/favicon_cache.cc syncer::SyncData::CreateLocalData( syncer 770 chrome/browser/sync/glue/favicon_cache.cc << syncer::GetTimeDebugString(time); syncer 778 chrome/browser/sync/glue/favicon_cache.cc << syncer::GetTimeDebugString(iter->get()->last_visit_time); syncer 785 chrome/browser/sync/glue/favicon_cache.cc syncer::SyncChangeList* image_changes, syncer 786 chrome/browser/sync/glue/favicon_cache.cc syncer::SyncChangeList* tracking_changes) { syncer 805 chrome/browser/sync/glue/favicon_cache.cc const syncer::SyncData& sync_favicon) const { syncer 806 chrome/browser/sync/glue/favicon_cache.cc syncer::ModelType type = sync_favicon.GetDataType(); syncer 807 chrome/browser/sync/glue/favicon_cache.cc DCHECK(type == syncer::FAVICON_IMAGES || type == syncer::FAVICON_TRACKING); syncer 812 chrome/browser/sync/glue/favicon_cache.cc void FaviconCache::MergeSyncFavicon(const syncer::SyncData& sync_favicon, syncer 813 chrome/browser/sync/glue/favicon_cache.cc syncer::SyncChangeList* sync_changes) { syncer 814 chrome/browser/sync/glue/favicon_cache.cc syncer::ModelType type = sync_favicon.GetDataType(); syncer 815 chrome/browser/sync/glue/favicon_cache.cc DCHECK(type == syncer::FAVICON_IMAGES || type == syncer::FAVICON_TRACKING); syncer 821 chrome/browser/sync/glue/favicon_cache.cc if (type == syncer::FAVICON_IMAGES) { syncer 855 chrome/browser/sync/glue/favicon_cache.cc base::Time last_visit = syncer::ProtoTimeToTime( syncer 867 chrome/browser/sync/glue/favicon_cache.cc if (syncer::TimeToProtoTime(favicon_info->last_visit_time) != syncer 878 chrome/browser/sync/glue/favicon_cache.cc sync_changes->push_back(syncer::SyncChange( syncer 880 chrome/browser/sync/glue/favicon_cache.cc syncer::SyncChange::ACTION_UPDATE, syncer 881 chrome/browser/sync/glue/favicon_cache.cc syncer::SyncData::CreateLocalData(favicon_url.spec(), syncer 888 chrome/browser/sync/glue/favicon_cache.cc const syncer::SyncData& sync_favicon) { syncer 889 chrome/browser/sync/glue/favicon_cache.cc syncer::ModelType type = sync_favicon.GetDataType(); syncer 890 chrome/browser/sync/glue/favicon_cache.cc DCHECK(type == syncer::FAVICON_IMAGES || type == syncer::FAVICON_TRACKING); syncer 891 chrome/browser/sync/glue/favicon_cache.cc if (type == syncer::FAVICON_IMAGES) { syncer 923 chrome/browser/sync/glue/favicon_cache.cc base::Time last_visit = syncer::ProtoTimeToTime( syncer 937 chrome/browser/sync/glue/favicon_cache.cc syncer::SyncData FaviconCache::CreateSyncDataFromLocalFavicon( syncer 938 chrome/browser/sync/glue/favicon_cache.cc syncer::ModelType type, syncer 940 chrome/browser/sync/glue/favicon_cache.cc DCHECK(type == syncer::FAVICON_IMAGES || type == syncer::FAVICON_TRACKING); syncer 946 chrome/browser/sync/glue/favicon_cache.cc syncer::SyncData data; syncer 948 chrome/browser/sync/glue/favicon_cache.cc if (type == syncer::FAVICON_IMAGES) { syncer 957 chrome/browser/sync/glue/favicon_cache.cc data = syncer::SyncData::CreateLocalData(favicon_url.spec(), syncer 964 chrome/browser/sync/glue/favicon_cache.cc syncer::SyncChangeList image_deletions, tracking_deletions; syncer 987 chrome/browser/sync/glue/favicon_cache.cc syncer::SyncChangeList* image_changes, syncer 988 chrome/browser/sync/glue/favicon_cache.cc syncer::SyncChangeList* tracking_changes) { syncer 994 chrome/browser/sync/glue/favicon_cache.cc syncer::SyncChange(FROM_HERE, syncer 995 chrome/browser/sync/glue/favicon_cache.cc syncer::SyncChange::ACTION_DELETE, syncer 996 chrome/browser/sync/glue/favicon_cache.cc syncer::SyncData::CreateLocalDelete( syncer 998 chrome/browser/sync/glue/favicon_cache.cc syncer::FAVICON_IMAGES))); syncer 1004 chrome/browser/sync/glue/favicon_cache.cc syncer::SyncChange(FROM_HERE, syncer 1005 chrome/browser/sync/glue/favicon_cache.cc syncer::SyncChange::ACTION_DELETE, syncer 1006 chrome/browser/sync/glue/favicon_cache.cc syncer::SyncData::CreateLocalDelete( syncer 1008 chrome/browser/sync/glue/favicon_cache.cc syncer::FAVICON_TRACKING))); syncer 1020 chrome/browser/sync/glue/favicon_cache.cc syncer::ModelType type) { syncer 1022 chrome/browser/sync/glue/favicon_cache.cc if ((type == syncer::FAVICON_TRACKING && syncer 1024 chrome/browser/sync/glue/favicon_cache.cc (type == syncer::FAVICON_IMAGES && syncer 1031 chrome/browser/sync/glue/favicon_cache.cc if ((type == syncer::FAVICON_TRACKING && syncer 1033 chrome/browser/sync/glue/favicon_cache.cc (type == syncer::FAVICON_IMAGES && syncer 1039 chrome/browser/sync/glue/favicon_cache.cc if (type == syncer::FAVICON_IMAGES) { syncer 1048 chrome/browser/sync/glue/favicon_cache.cc DCHECK_EQ(type, syncer::FAVICON_TRACKING); syncer 48 chrome/browser/sync/glue/favicon_cache.h class FaviconCache : public syncer::SyncableService, syncer 55 chrome/browser/sync/glue/favicon_cache.h virtual syncer::SyncMergeResult MergeDataAndStartSyncing( syncer 56 chrome/browser/sync/glue/favicon_cache.h syncer::ModelType type, syncer 57 chrome/browser/sync/glue/favicon_cache.h const syncer::SyncDataList& initial_sync_data, syncer 58 chrome/browser/sync/glue/favicon_cache.h scoped_ptr<syncer::SyncChangeProcessor> sync_processor, syncer 59 chrome/browser/sync/glue/favicon_cache.h scoped_ptr<syncer::SyncErrorFactory> error_handler) OVERRIDE; syncer 60 chrome/browser/sync/glue/favicon_cache.h virtual void StopSyncing(syncer::ModelType type) OVERRIDE; syncer 61 chrome/browser/sync/glue/favicon_cache.h virtual syncer::SyncDataList GetAllSyncData(syncer::ModelType type) syncer 63 chrome/browser/sync/glue/favicon_cache.h virtual syncer::SyncError ProcessSyncChanges( syncer 65 chrome/browser/sync/glue/favicon_cache.h const syncer::SyncChangeList& change_list) OVERRIDE; syncer 142 chrome/browser/sync/glue/favicon_cache.h syncer::SyncChange::SyncChangeType image_change_type, syncer 143 chrome/browser/sync/glue/favicon_cache.h syncer::SyncChange::SyncChangeType tracking_change_type); syncer 157 chrome/browser/sync/glue/favicon_cache.h void ExpireFaviconsIfNecessary(syncer::SyncChangeList* image_changes, syncer 158 chrome/browser/sync/glue/favicon_cache.h syncer::SyncChangeList* tracking_changes); syncer 163 chrome/browser/sync/glue/favicon_cache.h const syncer::SyncData& sync_favicon) const; syncer 167 chrome/browser/sync/glue/favicon_cache.h void MergeSyncFavicon(const syncer::SyncData& sync_favicon, syncer 168 chrome/browser/sync/glue/favicon_cache.h syncer::SyncChangeList* sync_changes); syncer 171 chrome/browser/sync/glue/favicon_cache.h void AddLocalFaviconFromSyncedData(const syncer::SyncData& sync_favicon); syncer 175 chrome/browser/sync/glue/favicon_cache.h syncer::SyncData CreateSyncDataFromLocalFavicon( syncer 176 chrome/browser/sync/glue/favicon_cache.h syncer::ModelType type, syncer 186 chrome/browser/sync/glue/favicon_cache.h syncer::SyncChangeList* image_changes, syncer 187 chrome/browser/sync/glue/favicon_cache.h syncer::SyncChangeList* tracking_changes); syncer 194 chrome/browser/sync/glue/favicon_cache.h syncer::ModelType type); syncer 221 chrome/browser/sync/glue/favicon_cache.h scoped_ptr<syncer::SyncChangeProcessor> favicon_images_sync_processor_; syncer 222 chrome/browser/sync/glue/favicon_cache.h scoped_ptr<syncer::SyncChangeProcessor> favicon_tracking_sync_processor_; syncer 36 chrome/browser/sync/glue/favicon_cache_unittest.cc class TestChangeProcessor : public syncer::SyncChangeProcessor { syncer 42 chrome/browser/sync/glue/favicon_cache_unittest.cc virtual syncer::SyncError ProcessSyncChanges( syncer 44 chrome/browser/sync/glue/favicon_cache_unittest.cc const syncer::SyncChangeList& change_list) OVERRIDE; syncer 46 chrome/browser/sync/glue/favicon_cache_unittest.cc virtual syncer::SyncDataList GetAllSyncData(syncer::ModelType type) const syncer 48 chrome/browser/sync/glue/favicon_cache_unittest.cc return syncer::SyncDataList(); syncer 55 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChange change_for_guid(const std::string& guid) const { syncer 61 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChangeList GetAndResetChangeList() { syncer 62 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChangeList list; syncer 71 chrome/browser/sync/glue/favicon_cache_unittest.cc std::map<std::string, syncer::SyncChange> change_map_; syncer 72 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChangeList change_list_; syncer 84 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncError TestChangeProcessor::ProcessSyncChanges( syncer 86 chrome/browser/sync/glue/favicon_cache_unittest.cc const syncer::SyncChangeList& change_list) { syncer 88 chrome/browser/sync/glue/favicon_cache_unittest.cc return syncer::SyncError( syncer 90 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncError::DATATYPE_ERROR, syncer 99 chrome/browser/sync/glue/favicon_cache_unittest.cc for (syncer::SyncChangeList::const_iterator iter = change_list.begin(); syncer 103 chrome/browser/sync/glue/favicon_cache_unittest.cc return syncer::SyncError(); syncer 208 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::ModelType expected_model_type, syncer 209 chrome/browser/sync/glue/favicon_cache_unittest.cc const std::vector<syncer::SyncChange::SyncChangeType>& syncer 212 chrome/browser/sync/glue/favicon_cache_unittest.cc const syncer::SyncChangeList& change_list) { syncer 222 chrome/browser/sync/glue/favicon_cache_unittest.cc if (change_list[i].change_type() == syncer::SyncChange::ACTION_DELETE) { syncer 223 chrome/browser/sync/glue/favicon_cache_unittest.cc if (syncer::SyncDataLocal(change_list[i].sync_data()).GetTag() != syncer 240 chrome/browser/sync/glue/favicon_cache_unittest.cc int GetFaviconId(const syncer::SyncChange change) { syncer 241 chrome/browser/sync/glue/favicon_cache_unittest.cc std::string tag = syncer::SyncDataLocal(change.sync_data()).GetTag(); syncer 263 chrome/browser/sync/glue/favicon_cache_unittest.cc void SetUpInitialSync(const syncer::SyncDataList& initial_image_data, syncer 264 chrome/browser/sync/glue/favicon_cache_unittest.cc const syncer::SyncDataList& initial_tracking_data); syncer 277 chrome/browser/sync/glue/favicon_cache_unittest.cc scoped_ptr<syncer::SyncChangeProcessor> CreateAndPassProcessor(); syncer 278 chrome/browser/sync/glue/favicon_cache_unittest.cc scoped_ptr<syncer::SyncErrorFactory> CreateAndPassSyncErrorFactory(); syncer 299 chrome/browser/sync/glue/favicon_cache_unittest.cc scoped_ptr<syncer::SyncChangeProcessorWrapperForTest> sync_processor_wrapper_; syncer 305 chrome/browser/sync/glue/favicon_cache_unittest.cc sync_processor_wrapper_(new syncer::SyncChangeProcessorWrapperForTest( syncer 309 chrome/browser/sync/glue/favicon_cache_unittest.cc const syncer::SyncDataList& initial_image_data, syncer 310 chrome/browser/sync/glue/favicon_cache_unittest.cc const syncer::SyncDataList& initial_tracking_data) { syncer 311 chrome/browser/sync/glue/favicon_cache_unittest.cc cache()->MergeDataAndStartSyncing(syncer::FAVICON_IMAGES, syncer 316 chrome/browser/sync/glue/favicon_cache_unittest.cc cache()->MergeDataAndStartSyncing(syncer::FAVICON_TRACKING, syncer 359 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncDataList image_data_list = syncer 360 chrome/browser/sync/glue/favicon_cache_unittest.cc cache()->GetAllSyncData(syncer::FAVICON_IMAGES); syncer 361 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncDataList tracking_data_list = syncer 362 chrome/browser/sync/glue/favicon_cache_unittest.cc cache()->GetAllSyncData(syncer::FAVICON_TRACKING); syncer 398 chrome/browser/sync/glue/favicon_cache_unittest.cc scoped_ptr<syncer::SyncChangeProcessor> syncer 400 chrome/browser/sync/glue/favicon_cache_unittest.cc return scoped_ptr<syncer::SyncChangeProcessor>( syncer 401 chrome/browser/sync/glue/favicon_cache_unittest.cc new syncer::SyncChangeProcessorWrapperForTest(sync_processor_.get())); syncer 404 chrome/browser/sync/glue/favicon_cache_unittest.cc scoped_ptr<syncer::SyncErrorFactory> SyncFaviconCacheTest:: syncer 406 chrome/browser/sync/glue/favicon_cache_unittest.cc return scoped_ptr<syncer::SyncErrorFactory>( syncer 407 chrome/browser/sync/glue/favicon_cache_unittest.cc new syncer::SyncErrorFactoryMock()); syncer 526 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncMergeResult merge_result = syncer 527 chrome/browser/sync/glue/favicon_cache_unittest.cc cache()->MergeDataAndStartSyncing(syncer::FAVICON_IMAGES, syncer 528 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncDataList(), syncer 532 chrome/browser/sync/glue/favicon_cache_unittest.cc EXPECT_EQ(0U, cache()->GetAllSyncData(syncer::FAVICON_IMAGES).size()); syncer 541 chrome/browser/sync/glue/favicon_cache_unittest.cc cache()->MergeDataAndStartSyncing(syncer::FAVICON_TRACKING, syncer 542 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncDataList(), syncer 546 chrome/browser/sync/glue/favicon_cache_unittest.cc EXPECT_EQ(0U, cache()->GetAllSyncData(syncer::FAVICON_TRACKING).size()); syncer 558 chrome/browser/sync/glue/favicon_cache_unittest.cc std::vector<syncer::SyncChange::SyncChangeType> expected_change_types; syncer 566 chrome/browser/sync/glue/favicon_cache_unittest.cc expected_change_types.push_back(syncer::SyncChange::ACTION_ADD); syncer 570 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncMergeResult merge_result = syncer 571 chrome/browser/sync/glue/favicon_cache_unittest.cc cache()->MergeDataAndStartSyncing(syncer::FAVICON_IMAGES, syncer 572 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncDataList(), syncer 576 chrome/browser/sync/glue/favicon_cache_unittest.cc cache()->GetAllSyncData(syncer::FAVICON_IMAGES).size()); syncer 577 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChangeList change_list = processor()->GetAndResetChangeList(); syncer 578 chrome/browser/sync/glue/favicon_cache_unittest.cc EXPECT_TRUE(VerifyChanges(syncer::FAVICON_IMAGES, syncer 589 chrome/browser/sync/glue/favicon_cache_unittest.cc cache()->MergeDataAndStartSyncing(syncer::FAVICON_TRACKING, syncer 590 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncDataList(), syncer 594 chrome/browser/sync/glue/favicon_cache_unittest.cc cache()->GetAllSyncData(syncer::FAVICON_TRACKING).size()); syncer 596 chrome/browser/sync/glue/favicon_cache_unittest.cc EXPECT_TRUE(VerifyChanges(syncer::FAVICON_TRACKING, syncer 610 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncDataList initial_image_data, initial_tracking_data; syncer 618 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncData::CreateRemoteData(1, syncer 624 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncData::CreateRemoteData(1, syncer 629 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncMergeResult merge_result = syncer 630 chrome/browser/sync/glue/favicon_cache_unittest.cc cache()->MergeDataAndStartSyncing(syncer::FAVICON_IMAGES, syncer 635 chrome/browser/sync/glue/favicon_cache_unittest.cc cache()->GetAllSyncData(syncer::FAVICON_IMAGES).size()); syncer 644 chrome/browser/sync/glue/favicon_cache_unittest.cc cache()->MergeDataAndStartSyncing(syncer::FAVICON_TRACKING, syncer 649 chrome/browser/sync/glue/favicon_cache_unittest.cc cache()->GetAllSyncData(syncer::FAVICON_TRACKING).size()); syncer 674 chrome/browser/sync/glue/favicon_cache_unittest.cc std::vector<syncer::SyncChange::SyncChangeType> expected_change_types; syncer 677 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncDataList initial_image_data, initial_tracking_data; syncer 684 chrome/browser/sync/glue/favicon_cache_unittest.cc expected_change_types.push_back(syncer::SyncChange::ACTION_UPDATE); syncer 693 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncData::CreateRemoteData(1, syncer 699 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncData::CreateRemoteData(1, syncer 704 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncMergeResult merge_result = syncer 705 chrome/browser/sync/glue/favicon_cache_unittest.cc cache()->MergeDataAndStartSyncing(syncer::FAVICON_IMAGES, syncer 710 chrome/browser/sync/glue/favicon_cache_unittest.cc cache()->GetAllSyncData(syncer::FAVICON_IMAGES).size()); syncer 711 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChangeList changes = processor()->GetAndResetChangeList(); syncer 720 chrome/browser/sync/glue/favicon_cache_unittest.cc cache()->MergeDataAndStartSyncing(syncer::FAVICON_TRACKING, syncer 725 chrome/browser/sync/glue/favicon_cache_unittest.cc cache()->GetAllSyncData(syncer::FAVICON_TRACKING).size()); syncer 735 chrome/browser/sync/glue/favicon_cache_unittest.cc ASSERT_TRUE(VerifyChanges(syncer::FAVICON_IMAGES, syncer 755 chrome/browser/sync/glue/favicon_cache_unittest.cc std::vector<syncer::SyncChange::SyncChangeType> expected_change_types; syncer 758 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncDataList initial_image_data, initial_tracking_data; syncer 765 chrome/browser/sync/glue/favicon_cache_unittest.cc expected_change_types.push_back(syncer::SyncChange::ACTION_UPDATE); syncer 774 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncData::CreateRemoteData(1, syncer 780 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncData::CreateRemoteData(1, syncer 785 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncMergeResult merge_result = syncer 786 chrome/browser/sync/glue/favicon_cache_unittest.cc cache()->MergeDataAndStartSyncing(syncer::FAVICON_IMAGES, syncer 791 chrome/browser/sync/glue/favicon_cache_unittest.cc cache()->GetAllSyncData(syncer::FAVICON_IMAGES).size()); syncer 800 chrome/browser/sync/glue/favicon_cache_unittest.cc cache()->MergeDataAndStartSyncing(syncer::FAVICON_TRACKING, syncer 805 chrome/browser/sync/glue/favicon_cache_unittest.cc cache()->GetAllSyncData(syncer::FAVICON_TRACKING).size()); syncer 806 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChangeList changes = processor()->GetAndResetChangeList(); syncer 816 chrome/browser/sync/glue/favicon_cache_unittest.cc ASSERT_TRUE(VerifyChanges(syncer::FAVICON_TRACKING, syncer 825 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncDataList initial_image_data, initial_tracking_data; syncer 826 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChangeList stale_changes; syncer 828 chrome/browser/sync/glue/favicon_cache_unittest.cc std::vector<syncer::SyncChange::SyncChangeType> expected_change_types; syncer 835 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncData::CreateRemoteData(1, syncer 838 chrome/browser/sync/glue/favicon_cache_unittest.cc expected_change_types.push_back(syncer::SyncChange::ACTION_UPDATE); syncer 841 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChange( syncer 843 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChange::ACTION_UPDATE, syncer 844 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncData::CreateRemoteData(1, syncer 850 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncData::CreateRemoteData(1, syncer 859 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChangeList changes = processor()->GetAndResetChangeList(); syncer 862 chrome/browser/sync/glue/favicon_cache_unittest.cc ASSERT_TRUE(VerifyChanges(syncer::FAVICON_IMAGES, syncer 871 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncDataList initial_image_data, initial_tracking_data; syncer 872 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChangeList new_changes; syncer 881 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChange( syncer 883 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChange::ACTION_UPDATE, syncer 884 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncData::CreateRemoteData(1, syncer 890 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncData::CreateRemoteData(1, syncer 896 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncData::CreateRemoteData(1, syncer 911 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncDataList initial_image_data, initial_tracking_data; syncer 912 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChangeList same_changes; syncer 921 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChange( syncer 923 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChange::ACTION_UPDATE, syncer 924 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncData::CreateRemoteData(1, syncer 928 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncData::CreateRemoteData(1, syncer 934 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncData::CreateRemoteData(1, syncer 950 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncDataList initial_image_data, initial_tracking_data; syncer 951 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChangeList stale_changes; syncer 953 chrome/browser/sync/glue/favicon_cache_unittest.cc std::vector<syncer::SyncChange::SyncChangeType> expected_change_types; syncer 960 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncData::CreateRemoteData(1, syncer 963 chrome/browser/sync/glue/favicon_cache_unittest.cc expected_change_types.push_back(syncer::SyncChange::ACTION_UPDATE); syncer 967 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncData::CreateRemoteData(1, syncer 972 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChange( syncer 974 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChange::ACTION_UPDATE, syncer 975 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncData::CreateRemoteData(1, syncer 984 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChangeList changes = processor()->GetAndResetChangeList(); syncer 987 chrome/browser/sync/glue/favicon_cache_unittest.cc ASSERT_TRUE(VerifyChanges(syncer::FAVICON_TRACKING, syncer 996 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncDataList initial_image_data, initial_tracking_data; syncer 997 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChangeList new_changes; syncer 1006 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncData::CreateRemoteData(1, syncer 1012 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChange( syncer 1014 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChange::ACTION_UPDATE, syncer 1015 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncData::CreateRemoteData(1, syncer 1020 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncData::CreateRemoteData(1, syncer 1036 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncDataList initial_image_data, initial_tracking_data; syncer 1037 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChangeList same_changes; syncer 1045 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncData::CreateRemoteData(1, syncer 1051 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncData::CreateRemoteData(1, syncer 1055 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChange( syncer 1057 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChange::ACTION_UPDATE, syncer 1058 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncData::CreateRemoteData(1, syncer 1073 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncDataList initial_image_data, initial_tracking_data; syncer 1074 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChangeList tracking_deletions, image_deletions; syncer 1080 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncData::CreateRemoteData(1, syncer 1086 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncData::CreateRemoteData(1, syncer 1090 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChange( syncer 1092 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChange::ACTION_DELETE, syncer 1093 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncData::CreateRemoteData(1, syncer 1097 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChange( syncer 1099 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChange::ACTION_DELETE, syncer 1100 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncData::CreateRemoteData(1, syncer 1124 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncDataList initial_image_data, initial_tracking_data; syncer 1133 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncData::CreateRemoteData(1, syncer 1139 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncData::CreateRemoteData(1, syncer 1154 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncMergeResult merge_result = syncer 1155 chrome/browser/sync/glue/favicon_cache_unittest.cc cache()->MergeDataAndStartSyncing(syncer::FAVICON_IMAGES, syncer 1162 chrome/browser/sync/glue/favicon_cache_unittest.cc cache()->GetAllSyncData(syncer::FAVICON_IMAGES).size()); syncer 1172 chrome/browser/sync/glue/favicon_cache_unittest.cc cache()->MergeDataAndStartSyncing(syncer::FAVICON_TRACKING, syncer 1177 chrome/browser/sync/glue/favicon_cache_unittest.cc cache()->GetAllSyncData(syncer::FAVICON_TRACKING).size()); syncer 1191 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncDataList initial_image_data, initial_tracking_data; syncer 1192 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChangeList image_changes, tracking_changes; syncer 1200 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncData::CreateRemoteData(1, syncer 1206 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncData::CreateRemoteData(1, syncer 1214 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChange( syncer 1216 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChange::ACTION_ADD, syncer 1217 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncData::CreateRemoteData(1, syncer 1223 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChange( syncer 1225 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChange::ACTION_ADD, syncer 1226 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncData::CreateRemoteData(1, syncer 1246 chrome/browser/sync/glue/favicon_cache_unittest.cc SetUpInitialSync(syncer::SyncDataList(), syncer::SyncDataList()); syncer 1261 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChangeList changes = processor()->GetAndResetChangeList(); syncer 1263 chrome/browser/sync/glue/favicon_cache_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_ADD, changes[0].change_type()); syncer 1264 chrome/browser/sync/glue/favicon_cache_unittest.cc EXPECT_EQ(syncer::FAVICON_IMAGES, changes[0].sync_data().GetDataType()); syncer 1268 chrome/browser/sync/glue/favicon_cache_unittest.cc EXPECT_EQ(syncer::FAVICON_TRACKING, changes[1].sync_data().GetDataType()); syncer 1271 chrome/browser/sync/glue/favicon_cache_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_ADD, changes[1].change_type()); syncer 1287 chrome/browser/sync/glue/favicon_cache_unittest.cc SetUpInitialSync(syncer::SyncDataList(), syncer::SyncDataList()); syncer 1297 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChangeList changes = processor()->GetAndResetChangeList(); syncer 1305 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChangeList changes = processor()->GetAndResetChangeList(); syncer 1309 chrome/browser/sync/glue/favicon_cache_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_UPDATE, changes[0].change_type()); syncer 1323 chrome/browser/sync/glue/favicon_cache_unittest.cc SetUpInitialSync(syncer::SyncDataList(), syncer::SyncDataList()); syncer 1333 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChangeList changes = processor()->GetAndResetChangeList(); syncer 1343 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChangeList changes = processor()->GetAndResetChangeList(); syncer 1345 chrome/browser/sync/glue/favicon_cache_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_ADD, changes[0].change_type()); syncer 1349 chrome/browser/sync/glue/favicon_cache_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_DELETE, changes[1].change_type()); syncer 1351 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncDataLocal(changes[1].sync_data()).GetTag()); syncer 1353 chrome/browser/sync/glue/favicon_cache_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_ADD, changes[2].change_type()); syncer 1359 chrome/browser/sync/glue/favicon_cache_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_DELETE, changes[3].change_type()); syncer 1361 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncDataLocal(changes[3].sync_data()).GetTag()); syncer 1371 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncDataList initial_image_data, initial_tracking_data; syncer 1373 chrome/browser/sync/glue/favicon_cache_unittest.cc std::vector<syncer::SyncChange::SyncChangeType> expected_deletions; syncer 1376 chrome/browser/sync/glue/favicon_cache_unittest.cc expected_deletions.push_back(syncer::SyncChange::ACTION_DELETE); syncer 1382 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncData::CreateRemoteData(1, syncer 1388 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncData::CreateRemoteData(1, syncer 1394 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChangeList changes = processor()->GetAndResetChangeList(); syncer 1407 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChangeList changes_1, changes_2; syncer 1412 chrome/browser/sync/glue/favicon_cache_unittest.cc VerifyChanges(syncer::FAVICON_IMAGES, syncer 1416 chrome/browser/sync/glue/favicon_cache_unittest.cc VerifyChanges(syncer::FAVICON_TRACKING, syncer 1425 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncDataList initial_image_data, initial_tracking_data; syncer 1427 chrome/browser/sync/glue/favicon_cache_unittest.cc std::vector<syncer::SyncChange::SyncChangeType> expected_deletions; syncer 1433 chrome/browser/sync/glue/favicon_cache_unittest.cc expected_deletions.push_back(syncer::SyncChange::ACTION_DELETE); syncer 1440 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncData::CreateRemoteData(1, syncer 1446 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncData::CreateRemoteData(1, syncer 1452 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChangeList changes = processor()->GetAndResetChangeList(); syncer 1463 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChangeList changes_1, changes_2; syncer 1468 chrome/browser/sync/glue/favicon_cache_unittest.cc VerifyChanges(syncer::FAVICON_IMAGES, syncer 1472 chrome/browser/sync/glue/favicon_cache_unittest.cc VerifyChanges(syncer::FAVICON_TRACKING, syncer 1481 chrome/browser/sync/glue/favicon_cache_unittest.cc SetUpInitialSync(syncer::SyncDataList(), syncer::SyncDataList()); syncer 1500 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChangeList changes = processor()->GetAndResetChangeList(); syncer 1508 chrome/browser/sync/glue/favicon_cache_unittest.cc SetUpInitialSync(syncer::SyncDataList(), syncer::SyncDataList()); syncer 1530 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChangeList changes = processor()->GetAndResetChangeList(); syncer 1534 chrome/browser/sync/glue/favicon_cache_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_UPDATE, changes[0].change_type()); syncer 1548 chrome/browser/sync/glue/favicon_cache_unittest.cc SetUpInitialSync(syncer::SyncDataList(), syncer::SyncDataList()); syncer 1550 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChangeList initial_image_changes; syncer 1551 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChangeList initial_tracking_changes; syncer 1561 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChange(FROM_HERE, syncer 1562 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChange::ACTION_ADD, syncer 1563 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncData::CreateRemoteData( syncer 1570 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChange(FROM_HERE, syncer 1571 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChange::ACTION_ADD, syncer 1572 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncData::CreateRemoteData( syncer 1587 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChangeList changes = processor()->GetAndResetChangeList(); syncer 1595 chrome/browser/sync/glue/favicon_cache_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_UPDATE, changes[0].change_type()); syncer 1599 chrome/browser/sync/glue/favicon_cache_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_ADD, changes[1].change_type()); syncer 1607 chrome/browser/sync/glue/favicon_cache_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_ADD, changes[0].change_type()); syncer 1611 chrome/browser/sync/glue/favicon_cache_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_UPDATE, changes[1].change_type()); syncer 1627 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncDataList initial_image_data, initial_tracking_data; syncer 1633 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncData::CreateRemoteData(1, syncer 1640 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChangeList change_list = processor()->GetAndResetChangeList(); syncer 1650 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncDataList initial_image_data, initial_tracking_data; syncer 1658 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncData::CreateRemoteData(1, syncer 1664 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::TimeToProtoTime(base::Time())); syncer 1666 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncData::CreateRemoteData(1, syncer 1671 chrome/browser/sync/glue/favicon_cache_unittest.cc cache()->MergeDataAndStartSyncing(syncer::FAVICON_IMAGES, syncer 1676 chrome/browser/sync/glue/favicon_cache_unittest.cc cache()->MergeDataAndStartSyncing(syncer::FAVICON_TRACKING, syncer 1690 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChangeList changes = processor()->GetAndResetChangeList(); syncer 1694 chrome/browser/sync/glue/favicon_cache_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_UPDATE, changes[0].change_type()); syncer 1714 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncDataList initial_image_data, initial_tracking_data; syncer 1719 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::TimeToProtoTime( syncer 1724 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncData::CreateRemoteData(1, syncer 1730 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncData::CreateRemoteData(1, syncer 1746 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChangeList changes = processor()->GetAndResetChangeList(); syncer 1748 chrome/browser/sync/glue/favicon_cache_unittest.cc ASSERT_EQ(changes[0].change_type(), syncer::SyncChange::ACTION_ADD); syncer 1749 chrome/browser/sync/glue/favicon_cache_unittest.cc ASSERT_EQ(changes[0].sync_data().GetDataType(), syncer::FAVICON_IMAGES); syncer 1750 chrome/browser/sync/glue/favicon_cache_unittest.cc ASSERT_EQ(changes[1].change_type(), syncer::SyncChange::ACTION_DELETE); syncer 1751 chrome/browser/sync/glue/favicon_cache_unittest.cc ASSERT_EQ(changes[1].sync_data().GetDataType(), syncer::FAVICON_IMAGES); syncer 1752 chrome/browser/sync/glue/favicon_cache_unittest.cc ASSERT_EQ(changes[2].change_type(), syncer::SyncChange::ACTION_ADD); syncer 1753 chrome/browser/sync/glue/favicon_cache_unittest.cc ASSERT_EQ(changes[2].sync_data().GetDataType(), syncer::FAVICON_TRACKING); syncer 1754 chrome/browser/sync/glue/favicon_cache_unittest.cc ASSERT_EQ(changes[3].change_type(), syncer::SyncChange::ACTION_DELETE); syncer 1755 chrome/browser/sync/glue/favicon_cache_unittest.cc ASSERT_EQ(changes[3].sync_data().GetDataType(), syncer::FAVICON_TRACKING); syncer 1774 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncDataList initial_image_data, initial_tracking_data; syncer 1783 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncData::CreateRemoteData(1, syncer 1791 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncData::CreateRemoteData(1, syncer 1810 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::SyncChangeList changes = processor()->GetAndResetChangeList(); syncer 1814 chrome/browser/sync/glue/favicon_cache_unittest.cc EXPECT_EQ(changes[0].change_type(), syncer::SyncChange::ACTION_DELETE); syncer 1815 chrome/browser/sync/glue/favicon_cache_unittest.cc EXPECT_EQ(changes[0].sync_data().GetDataType(), syncer::FAVICON_IMAGES); syncer 1818 chrome/browser/sync/glue/favicon_cache_unittest.cc EXPECT_EQ(changes[1].change_type(), syncer::SyncChange::ACTION_DELETE); syncer 1819 chrome/browser/sync/glue/favicon_cache_unittest.cc EXPECT_EQ(changes[1].sync_data().GetDataType(), syncer::FAVICON_IMAGES); syncer 1822 chrome/browser/sync/glue/favicon_cache_unittest.cc EXPECT_EQ(changes[2].change_type(), syncer::SyncChange::ACTION_DELETE); syncer 1823 chrome/browser/sync/glue/favicon_cache_unittest.cc EXPECT_EQ(changes[2].sync_data().GetDataType(), syncer::FAVICON_IMAGES); syncer 1826 chrome/browser/sync/glue/favicon_cache_unittest.cc EXPECT_EQ(changes[3].change_type(), syncer::SyncChange::ACTION_DELETE); syncer 1827 chrome/browser/sync/glue/favicon_cache_unittest.cc EXPECT_EQ(changes[3].sync_data().GetDataType(), syncer::FAVICON_IMAGES); syncer 1830 chrome/browser/sync/glue/favicon_cache_unittest.cc EXPECT_EQ(changes[4].change_type(), syncer::SyncChange::ACTION_ADD); syncer 1831 chrome/browser/sync/glue/favicon_cache_unittest.cc EXPECT_EQ(changes[4].sync_data().GetDataType(), syncer::FAVICON_TRACKING); syncer 1834 chrome/browser/sync/glue/favicon_cache_unittest.cc EXPECT_EQ(changes[5].change_type(), syncer::SyncChange::ACTION_DELETE); syncer 1835 chrome/browser/sync/glue/favicon_cache_unittest.cc EXPECT_EQ(changes[5].sync_data().GetDataType(), syncer::FAVICON_TRACKING); syncer 47 chrome/browser/sync/glue/frontend_data_type_controller.cc syncer::SyncError(FROM_HERE, syncer 48 chrome/browser/sync/glue/frontend_data_type_controller.cc syncer::SyncError::DATATYPE_ERROR, syncer 77 chrome/browser/sync/glue/frontend_data_type_controller.cc model_load_callback.Run(type(), syncer::SyncError()); syncer 119 chrome/browser/sync/glue/frontend_data_type_controller.cc syncer::SyncError error; // Not used. syncer 129 chrome/browser/sync/glue/frontend_data_type_controller.cc syncer::ModelSafeGroup FrontendDataTypeController::model_safe_group() syncer 131 chrome/browser/sync/glue/frontend_data_type_controller.cc return syncer::GROUP_UI; syncer 136 chrome/browser/sync/glue/frontend_data_type_controller.cc return syncer::ModelTypeToString(type()); syncer 170 chrome/browser/sync/glue/frontend_data_type_controller.cc syncer::SyncMergeResult local_merge_result(type()); syncer 171 chrome/browser/sync/glue/frontend_data_type_controller.cc syncer::SyncMergeResult syncer_merge_result(type()); syncer 180 chrome/browser/sync/glue/frontend_data_type_controller.cc syncer::SyncError error(FROM_HERE, syncer 181 chrome/browser/sync/glue/frontend_data_type_controller.cc syncer::SyncError::UNRECOVERABLE_ERROR, syncer 191 chrome/browser/sync/glue/frontend_data_type_controller.cc syncer::SyncError error; syncer 237 chrome/browser/sync/glue/frontend_data_type_controller.cc syncer::SyncError(FROM_HERE, syncer 238 chrome/browser/sync/glue/frontend_data_type_controller.cc syncer::SyncError::DATATYPE_ERROR, syncer 245 chrome/browser/sync/glue/frontend_data_type_controller.cc const syncer::SyncMergeResult& local_merge_result, syncer 246 chrome/browser/sync/glue/frontend_data_type_controller.cc const syncer::SyncMergeResult& syncer_merge_result) { syncer 281 chrome/browser/sync/glue/frontend_data_type_controller.cc syncer::MODEL_TYPE_COUNT); syncer 24 chrome/browser/sync/glue/frontend_data_type_controller.h namespace syncer { syncer 57 chrome/browser/sync/glue/frontend_data_type_controller.h virtual syncer::ModelType type() const = 0; syncer 58 chrome/browser/sync/glue/frontend_data_type_controller.h virtual syncer::ModelSafeGroup model_safe_group() const OVERRIDE; syncer 95 chrome/browser/sync/glue/frontend_data_type_controller.h const syncer::SyncMergeResult& local_merge_result, syncer 96 chrome/browser/sync/glue/frontend_data_type_controller.h const syncer::SyncMergeResult& syncer_merge_result); syncer 26 chrome/browser/sync/glue/frontend_data_type_controller_mock.h MOCK_CONST_METHOD0(type, syncer::ModelType()); syncer 28 chrome/browser/sync/glue/frontend_data_type_controller_mock.h MOCK_CONST_METHOD0(model_safe_group, syncer::ModelSafeGroup()); syncer 38 chrome/browser/sync/glue/frontend_data_type_controller_mock.h const syncer::SyncError& error)); syncer 51 chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc virtual syncer::ModelType type() const OVERRIDE { return syncer::BOOKMARKS; } syncer 120 chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc WillOnce(Return(syncer::SyncError())); syncer 133 chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc WillOnce(Return(syncer::SyncError())); syncer 186 chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc WillOnce(Return(syncer::SyncError())); syncer 214 chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc WillOnce(Return(syncer::SyncError(FROM_HERE, syncer 215 chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc syncer::SyncError::DATATYPE_ERROR, syncer 217 chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc syncer::BOOKMARKS))); syncer 32 chrome/browser/sync/glue/generic_change_processor.cc syncer::WriteNode* write_node) { syncer 33 chrome/browser/sync/glue/generic_change_processor.cc if (syncer::GetModelTypeFromSpecifics(entity_specifics) == syncer 34 chrome/browser/sync/glue/generic_change_processor.cc syncer::PASSWORDS) { syncer 42 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncData BuildRemoteSyncData( syncer 44 chrome/browser/sync/glue/generic_change_processor.cc const syncer::BaseNode& read_node, syncer 45 chrome/browser/sync/glue/generic_change_processor.cc const syncer::AttachmentServiceProxy& attachment_service_proxy) { syncer 46 chrome/browser/sync/glue/generic_change_processor.cc const syncer::AttachmentIdList& attachment_ids = read_node.GetAttachmentIds(); syncer 49 chrome/browser/sync/glue/generic_change_processor.cc if (read_node.GetModelType() != syncer::PASSWORDS) { syncer 50 chrome/browser/sync/glue/generic_change_processor.cc return syncer::SyncData::CreateRemoteData(sync_id, syncer 62 chrome/browser/sync/glue/generic_change_processor.cc return syncer::SyncData::CreateRemoteData(sync_id, syncer 73 chrome/browser/sync/glue/generic_change_processor.cc const base::WeakPtr<syncer::SyncableService>& local_service, syncer 74 chrome/browser/sync/glue/generic_change_processor.cc const base::WeakPtr<syncer::SyncMergeResult>& merge_result, syncer 75 chrome/browser/sync/glue/generic_change_processor.cc syncer::UserShare* user_share, syncer 76 chrome/browser/sync/glue/generic_change_processor.cc scoped_ptr<syncer::AttachmentService> attachment_service) syncer 83 chrome/browser/sync/glue/generic_change_processor.cc attachment_service_proxy_(syncer::AttachmentServiceProxy( syncer 95 chrome/browser/sync/glue/generic_change_processor.cc const syncer::BaseTransaction* trans, syncer 97 chrome/browser/sync/glue/generic_change_processor.cc const syncer::ImmutableChangeRecordList& changes) { syncer 100 chrome/browser/sync/glue/generic_change_processor.cc for (syncer::ChangeRecordList::const_iterator it = syncer 102 chrome/browser/sync/glue/generic_change_processor.cc if (it->action == syncer::ChangeRecord::ACTION_DELETE) { syncer 110 chrome/browser/sync/glue/generic_change_processor.cc const syncer::AttachmentIdList empty_list_of_attachment_ids; syncer 112 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncChange(FROM_HERE, syncer 113 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncChange::ACTION_DELETE, syncer 114 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncData::CreateRemoteData( syncer 121 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncChange::SyncChangeType action = syncer 122 chrome/browser/sync/glue/generic_change_processor.cc (it->action == syncer::ChangeRecord::ACTION_ADD) ? syncer 123 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncChange::ACTION_ADD : syncer::SyncChange::ACTION_UPDATE; syncer 125 chrome/browser/sync/glue/generic_change_processor.cc syncer::ReadNode read_node(trans); syncer 126 chrome/browser/sync/glue/generic_change_processor.cc if (read_node.InitByIdLookup(it->id) != syncer::BaseNode::INIT_OK) { syncer 133 chrome/browser/sync/glue/generic_change_processor.cc syncer_changes_.push_back(syncer::SyncChange( syncer 146 chrome/browser/sync/glue/generic_change_processor.cc syncer::ModelType type = syncer_changes_[0].sync_data().GetDataType(); syncer 147 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncError error(FROM_HERE, syncer 148 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncError::DATATYPE_ERROR, syncer 155 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncError error = local_service_->ProcessSyncChanges(FROM_HERE, syncer 164 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncDataList GenericChangeProcessor::GetAllSyncData( syncer 165 chrome/browser/sync/glue/generic_change_processor.cc syncer::ModelType type) const { syncer 167 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncDataList data; syncer 172 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncError GenericChangeProcessor::UpdateDataTypeContext( syncer 173 chrome/browser/sync/glue/generic_change_processor.cc syncer::ModelType type, syncer 176 chrome/browser/sync/glue/generic_change_processor.cc return syncer::SyncError(FROM_HERE, syncer 177 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncError::DATATYPE_ERROR, syncer 182 chrome/browser/sync/glue/generic_change_processor.cc syncer::WriteTransaction trans(FROM_HERE, share_handle()); syncer 187 chrome/browser/sync/glue/generic_change_processor.cc return syncer::SyncError(); syncer 190 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncError GenericChangeProcessor::GetAllSyncDataReturnError( syncer 191 chrome/browser/sync/glue/generic_change_processor.cc syncer::ModelType type, syncer 192 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncDataList* current_sync_data) const { syncer 194 chrome/browser/sync/glue/generic_change_processor.cc std::string type_name = syncer::ModelTypeToString(type); syncer 195 chrome/browser/sync/glue/generic_change_processor.cc syncer::ReadTransaction trans(FROM_HERE, share_handle()); syncer 196 chrome/browser/sync/glue/generic_change_processor.cc syncer::ReadNode root(&trans); syncer 197 chrome/browser/sync/glue/generic_change_processor.cc if (root.InitByTagLookup(syncer::ModelTypeToRootTag(type)) != syncer 198 chrome/browser/sync/glue/generic_change_processor.cc syncer::BaseNode::INIT_OK) { syncer 199 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncError error(FROM_HERE, syncer 200 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncError::DATATYPE_ERROR, syncer 209 chrome/browser/sync/glue/generic_change_processor.cc DCHECK_NE(type, syncer::BOOKMARKS); syncer 216 chrome/browser/sync/glue/generic_change_processor.cc syncer::ReadNode sync_child_node(&trans); syncer 218 chrome/browser/sync/glue/generic_change_processor.cc syncer::BaseNode::INIT_OK) { syncer 219 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncError error(FROM_HERE, syncer 220 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncError::DATATYPE_ERROR, syncer 229 chrome/browser/sync/glue/generic_change_processor.cc return syncer::SyncError(); syncer 232 chrome/browser/sync/glue/generic_change_processor.cc int GenericChangeProcessor::GetSyncCountForType(syncer::ModelType type) { syncer 233 chrome/browser/sync/glue/generic_change_processor.cc syncer::ReadTransaction trans(FROM_HERE, share_handle()); syncer 234 chrome/browser/sync/glue/generic_change_processor.cc syncer::ReadNode root(&trans); syncer 235 chrome/browser/sync/glue/generic_change_processor.cc if (root.InitByTagLookup(syncer::ModelTypeToRootTag(type)) != syncer 236 chrome/browser/sync/glue/generic_change_processor.cc syncer::BaseNode::INIT_OK) syncer 250 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncError LogLookupFailure( syncer 251 chrome/browser/sync/glue/generic_change_processor.cc syncer::BaseNode::InitByLookupResult lookup_result, syncer 254 chrome/browser/sync/glue/generic_change_processor.cc syncer::ModelType type, syncer 257 chrome/browser/sync/glue/generic_change_processor.cc case syncer::BaseNode::INIT_FAILED_ENTRY_NOT_GOOD: { syncer 258 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncError error; syncer 268 chrome/browser/sync/glue/generic_change_processor.cc case syncer::BaseNode::INIT_FAILED_ENTRY_IS_DEL: { syncer 269 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncError error; syncer 276 chrome/browser/sync/glue/generic_change_processor.cc case syncer::BaseNode::INIT_FAILED_DECRYPT_IF_NECESSARY: { syncer 277 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncError error; syncer 284 chrome/browser/sync/glue/generic_change_processor.cc case syncer::BaseNode::INIT_FAILED_PRECONDITION: { syncer 285 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncError error; syncer 295 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncError error; syncer 306 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncError AttemptDelete( syncer 307 chrome/browser/sync/glue/generic_change_processor.cc const syncer::SyncChange& change, syncer 308 chrome/browser/sync/glue/generic_change_processor.cc syncer::ModelType type, syncer 310 chrome/browser/sync/glue/generic_change_processor.cc syncer::WriteNode* node, syncer 312 chrome/browser/sync/glue/generic_change_processor.cc DCHECK_EQ(change.change_type(), syncer::SyncChange::ACTION_DELETE); syncer 314 chrome/browser/sync/glue/generic_change_processor.cc const std::string& tag = syncer::SyncDataLocal(change.sync_data()).GetTag(); syncer 316 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncError error( syncer 318 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncError::DATATYPE_ERROR, syncer 328 chrome/browser/sync/glue/generic_change_processor.cc syncer::BaseNode::InitByLookupResult result = syncer 330 chrome/browser/sync/glue/generic_change_processor.cc if (result != syncer::BaseNode::INIT_OK) { syncer 338 chrome/browser/sync/glue/generic_change_processor.cc syncer::BaseNode::InitByLookupResult result = node->InitByIdLookup( syncer 339 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncDataRemote(change.sync_data()).GetId()); syncer 340 chrome/browser/sync/glue/generic_change_processor.cc if (result != syncer::BaseNode::INIT_OK) { syncer 352 chrome/browser/sync/glue/generic_change_processor.cc return syncer::SyncError(); syncer 357 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncError GenericChangeProcessor::ProcessSyncChanges( syncer 359 chrome/browser/sync/glue/generic_change_processor.cc const syncer::SyncChangeList& list_of_changes) { syncer 361 chrome/browser/sync/glue/generic_change_processor.cc syncer::WriteTransaction trans(from_here, share_handle()); syncer 363 chrome/browser/sync/glue/generic_change_processor.cc for (syncer::SyncChangeList::const_iterator iter = list_of_changes.begin(); syncer 366 chrome/browser/sync/glue/generic_change_processor.cc const syncer::SyncChange& change = *iter; syncer 367 chrome/browser/sync/glue/generic_change_processor.cc DCHECK_NE(change.sync_data().GetDataType(), syncer::UNSPECIFIED); syncer 368 chrome/browser/sync/glue/generic_change_processor.cc syncer::ModelType type = change.sync_data().GetDataType(); syncer 369 chrome/browser/sync/glue/generic_change_processor.cc std::string type_str = syncer::ModelTypeToString(type); syncer 370 chrome/browser/sync/glue/generic_change_processor.cc syncer::WriteNode sync_node(&trans); syncer 371 chrome/browser/sync/glue/generic_change_processor.cc if (change.change_type() == syncer::SyncChange::ACTION_DELETE) { syncer 372 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncError error = syncer 383 chrome/browser/sync/glue/generic_change_processor.cc } else if (change.change_type() == syncer::SyncChange::ACTION_ADD) { syncer 384 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncError error = syncer 389 chrome/browser/sync/glue/generic_change_processor.cc } else if (change.change_type() == syncer::SyncChange::ACTION_UPDATE) { syncer 390 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncError error = syncer 396 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncError error( syncer 398 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncError::DATATYPE_ERROR, syncer 409 chrome/browser/sync/glue/generic_change_processor.cc return syncer::SyncError(); syncer 416 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncError GenericChangeProcessor::HandleActionAdd( syncer 417 chrome/browser/sync/glue/generic_change_processor.cc const syncer::SyncChange& change, syncer 419 chrome/browser/sync/glue/generic_change_processor.cc const syncer::ModelType& type, syncer 420 chrome/browser/sync/glue/generic_change_processor.cc const syncer::WriteTransaction& trans, syncer 421 chrome/browser/sync/glue/generic_change_processor.cc syncer::WriteNode* sync_node) { syncer 424 chrome/browser/sync/glue/generic_change_processor.cc syncer::ReadNode root_node(&trans); syncer 425 chrome/browser/sync/glue/generic_change_processor.cc if (root_node.InitByTagLookup(syncer::ModelTypeToRootTag( syncer 426 chrome/browser/sync/glue/generic_change_processor.cc change.sync_data().GetDataType())) != syncer::BaseNode::INIT_OK) { syncer 427 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncError error(FROM_HERE, syncer 428 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncError::DATATYPE_ERROR, syncer 437 chrome/browser/sync/glue/generic_change_processor.cc syncer::WriteNode::InitUniqueByCreationResult result = syncer 441 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncDataLocal(change.sync_data()).GetTag()); syncer 442 chrome/browser/sync/glue/generic_change_processor.cc if (result != syncer::WriteNode::INIT_SUCCESS) { syncer 446 chrome/browser/sync/glue/generic_change_processor.cc case syncer::WriteNode::INIT_FAILED_EMPTY_TAG: { syncer 447 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncError error; syncer 454 chrome/browser/sync/glue/generic_change_processor.cc case syncer::WriteNode::INIT_FAILED_ENTRY_ALREADY_EXISTS: { syncer 455 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncError error; syncer 462 chrome/browser/sync/glue/generic_change_processor.cc case syncer::WriteNode::INIT_FAILED_COULD_NOT_CREATE_ENTRY: { syncer 463 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncError error; syncer 470 chrome/browser/sync/glue/generic_change_processor.cc case syncer::WriteNode::INIT_FAILED_SET_PREDECESSOR: { syncer 471 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncError error; syncer 480 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncError error; syncer 495 chrome/browser/sync/glue/generic_change_processor.cc return syncer::SyncError(); syncer 501 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncError GenericChangeProcessor::HandleActionUpdate( syncer 502 chrome/browser/sync/glue/generic_change_processor.cc const syncer::SyncChange& change, syncer 504 chrome/browser/sync/glue/generic_change_processor.cc const syncer::ModelType& type, syncer 505 chrome/browser/sync/glue/generic_change_processor.cc const syncer::WriteTransaction& trans, syncer 506 chrome/browser/sync/glue/generic_change_processor.cc syncer::WriteNode* sync_node) { syncer 508 chrome/browser/sync/glue/generic_change_processor.cc syncer::BaseNode::InitByLookupResult result = syncer 511 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncDataLocal(change.sync_data()).GetTag()); syncer 512 chrome/browser/sync/glue/generic_change_processor.cc if (result != syncer::BaseNode::INIT_OK) { syncer 515 chrome/browser/sync/glue/generic_change_processor.cc if (result == syncer::BaseNode::INIT_FAILED_PRECONDITION) { syncer 516 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncError error; syncer 522 chrome/browser/sync/glue/generic_change_processor.cc } else if (result == syncer::BaseNode::INIT_FAILED_ENTRY_NOT_GOOD) { syncer 523 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncError error; syncer 529 chrome/browser/sync/glue/generic_change_processor.cc } else if (result == syncer::BaseNode::INIT_FAILED_ENTRY_IS_DEL) { syncer 530 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncError error; syncer 537 chrome/browser/sync/glue/generic_change_processor.cc syncer::Cryptographer* crypto = trans.GetCryptographer(); syncer 538 chrome/browser/sync/glue/generic_change_processor.cc syncer::ModelTypeSet encrypted_types(trans.GetEncryptedTypes()); syncer 545 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncError error; syncer 556 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncError error; syncer 567 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncError error; syncer 578 chrome/browser/sync/glue/generic_change_processor.cc syncer::SyncError error; syncer 602 chrome/browser/sync/glue/generic_change_processor.cc return syncer::SyncError(); syncer 606 chrome/browser/sync/glue/generic_change_processor.cc syncer::ModelType type, syncer 610 chrome/browser/sync/glue/generic_change_processor.cc DCHECK_NE(type, syncer::UNSPECIFIED); syncer 611 chrome/browser/sync/glue/generic_change_processor.cc std::string type_name = syncer::ModelTypeToString(type); syncer 615 chrome/browser/sync/glue/generic_change_processor.cc syncer::ReadTransaction trans(FROM_HERE, share_handle()); syncer 616 chrome/browser/sync/glue/generic_change_processor.cc syncer::ReadNode type_root_node(&trans); syncer 617 chrome/browser/sync/glue/generic_change_processor.cc if (type_root_node.InitByTagLookup(syncer::ModelTypeToRootTag(type)) != syncer 618 chrome/browser/sync/glue/generic_change_processor.cc syncer::BaseNode::INIT_OK) { syncer 629 chrome/browser/sync/glue/generic_change_processor.cc bool GenericChangeProcessor::CryptoReadyIfNecessary(syncer::ModelType type) { syncer 631 chrome/browser/sync/glue/generic_change_processor.cc DCHECK_NE(type, syncer::UNSPECIFIED); syncer 633 chrome/browser/sync/glue/generic_change_processor.cc syncer::ReadTransaction trans(FROM_HERE, share_handle()); syncer 634 chrome/browser/sync/glue/generic_change_processor.cc const syncer::ModelTypeSet encrypted_types = trans.GetEncryptedTypes(); syncer 643 chrome/browser/sync/glue/generic_change_processor.cc syncer::UserShare* GenericChangeProcessor::share_handle() const { syncer 21 chrome/browser/sync/glue/generic_change_processor.h namespace syncer { syncer 27 chrome/browser/sync/glue/generic_change_processor.h typedef std::vector<syncer::SyncData> SyncDataList; syncer 43 chrome/browser/sync/glue/generic_change_processor.h public syncer::SyncChangeProcessor, syncer 49 chrome/browser/sync/glue/generic_change_processor.h const base::WeakPtr<syncer::SyncableService>& local_service, syncer 50 chrome/browser/sync/glue/generic_change_processor.h const base::WeakPtr<syncer::SyncMergeResult>& merge_result, syncer 51 chrome/browser/sync/glue/generic_change_processor.h syncer::UserShare* user_share, syncer 52 chrome/browser/sync/glue/generic_change_processor.h scoped_ptr<syncer::AttachmentService> attachment_service); syncer 58 chrome/browser/sync/glue/generic_change_processor.h const syncer::BaseTransaction* trans, syncer 60 chrome/browser/sync/glue/generic_change_processor.h const syncer::ImmutableChangeRecordList& changes) OVERRIDE; syncer 66 chrome/browser/sync/glue/generic_change_processor.h virtual syncer::SyncError ProcessSyncChanges( syncer 68 chrome/browser/sync/glue/generic_change_processor.h const syncer::SyncChangeList& change_list) OVERRIDE; syncer 69 chrome/browser/sync/glue/generic_change_processor.h virtual syncer::SyncDataList GetAllSyncData(syncer::ModelType type) syncer 71 chrome/browser/sync/glue/generic_change_processor.h virtual syncer::SyncError UpdateDataTypeContext( syncer 72 chrome/browser/sync/glue/generic_change_processor.h syncer::ModelType type, syncer 77 chrome/browser/sync/glue/generic_change_processor.h virtual syncer::SyncError GetAllSyncDataReturnError( syncer 78 chrome/browser/sync/glue/generic_change_processor.h syncer::ModelType type, syncer 79 chrome/browser/sync/glue/generic_change_processor.h syncer::SyncDataList* data) const; syncer 82 chrome/browser/sync/glue/generic_change_processor.h virtual int GetSyncCountForType(syncer::ModelType type); syncer 86 chrome/browser/sync/glue/generic_change_processor.h virtual bool SyncModelHasUserCreatedNodes(syncer::ModelType type, syncer 88 chrome/browser/sync/glue/generic_change_processor.h virtual bool CryptoReadyIfNecessary(syncer::ModelType type); syncer 93 chrome/browser/sync/glue/generic_change_processor.h virtual syncer::UserShare* share_handle() const OVERRIDE; syncer 98 chrome/browser/sync/glue/generic_change_processor.h syncer::SyncError HandleActionAdd(const syncer::SyncChange& change, syncer 100 chrome/browser/sync/glue/generic_change_processor.h const syncer::ModelType& type, syncer 101 chrome/browser/sync/glue/generic_change_processor.h const syncer::WriteTransaction& trans, syncer 102 chrome/browser/sync/glue/generic_change_processor.h syncer::WriteNode* sync_node); syncer 103 chrome/browser/sync/glue/generic_change_processor.h syncer::SyncError HandleActionUpdate(const syncer::SyncChange& change, syncer 105 chrome/browser/sync/glue/generic_change_processor.h const syncer::ModelType& type, syncer 106 chrome/browser/sync/glue/generic_change_processor.h const syncer::WriteTransaction& trans, syncer 107 chrome/browser/sync/glue/generic_change_processor.h syncer::WriteNode* sync_node); syncer 110 chrome/browser/sync/glue/generic_change_processor.h const base::WeakPtr<syncer::SyncableService> local_service_; syncer 116 chrome/browser/sync/glue/generic_change_processor.h const base::WeakPtr<syncer::SyncMergeResult> merge_result_; syncer 122 chrome/browser/sync/glue/generic_change_processor.h syncer::SyncChangeList syncer_changes_; syncer 129 chrome/browser/sync/glue/generic_change_processor.h syncer::UserShare* const share_handle_; syncer 131 chrome/browser/sync/glue/generic_change_processor.h scoped_ptr<syncer::AttachmentService> attachment_service_; syncer 134 chrome/browser/sync/glue/generic_change_processor.h base::WeakPtrFactory<syncer::AttachmentService> syncer 136 chrome/browser/sync/glue/generic_change_processor.h syncer::AttachmentServiceProxy attachment_service_proxy_; syncer 32 chrome/browser/sync/glue/generic_change_processor_unittest.cc static const syncer::ModelType kType = syncer::PREFERENCES; syncer 42 chrome/browser/sync/glue/generic_change_processor_unittest.cc syncer::ModelTypeSet types = syncer::ProtocolTypes(); syncer 43 chrome/browser/sync/glue/generic_change_processor_unittest.cc for (syncer::ModelTypeSet::Iterator iter = types.First(); iter.Good(); syncer 45 chrome/browser/sync/glue/generic_change_processor_unittest.cc syncer::TestUserShare::CreateRoot(iter.Get(), syncer 54 chrome/browser/sync/glue/generic_change_processor_unittest.cc syncer::FakeAttachmentService::CreateForTest())); syncer 62 chrome/browser/sync/glue/generic_change_processor_unittest.cc syncer::WriteTransaction trans(FROM_HERE, user_share()); syncer 63 chrome/browser/sync/glue/generic_change_processor_unittest.cc syncer::ReadNode root(&trans); syncer 64 chrome/browser/sync/glue/generic_change_processor_unittest.cc ASSERT_EQ(syncer::BaseNode::INIT_OK, syncer 65 chrome/browser/sync/glue/generic_change_processor_unittest.cc root.InitByTagLookup(syncer::ModelTypeToRootTag(kType))); syncer 67 chrome/browser/sync/glue/generic_change_processor_unittest.cc syncer::WriteNode node(&trans); syncer 76 chrome/browser/sync/glue/generic_change_processor_unittest.cc syncer::UserShare* user_share() { syncer 83 chrome/browser/sync/glue/generic_change_processor_unittest.cc syncer::SyncMergeResult sync_merge_result_; syncer 84 chrome/browser/sync/glue/generic_change_processor_unittest.cc base::WeakPtrFactory<syncer::SyncMergeResult> merge_result_ptr_factory_; syncer 86 chrome/browser/sync/glue/generic_change_processor_unittest.cc syncer::FakeSyncableService fake_syncable_service_; syncer 87 chrome/browser/sync/glue/generic_change_processor_unittest.cc base::WeakPtrFactory<syncer::FakeSyncableService> syncer 91 chrome/browser/sync/glue/generic_change_processor_unittest.cc syncer::TestUserShare test_user_share_; syncer 105 chrome/browser/sync/glue/generic_change_processor_unittest.cc syncer::SyncDataList sync_data = syncer 120 chrome/browser/sync/glue/generic_change_processor_unittest.cc syncer::SyncChangeList change_list; syncer 127 chrome/browser/sync/glue/generic_change_processor_unittest.cc syncer::SyncChange(FROM_HERE, syncer 128 chrome/browser/sync/glue/generic_change_processor_unittest.cc syncer::SyncChange::ACTION_ADD, syncer 129 chrome/browser/sync/glue/generic_change_processor_unittest.cc syncer::SyncData::CreateLocalData( syncer 138 chrome/browser/sync/glue/generic_change_processor_unittest.cc syncer::SyncDataList password_list( syncer 139 chrome/browser/sync/glue/generic_change_processor_unittest.cc change_processor()->GetAllSyncData(syncer::PASSWORDS)); syncer 157 chrome/browser/sync/glue/generic_change_processor_unittest.cc syncer::ReadTransaction read_transaction(FROM_HERE, user_share()); syncer 158 chrome/browser/sync/glue/generic_change_processor_unittest.cc syncer::ReadNode node(&read_transaction); syncer 159 chrome/browser/sync/glue/generic_change_processor_unittest.cc ASSERT_EQ(node.InitByClientTagLookup(syncer::PASSWORDS, syncer 161 chrome/browser/sync/glue/generic_change_processor_unittest.cc syncer::BaseNode::INIT_OK); syncer 177 chrome/browser/sync/glue/generic_change_processor_unittest.cc syncer::SyncChangeList change_list; syncer 178 chrome/browser/sync/glue/generic_change_processor_unittest.cc syncer::SyncChangeList change_list2; syncer 185 chrome/browser/sync/glue/generic_change_processor_unittest.cc syncer::SyncChange(FROM_HERE, syncer 186 chrome/browser/sync/glue/generic_change_processor_unittest.cc syncer::SyncChange::ACTION_ADD, syncer 187 chrome/browser/sync/glue/generic_change_processor_unittest.cc syncer::SyncData::CreateLocalData( syncer 196 chrome/browser/sync/glue/generic_change_processor_unittest.cc syncer::SyncChange(FROM_HERE, syncer 197 chrome/browser/sync/glue/generic_change_processor_unittest.cc syncer::SyncChange::ACTION_UPDATE, syncer 198 chrome/browser/sync/glue/generic_change_processor_unittest.cc syncer::SyncData::CreateLocalData( syncer 209 chrome/browser/sync/glue/generic_change_processor_unittest.cc syncer::SyncDataList password_list( syncer 210 chrome/browser/sync/glue/generic_change_processor_unittest.cc change_processor()->GetAllSyncData(syncer::PASSWORDS)); syncer 228 chrome/browser/sync/glue/generic_change_processor_unittest.cc syncer::ReadTransaction read_transaction(FROM_HERE, user_share()); syncer 229 chrome/browser/sync/glue/generic_change_processor_unittest.cc syncer::ReadNode node(&read_transaction); syncer 230 chrome/browser/sync/glue/generic_change_processor_unittest.cc ASSERT_EQ(node.InitByClientTagLookup(syncer::PASSWORDS, syncer 232 chrome/browser/sync/glue/generic_change_processor_unittest.cc syncer::BaseNode::INIT_OK); syncer 20 chrome/browser/sync/glue/history_model_worker.cc const syncer::WorkCallback& work, syncer 22 chrome/browser/sync/glue/history_model_worker.cc syncer::SyncerError* error) syncer 39 chrome/browser/sync/glue/history_model_worker.cc syncer::WorkCallback work_; syncer 41 chrome/browser/sync/glue/history_model_worker.cc syncer::SyncerError* error_; syncer 68 chrome/browser/sync/glue/history_model_worker.cc const syncer::WorkCallback& work, syncer 71 chrome/browser/sync/glue/history_model_worker.cc syncer::SyncerError* error) { syncer 77 chrome/browser/sync/glue/history_model_worker.cc *error = syncer::CANNOT_DO_WORK; syncer 86 chrome/browser/sync/glue/history_model_worker.cc syncer::WorkerLoopDestructionObserver* observer) syncer 87 chrome/browser/sync/glue/history_model_worker.cc : syncer::ModelSafeWorker(observer), syncer 105 chrome/browser/sync/glue/history_model_worker.cc syncer::SyncerError HistoryModelWorker::DoWorkAndWaitUntilDoneImpl( syncer 106 chrome/browser/sync/glue/history_model_worker.cc const syncer::WorkCallback& work) { syncer 107 chrome/browser/sync/glue/history_model_worker.cc syncer::SyncerError error = syncer::UNSET; syncer 115 chrome/browser/sync/glue/history_model_worker.cc error = syncer::CANNOT_DO_WORK; syncer 120 chrome/browser/sync/glue/history_model_worker.cc syncer::ModelSafeGroup HistoryModelWorker::GetModelSafeGroup() { syncer 121 chrome/browser/sync/glue/history_model_worker.cc return syncer::GROUP_HISTORY; syncer 25 chrome/browser/sync/glue/history_model_worker.h class HistoryModelWorker : public syncer::ModelSafeWorker { syncer 29 chrome/browser/sync/glue/history_model_worker.h syncer::WorkerLoopDestructionObserver* observer); syncer 33 chrome/browser/sync/glue/history_model_worker.h virtual syncer::ModelSafeGroup GetModelSafeGroup() OVERRIDE; syncer 40 chrome/browser/sync/glue/history_model_worker.h virtual syncer::SyncerError DoWorkAndWaitUntilDoneImpl( syncer 41 chrome/browser/sync/glue/history_model_worker.h const syncer::WorkCallback& work) OVERRIDE; syncer 42 chrome/browser/sync/glue/non_frontend_data_type_controller.cc syncer::ModelType type_; syncer 45 chrome/browser/sync/glue/non_frontend_data_type_controller.cc syncer::WeakHandle<NonFrontendDataTypeController> controller_handle_; syncer 58 chrome/browser/sync/glue/non_frontend_data_type_controller.cc syncer::MakeWeakHandle(controller_->weak_ptr_factory_.GetWeakPtr()); syncer 102 chrome/browser/sync/glue/non_frontend_data_type_controller.cc result.error = syncer::SyncError(FROM_HERE, syncer 103 chrome/browser/sync/glue/non_frontend_data_type_controller.cc syncer::SyncError::UNRECOVERABLE_ERROR, syncer 148 chrome/browser/sync/glue/non_frontend_data_type_controller.cc syncer::ModelType type) syncer 185 chrome/browser/sync/glue/non_frontend_data_type_controller.cc syncer::SyncError(FROM_HERE, syncer 186 chrome/browser/sync/glue/non_frontend_data_type_controller.cc syncer::SyncError::DATATYPE_ERROR, syncer 201 chrome/browser/sync/glue/non_frontend_data_type_controller.cc syncer::SyncError(FROM_HERE, syncer 202 chrome/browser/sync/glue/non_frontend_data_type_controller.cc syncer::SyncError::DATATYPE_ERROR, syncer 209 chrome/browser/sync/glue/non_frontend_data_type_controller.cc model_load_callback.Run(type(), syncer::SyncError()); syncer 233 chrome/browser/sync/glue/non_frontend_data_type_controller.cc syncer::SyncError error( syncer 235 chrome/browser/sync/glue/non_frontend_data_type_controller.cc syncer::SyncError::DATATYPE_ERROR, syncer 237 chrome/browser/sync/glue/non_frontend_data_type_controller.cc syncer::SyncMergeResult local_merge_result(type()); syncer 241 chrome/browser/sync/glue/non_frontend_data_type_controller.cc syncer::SyncMergeResult(type())); syncer 278 chrome/browser/sync/glue/non_frontend_data_type_controller.cc syncer::SyncMergeResult(type()), syncer 279 chrome/browser/sync/glue/non_frontend_data_type_controller.cc syncer::SyncMergeResult(type())); syncer 288 chrome/browser/sync/glue/non_frontend_data_type_controller.cc return syncer::ModelTypeToString(type()); syncer 338 chrome/browser/sync/glue/non_frontend_data_type_controller.cc const syncer::SyncMergeResult& local_merge_result, syncer 339 chrome/browser/sync/glue/non_frontend_data_type_controller.cc const syncer::SyncMergeResult& syncer_merge_result) { syncer 358 chrome/browser/sync/glue/non_frontend_data_type_controller.cc const syncer::SyncMergeResult& local_merge_result, syncer 359 chrome/browser/sync/glue/non_frontend_data_type_controller.cc const syncer::SyncMergeResult& syncer_merge_result) { syncer 397 chrome/browser/sync/glue/non_frontend_data_type_controller.cc syncer::MODEL_TYPE_COUNT); syncer 28 chrome/browser/sync/glue/non_frontend_data_type_controller.h namespace syncer { syncer 62 chrome/browser/sync/glue/non_frontend_data_type_controller.h virtual syncer::ModelType type() const = 0; syncer 63 chrome/browser/sync/glue/non_frontend_data_type_controller.h virtual syncer::ModelSafeGroup model_safe_group() const = 0; syncer 75 chrome/browser/sync/glue/non_frontend_data_type_controller.h explicit AssociationResult(syncer::ModelType type); syncer 80 chrome/browser/sync/glue/non_frontend_data_type_controller.h syncer::SyncError error; syncer 81 chrome/browser/sync/glue/non_frontend_data_type_controller.h syncer::SyncMergeResult local_merge_result; syncer 82 chrome/browser/sync/glue/non_frontend_data_type_controller.h syncer::SyncMergeResult syncer_merge_result; syncer 136 chrome/browser/sync/glue/non_frontend_data_type_controller.h const syncer::SyncMergeResult& local_merge_result, syncer 137 chrome/browser/sync/glue/non_frontend_data_type_controller.h const syncer::SyncMergeResult& syncer_merge_result); syncer 143 chrome/browser/sync/glue/non_frontend_data_type_controller.h const syncer::SyncMergeResult& local_merge_result, syncer 144 chrome/browser/sync/glue/non_frontend_data_type_controller.h const syncer::SyncMergeResult& syncer_merge_result); syncer 26 chrome/browser/sync/glue/non_frontend_data_type_controller_mock.h MOCK_CONST_METHOD0(type, syncer::ModelType()); syncer 28 chrome/browser/sync/glue/non_frontend_data_type_controller_mock.h MOCK_CONST_METHOD0(model_safe_group, syncer::ModelSafeGroup()); syncer 43 chrome/browser/sync/glue/non_frontend_data_type_controller_mock.h const syncer::SyncMergeResult& local_merge_result, syncer 44 chrome/browser/sync/glue/non_frontend_data_type_controller_mock.h const syncer::SyncMergeResult& syncer_merge_result)); syncer 48 chrome/browser/sync/glue/non_frontend_data_type_controller_mock.h const syncer::SyncMergeResult& local_merge_result, syncer 49 chrome/browser/sync/glue/non_frontend_data_type_controller_mock.h const syncer::SyncMergeResult& syncer_merge_result)); syncer 30 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc using syncer::GROUP_DB; syncer 66 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc virtual syncer::ModelType type() const OVERRIDE { return syncer::BOOKMARKS; } syncer 67 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc virtual syncer::ModelSafeGroup model_safe_group() const OVERRIDE { syncer 68 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc return syncer::GROUP_DB; syncer 160 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc WillOnce(Return(syncer::SyncError())); syncer 173 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc WillOnce(Return(syncer::SyncError())); syncer 181 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc WillOnce(Return(syncer::SyncError())); syncer 243 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc WillOnce(Return(syncer::SyncError())); syncer 261 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc Return(syncer::SyncError(FROM_HERE, syncer 262 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc syncer::SyncError::DATATYPE_ERROR, syncer 264 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc syncer::BOOKMARKS))); syncer 319 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc WillOnce(Return(syncer::SyncError())); syncer 349 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc Return(syncer::SyncError()))); syncer 42 chrome/browser/sync/glue/non_ui_data_type_controller.cc syncer::SyncError(FROM_HERE, syncer 43 chrome/browser/sync/glue/non_ui_data_type_controller.cc syncer::SyncError::DATATYPE_ERROR, syncer 76 chrome/browser/sync/glue/non_ui_data_type_controller.cc model_load_callback.Run(type(), syncer::SyncError()); syncer 99 chrome/browser/sync/glue/non_ui_data_type_controller.cc syncer::SyncError error( syncer 101 chrome/browser/sync/glue/non_ui_data_type_controller.cc syncer::SyncError::DATATYPE_ERROR, syncer 104 chrome/browser/sync/glue/non_ui_data_type_controller.cc syncer::SyncMergeResult local_merge_result(type()); syncer 109 chrome/browser/sync/glue/non_ui_data_type_controller.cc syncer::SyncMergeResult(type())); syncer 139 chrome/browser/sync/glue/non_ui_data_type_controller.cc syncer::SyncMergeResult(type()), syncer 140 chrome/browser/sync/glue/non_ui_data_type_controller.cc syncer::SyncMergeResult(type())); syncer 173 chrome/browser/sync/glue/non_ui_data_type_controller.cc return syncer::ModelTypeToString(type()); syncer 201 chrome/browser/sync/glue/non_ui_data_type_controller.cc const syncer::SyncMergeResult& local_merge_result, syncer 202 chrome/browser/sync/glue/non_ui_data_type_controller.cc const syncer::SyncMergeResult& syncer_merge_result) { syncer 224 chrome/browser/sync/glue/non_ui_data_type_controller.cc const syncer::SyncMergeResult& local_merge_result, syncer 225 chrome/browser/sync/glue/non_ui_data_type_controller.cc const syncer::SyncMergeResult& syncer_merge_result) { syncer 273 chrome/browser/sync/glue/non_ui_data_type_controller.cc syncer::MODEL_TYPE_COUNT); syncer 287 chrome/browser/sync/glue/non_ui_data_type_controller.cc syncer::SyncError(FROM_HERE, syncer 288 chrome/browser/sync/glue/non_ui_data_type_controller.cc syncer::SyncError::DATATYPE_ERROR, syncer 321 chrome/browser/sync/glue/non_ui_data_type_controller.cc syncer::SyncMergeResult local_merge_result(type()); syncer 322 chrome/browser/sync/glue/non_ui_data_type_controller.cc syncer::SyncMergeResult syncer_merge_result(type()); syncer 323 chrome/browser/sync/glue/non_ui_data_type_controller.cc base::WeakPtrFactory<syncer::SyncMergeResult> weak_ptr_factory( syncer 338 chrome/browser/sync/glue/non_ui_data_type_controller.cc syncer::SyncError error(FROM_HERE, syncer 339 chrome/browser/sync/glue/non_ui_data_type_controller.cc syncer::SyncError::DATATYPE_ERROR, syncer 358 chrome/browser/sync/glue/non_ui_data_type_controller.cc syncer::SyncError error(FROM_HERE, syncer 359 chrome/browser/sync/glue/non_ui_data_type_controller.cc syncer::SyncError::UNRECOVERABLE_ERROR, syncer 370 chrome/browser/sync/glue/non_ui_data_type_controller.cc syncer::SyncDataList initial_sync_data; syncer 371 chrome/browser/sync/glue/non_ui_data_type_controller.cc syncer::SyncError error = syncer 389 chrome/browser/sync/glue/non_ui_data_type_controller.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 391 chrome/browser/sync/glue/non_ui_data_type_controller.cc scoped_ptr<syncer::SyncErrorFactory>( syncer 21 chrome/browser/sync/glue/non_ui_data_type_controller.h namespace syncer { syncer 41 chrome/browser/sync/glue/non_ui_data_type_controller.h virtual syncer::ModelType type() const = 0; syncer 42 chrome/browser/sync/glue/non_ui_data_type_controller.h virtual syncer::ModelSafeGroup model_safe_group() const = 0; syncer 83 chrome/browser/sync/glue/non_ui_data_type_controller.h const syncer::SyncMergeResult& local_merge_result, syncer 84 chrome/browser/sync/glue/non_ui_data_type_controller.h const syncer::SyncMergeResult& syncer_merge_result); syncer 90 chrome/browser/sync/glue/non_ui_data_type_controller.h const syncer::SyncMergeResult& local_merge_result, syncer 91 chrome/browser/sync/glue/non_ui_data_type_controller.h const syncer::SyncMergeResult& syncer_merge_result); syncer 162 chrome/browser/sync/glue/non_ui_data_type_controller.h base::WeakPtr<syncer::SyncableService> local_service_; syncer 25 chrome/browser/sync/glue/non_ui_data_type_controller_mock.h MOCK_CONST_METHOD0(type, syncer::ModelType()); syncer 27 chrome/browser/sync/glue/non_ui_data_type_controller_mock.h MOCK_CONST_METHOD0(model_safe_group, syncer::ModelSafeGroup()); syncer 43 chrome/browser/sync/glue/non_ui_data_type_controller_mock.h const syncer::SyncMergeResult& local_merge_result, syncer 44 chrome/browser/sync/glue/non_ui_data_type_controller_mock.h const syncer::SyncMergeResult& syncer_merge_result)); syncer 48 chrome/browser/sync/glue/non_ui_data_type_controller_mock.h const syncer::SyncMergeResult& local_merge_result, syncer 49 chrome/browser/sync/glue/non_ui_data_type_controller_mock.h const syncer::SyncMergeResult& syncer_merge_result)); syncer 32 chrome/browser/sync/glue/non_ui_data_type_controller_unittest.cc using syncer::AUTOFILL_PROFILE; syncer 76 chrome/browser/sync/glue/non_ui_data_type_controller_unittest.cc virtual syncer::ModelType type() const OVERRIDE { syncer 79 chrome/browser/sync/glue/non_ui_data_type_controller_unittest.cc virtual syncer::ModelSafeGroup model_safe_group() const OVERRIDE { syncer 80 chrome/browser/sync/glue/non_ui_data_type_controller_unittest.cc return syncer::GROUP_DB; syncer 160 chrome/browser/sync/glue/non_ui_data_type_controller_unittest.cc Return((syncer::UserShare*)NULL)); syncer 209 chrome/browser/sync/glue/non_ui_data_type_controller_unittest.cc .WillOnce(Return(syncer::SyncError())); syncer 254 chrome/browser/sync/glue/non_ui_data_type_controller_unittest.cc syncer::FakeSyncableService syncable_service_; syncer 258 chrome/browser/sync/glue/non_ui_data_type_controller_unittest.cc scoped_ptr<syncer::SyncChangeProcessor> saved_change_processor_; syncer 280 chrome/browser/sync/glue/non_ui_data_type_controller_unittest.cc .WillOnce(Return(syncer::SyncError())); syncer 320 chrome/browser/sync/glue/non_ui_data_type_controller_unittest.cc .WillOnce(Return(syncer::SyncError())); syncer 326 chrome/browser/sync/glue/non_ui_data_type_controller_unittest.cc syncer::SyncError(FROM_HERE, syncer 327 chrome/browser/sync/glue/non_ui_data_type_controller_unittest.cc syncer::SyncError::DATATYPE_ERROR, syncer 388 chrome/browser/sync/glue/non_ui_data_type_controller_unittest.cc Return(syncer::SyncError(FROM_HERE, syncer 389 chrome/browser/sync/glue/non_ui_data_type_controller_unittest.cc syncer::SyncError::DATATYPE_ERROR, syncer 428 chrome/browser/sync/glue/non_ui_data_type_controller_unittest.cc .WillOnce(Return(base::WeakPtr<syncer::SyncableService>())); syncer 31 chrome/browser/sync/glue/password_data_type_controller.cc syncer::ModelType PasswordDataTypeController::type() const { syncer 32 chrome/browser/sync/glue/password_data_type_controller.cc return syncer::PASSWORDS; syncer 35 chrome/browser/sync/glue/password_data_type_controller.cc syncer::ModelSafeGroup PasswordDataTypeController::model_safe_group() syncer 37 chrome/browser/sync/glue/password_data_type_controller.cc return syncer::GROUP_PASSWORD; syncer 27 chrome/browser/sync/glue/password_data_type_controller.h virtual syncer::ModelType type() const OVERRIDE; syncer 28 chrome/browser/sync/glue/password_data_type_controller.h virtual syncer::ModelSafeGroup model_safe_group() const OVERRIDE; syncer 18 chrome/browser/sync/glue/password_model_worker.cc syncer::WorkerLoopDestructionObserver* observer) syncer 19 chrome/browser/sync/glue/password_model_worker.cc : syncer::ModelSafeWorker(observer), syncer 31 chrome/browser/sync/glue/password_model_worker.cc syncer::SyncerError PasswordModelWorker::DoWorkAndWaitUntilDoneImpl( syncer 32 chrome/browser/sync/glue/password_model_worker.cc const syncer::WorkCallback& work) { syncer 33 chrome/browser/sync/glue/password_model_worker.cc syncer::SyncerError error = syncer::UNSET; syncer 39 chrome/browser/sync/glue/password_model_worker.cc return syncer::CANNOT_DO_WORK; syncer 49 chrome/browser/sync/glue/password_model_worker.cc error = syncer::CANNOT_DO_WORK; syncer 53 chrome/browser/sync/glue/password_model_worker.cc syncer::ModelSafeGroup PasswordModelWorker::GetModelSafeGroup() { syncer 54 chrome/browser/sync/glue/password_model_worker.cc return syncer::GROUP_PASSWORD; syncer 60 chrome/browser/sync/glue/password_model_worker.cc const syncer::WorkCallback& work, syncer 62 chrome/browser/sync/glue/password_model_worker.cc syncer::SyncerError *error) { syncer 26 chrome/browser/sync/glue/password_model_worker.h class PasswordModelWorker : public syncer::ModelSafeWorker { syncer 29 chrome/browser/sync/glue/password_model_worker.h syncer::WorkerLoopDestructionObserver* observer); syncer 33 chrome/browser/sync/glue/password_model_worker.h virtual syncer::ModelSafeGroup GetModelSafeGroup() OVERRIDE; syncer 37 chrome/browser/sync/glue/password_model_worker.h virtual syncer::SyncerError DoWorkAndWaitUntilDoneImpl( syncer 38 chrome/browser/sync/glue/password_model_worker.h const syncer::WorkCallback& work) OVERRIDE; syncer 44 chrome/browser/sync/glue/password_model_worker.h const syncer::WorkCallback& work, syncer 46 chrome/browser/sync/glue/password_model_worker.h syncer::SyncerError* error); syncer 27 chrome/browser/sync/glue/search_engine_data_type_controller.cc syncer::SEARCH_ENGINES, syncer 59 chrome/browser/sync/glue/search_engine_data_type_controller_unittest.cc syncable_service_.StopSyncing(syncer::SEARCH_ENGINES); syncer 75 chrome/browser/sync/glue/search_engine_data_type_controller_unittest.cc GetSyncableServiceForType(syncer::SEARCH_ENGINES)). syncer 86 chrome/browser/sync/glue/search_engine_data_type_controller_unittest.cc ActivateDataType(syncer::SEARCH_ENGINES, _, _)); syncer 91 chrome/browser/sync/glue/search_engine_data_type_controller_unittest.cc DeactivateDataType(syncer::SEARCH_ENGINES)); syncer 111 chrome/browser/sync/glue/search_engine_data_type_controller_unittest.cc syncer::FakeSyncableService syncable_service_; syncer 168 chrome/browser/sync/glue/search_engine_data_type_controller_unittest.cc syncer::SyncError(FROM_HERE, syncer 169 chrome/browser/sync/glue/search_engine_data_type_controller_unittest.cc syncer::SyncError::DATATYPE_ERROR, syncer 171 chrome/browser/sync/glue/search_engine_data_type_controller_unittest.cc syncer::SEARCH_ENGINES)); syncer 208 chrome/browser/sync/glue/session_change_processor.cc const syncer::BaseTransaction* trans, syncer 210 chrome/browser/sync/glue/session_change_processor.cc const syncer::ImmutableChangeRecordList& changes) { syncer 213 chrome/browser/sync/glue/session_change_processor.cc syncer::ReadNode root(trans); syncer 214 chrome/browser/sync/glue/session_change_processor.cc if (root.InitByTagLookup(syncer::ModelTypeToRootTag(syncer::SESSIONS)) != syncer 215 chrome/browser/sync/glue/session_change_processor.cc syncer::BaseNode::INIT_OK) { syncer 222 chrome/browser/sync/glue/session_change_processor.cc for (syncer::ChangeRecordList::const_iterator it = syncer 224 chrome/browser/sync/glue/session_change_processor.cc const syncer::ChangeRecord& change = *it; syncer 225 chrome/browser/sync/glue/session_change_processor.cc syncer::ChangeRecord::Action action(change.action); syncer 226 chrome/browser/sync/glue/session_change_processor.cc if (syncer::ChangeRecord::ACTION_DELETE == action) { syncer 230 chrome/browser/sync/glue/session_change_processor.cc DCHECK_EQ(syncer::GetModelTypeFromSpecifics(it->specifics), syncer 231 chrome/browser/sync/glue/session_change_processor.cc syncer::SESSIONS); syncer 252 chrome/browser/sync/glue/session_change_processor.cc syncer::ReadNode sync_node(trans); syncer 253 chrome/browser/sync/glue/session_change_processor.cc if (sync_node.InitByIdLookup(change.id) != syncer::BaseNode::INIT_OK) { syncer 261 chrome/browser/sync/glue/session_change_processor.cc DCHECK(syncer::SESSIONS == sync_node.GetModelType()); syncer 319 chrome/browser/sync/glue/session_change_processor.cc const syncer::ModelTypeSet types(syncer::SESSIONS); syncer 323 chrome/browser/sync/glue/session_change_processor.cc content::Details<const syncer::ModelTypeSet>(&types)); syncer 344 chrome/browser/sync/glue/session_change_processor.cc syncer::SyncError error; syncer 57 chrome/browser/sync/glue/session_change_processor.h const syncer::BaseTransaction* trans, syncer 59 chrome/browser/sync/glue/session_change_processor.h const syncer::ImmutableChangeRecordList& changes) OVERRIDE; syncer 37 chrome/browser/sync/glue/session_data_type_controller.cc syncer::ModelType SessionDataTypeController::type() const { syncer 38 chrome/browser/sync/glue/session_data_type_controller.cc return syncer::SESSIONS; syncer 30 chrome/browser/sync/glue/session_data_type_controller.h virtual syncer::ModelType type() const OVERRIDE; syncer 62 chrome/browser/sync/glue/session_model_associator.cc using syncer::SESSIONS; syncer 73 chrome/browser/sync/glue/session_model_associator.cc syncer::WriteTransaction* trans) { syncer 74 chrome/browser/sync/glue/session_model_associator.cc syncer::syncable::Directory* dir = trans->GetWrappedWriteTrans()->directory(); syncer 120 chrome/browser/sync/glue/session_model_associator.cc local_session_syncid_(syncer::kInvalidId), syncer 138 chrome/browser/sync/glue/session_model_associator.cc local_session_syncid_(syncer::kInvalidId), syncer 161 chrome/browser/sync/glue/session_model_associator.cc syncer::ReadTransaction trans(FROM_HERE, sync_service_->GetUserShare()); syncer 162 chrome/browser/sync/glue/session_model_associator.cc syncer::ReadNode root(&trans); syncer 163 chrome/browser/sync/glue/session_model_associator.cc if (root.InitByTagLookup(syncer::ModelTypeToRootTag(syncer::SESSIONS)) != syncer 164 chrome/browser/sync/glue/session_model_associator.cc syncer::BaseNode::INIT_OK) { syncer 176 chrome/browser/sync/glue/session_model_associator.cc syncer::ReadTransaction trans(FROM_HERE, sync_service_->GetUserShare()); syncer 177 chrome/browser/sync/glue/session_model_associator.cc syncer::ReadNode node(&trans); syncer 178 chrome/browser/sync/glue/session_model_associator.cc if (node.InitByClientTagLookup(SESSIONS, tag) != syncer::BaseNode::INIT_OK) syncer 179 chrome/browser/sync/glue/session_model_associator.cc return syncer::kInvalidId; syncer 184 chrome/browser/sync/glue/session_model_associator.cc syncer::SyncError* error) { syncer 294 chrome/browser/sync/glue/session_model_associator.cc syncer::WriteTransaction trans(FROM_HERE, sync_service_->GetUserShare()); syncer 295 chrome/browser/sync/glue/session_model_associator.cc syncer::WriteNode header_node(&trans); syncer 297 chrome/browser/sync/glue/session_model_associator.cc syncer::BaseNode::INIT_OK) { syncer 321 chrome/browser/sync/glue/session_model_associator.cc syncer::SyncError* error) { syncer 334 chrome/browser/sync/glue/session_model_associator.cc syncer::SyncError* error) { syncer 419 chrome/browser/sync/glue/session_model_associator.cc syncer::SyncError* error) { syncer 430 chrome/browser/sync/glue/session_model_associator.cc syncer::WriteTransaction trans(FROM_HERE, sync_service_->GetUserShare()); syncer 431 chrome/browser/sync/glue/session_model_associator.cc syncer::WriteNode tab_node(&trans); syncer 433 chrome/browser/sync/glue/session_model_associator.cc syncer::SESSIONS, syncer 435 chrome/browser/sync/glue/session_model_associator.cc syncer::BaseNode::INIT_OK) { syncer 572 chrome/browser/sync/glue/session_model_associator.cc syncer::SyncError SessionModelAssociator::AssociateModels( syncer 573 chrome/browser/sync/glue/session_model_associator.cc syncer::SyncMergeResult* local_merge_result, syncer 574 chrome/browser/sync/glue/session_model_associator.cc syncer::SyncMergeResult* syncer_merge_result) { syncer 576 chrome/browser/sync/glue/session_model_associator.cc syncer::SyncError error; syncer 582 chrome/browser/sync/glue/session_model_associator.cc local_session_syncid_ = syncer::kInvalidId; syncer 592 chrome/browser/sync/glue/session_model_associator.cc syncer::WriteTransaction trans(FROM_HERE, sync_service_->GetUserShare()); syncer 594 chrome/browser/sync/glue/session_model_associator.cc syncer::ReadNode root(&trans); syncer 595 chrome/browser/sync/glue/session_model_associator.cc if (root.InitByTagLookup(syncer::ModelTypeToRootTag(model_type())) != syncer 596 chrome/browser/sync/glue/session_model_associator.cc syncer::BaseNode::INIT_OK) { syncer 620 chrome/browser/sync/glue/session_model_associator.cc if (local_session_syncid_ == syncer::kInvalidId) { syncer 622 chrome/browser/sync/glue/session_model_associator.cc syncer::WriteNode write_node(&trans); syncer 623 chrome/browser/sync/glue/session_model_associator.cc syncer::WriteNode::InitUniqueByCreationResult result = syncer 625 chrome/browser/sync/glue/session_model_associator.cc if (result != syncer::WriteNode::INIT_SUCCESS) { syncer 670 chrome/browser/sync/glue/session_model_associator.cc syncer::SyncError SessionModelAssociator::DisassociateModels() { syncer 676 chrome/browser/sync/glue/session_model_associator.cc local_session_syncid_ = syncer::kInvalidId; syncer 686 chrome/browser/sync/glue/session_model_associator.cc return syncer::SyncError(); syncer 690 chrome/browser/sync/glue/session_model_associator.cc syncer::WriteTransaction* trans) { syncer 723 chrome/browser/sync/glue/session_model_associator.cc const syncer::ReadNode& root, syncer 724 chrome/browser/sync/glue/session_model_associator.cc syncer::WriteTransaction* trans, syncer 725 chrome/browser/sync/glue/session_model_associator.cc syncer::SyncError* error) { syncer 728 chrome/browser/sync/glue/session_model_associator.cc DCHECK_EQ(local_session_syncid_, syncer::kInvalidId); syncer 732 chrome/browser/sync/glue/session_model_associator.cc while (id != syncer::kInvalidId) { syncer 733 chrome/browser/sync/glue/session_model_associator.cc syncer::WriteNode sync_node(trans); syncer 734 chrome/browser/sync/glue/session_model_associator.cc if (sync_node.InitByIdLookup(id) != syncer::BaseNode::INIT_OK) { syncer 759 chrome/browser/sync/glue/session_model_associator.cc local_session_syncid_ == syncer::kInvalidId) { syncer 941 chrome/browser/sync/glue/session_model_associator.cc syncer::TimeToProtoTime( syncer 974 chrome/browser/sync/glue/session_model_associator.cc syncer::TimeToProtoTime( syncer 979 chrome/browser/sync/glue/session_model_associator.cc syncer::SyncError* error) { syncer 988 chrome/browser/sync/glue/session_model_associator.cc const syncer::ModelTypeSet types(syncer::SESSIONS); syncer 992 chrome/browser/sync/glue/session_model_associator.cc content::Details<const syncer::ModelTypeSet>(&types)); syncer 1082 chrome/browser/sync/glue/session_model_associator.cc syncer::WriteTransaction trans(FROM_HERE, sync_service_->GetUserShare()); syncer 1083 chrome/browser/sync/glue/session_model_associator.cc syncer::ReadNode root(&trans); syncer 1084 chrome/browser/sync/glue/session_model_associator.cc if (root.InitByTagLookup(syncer::ModelTypeToRootTag(syncer::SESSIONS)) != syncer 1085 chrome/browser/sync/glue/session_model_associator.cc syncer::BaseNode::INIT_OK) { syncer 1090 chrome/browser/sync/glue/session_model_associator.cc while (id != syncer::kInvalidId) { syncer 1091 chrome/browser/sync/glue/session_model_associator.cc syncer::WriteNode sync_node(&trans); syncer 1092 chrome/browser/sync/glue/session_model_associator.cc if (sync_node.InitByIdLookup(id) != syncer::BaseNode::INIT_OK) { syncer 1185 chrome/browser/sync/glue/session_model_associator.cc syncer::ReadTransaction trans(FROM_HERE, sync_service_->GetUserShare()); syncer 1186 chrome/browser/sync/glue/session_model_associator.cc const syncer::ModelTypeSet encrypted_types = trans.GetEncryptedTypes(); syncer 1199 chrome/browser/sync/glue/session_model_associator.cc syncer::WriteTransaction trans(FROM_HERE, sync_service_->GetUserShare()); syncer 1200 chrome/browser/sync/glue/session_model_associator.cc syncer::WriteNode tab_node(&trans); syncer 1201 chrome/browser/sync/glue/session_model_associator.cc if (tab_node.InitByClientTagLookup(syncer::SESSIONS, syncer 1203 chrome/browser/sync/glue/session_model_associator.cc syncer::BaseNode::INIT_OK) { syncer 34 chrome/browser/sync/glue/session_model_associator.h namespace syncer { syncer 97 chrome/browser/sync/glue/session_model_associator.h bool AssociateWindows(bool reload_tabs, syncer::SyncError* error); syncer 104 chrome/browser/sync/glue/session_model_associator.h syncer::SyncError* error); syncer 112 chrome/browser/sync/glue/session_model_associator.h bool AssociateTab(SyncedTabDelegate* const tab, syncer::SyncError* error); syncer 118 chrome/browser/sync/glue/session_model_associator.h virtual syncer::SyncError AssociateModels( syncer 119 chrome/browser/sync/glue/session_model_associator.h syncer::SyncMergeResult* local_merge_result, syncer 120 chrome/browser/sync/glue/session_model_associator.h syncer::SyncMergeResult* syncer_merge_result) OVERRIDE; syncer 124 chrome/browser/sync/glue/session_model_associator.h virtual syncer::SyncError DisassociateModels() OVERRIDE; syncer 167 chrome/browser/sync/glue/session_model_associator.h static syncer::ModelType model_type() { return syncer::SESSIONS; } syncer 259 chrome/browser/sync/glue/session_model_associator.h void InitializeCurrentMachineTag(syncer::WriteTransaction* trans); syncer 264 chrome/browser/sync/glue/session_model_associator.h bool UpdateSyncModelDataFromClient(syncer::SyncError* error); syncer 269 chrome/browser/sync/glue/session_model_associator.h bool UpdateAssociationsFromSyncModel(const syncer::ReadNode& root, syncer 270 chrome/browser/sync/glue/session_model_associator.h syncer::WriteTransaction* trans, syncer 271 chrome/browser/sync/glue/session_model_associator.h syncer::SyncError* error); syncer 284 chrome/browser/sync/glue/session_model_associator.h syncer::SyncError* error); syncer 20 chrome/browser/sync/glue/shared_change_processor.cc type_(syncer::UNSPECIFIED), syncer 48 chrome/browser/sync/glue/shared_change_processor.cc base::WeakPtr<syncer::SyncableService> SharedChangeProcessor::Connect( syncer 52 chrome/browser/sync/glue/shared_change_processor.cc syncer::ModelType type, syncer 53 chrome/browser/sync/glue/shared_change_processor.cc const base::WeakPtr<syncer::SyncMergeResult>& merge_result) { syncer 57 chrome/browser/sync/glue/shared_change_processor.cc DCHECK_NE(type, syncer::UNSPECIFIED); syncer 61 chrome/browser/sync/glue/shared_change_processor.cc return base::WeakPtr<syncer::SyncableService>(); syncer 65 chrome/browser/sync/glue/shared_change_processor.cc base::WeakPtr<syncer::SyncableService> local_service = syncer 70 chrome/browser/sync/glue/shared_change_processor.cc return base::WeakPtr<syncer::SyncableService>(); syncer 103 chrome/browser/sync/glue/shared_change_processor.cc syncer::SyncError SharedChangeProcessor::ProcessSyncChanges( syncer 105 chrome/browser/sync/glue/shared_change_processor.cc const syncer::SyncChangeList& list_of_changes) { syncer 112 chrome/browser/sync/glue/shared_change_processor.cc syncer::SyncError error(FROM_HERE, syncer 113 chrome/browser/sync/glue/shared_change_processor.cc syncer::SyncError::DATATYPE_ERROR, syncer 122 chrome/browser/sync/glue/shared_change_processor.cc syncer::SyncDataList SharedChangeProcessor::GetAllSyncData( syncer 123 chrome/browser/sync/glue/shared_change_processor.cc syncer::ModelType type) const { syncer 124 chrome/browser/sync/glue/shared_change_processor.cc syncer::SyncDataList data; syncer 129 chrome/browser/sync/glue/shared_change_processor.cc syncer::SyncError SharedChangeProcessor::GetAllSyncDataReturnError( syncer 130 chrome/browser/sync/glue/shared_change_processor.cc syncer::ModelType type, syncer 131 chrome/browser/sync/glue/shared_change_processor.cc syncer::SyncDataList* data) const { syncer 136 chrome/browser/sync/glue/shared_change_processor.cc syncer::SyncError error(FROM_HERE, syncer 137 chrome/browser/sync/glue/shared_change_processor.cc syncer::SyncError::DATATYPE_ERROR, syncer 145 chrome/browser/sync/glue/shared_change_processor.cc syncer::SyncError SharedChangeProcessor::UpdateDataTypeContext( syncer 146 chrome/browser/sync/glue/shared_change_processor.cc syncer::ModelType type, syncer 152 chrome/browser/sync/glue/shared_change_processor.cc syncer::SyncError error(FROM_HERE, syncer 153 chrome/browser/sync/glue/shared_change_processor.cc syncer::SyncError::DATATYPE_ERROR, syncer 185 chrome/browser/sync/glue/shared_change_processor.cc syncer::ModelSafeGroup model_safe_group) { syncer 198 chrome/browser/sync/glue/shared_change_processor.cc syncer::SyncError SharedChangeProcessor::CreateAndUploadError( syncer 205 chrome/browser/sync/glue/shared_change_processor.cc return syncer::SyncError(location, syncer 206 chrome/browser/sync/glue/shared_change_processor.cc syncer::SyncError::DATATYPE_ERROR, syncer 23 chrome/browser/sync/glue/shared_change_processor.h namespace syncer { syncer 27 chrome/browser/sync/glue/shared_change_processor.h typedef std::vector<syncer::SyncData> SyncDataList; syncer 63 chrome/browser/sync/glue/shared_change_processor.h virtual base::WeakPtr<syncer::SyncableService> Connect( syncer 67 chrome/browser/sync/glue/shared_change_processor.h syncer::ModelType type, syncer 68 chrome/browser/sync/glue/shared_change_processor.h const base::WeakPtr<syncer::SyncMergeResult>& merge_result); syncer 83 chrome/browser/sync/glue/shared_change_processor.h virtual syncer::SyncError ProcessSyncChanges( syncer 85 chrome/browser/sync/glue/shared_change_processor.h const syncer::SyncChangeList& change_list); syncer 86 chrome/browser/sync/glue/shared_change_processor.h virtual syncer::SyncDataList GetAllSyncData(syncer::ModelType type) const; syncer 87 chrome/browser/sync/glue/shared_change_processor.h virtual syncer::SyncError GetAllSyncDataReturnError( syncer 88 chrome/browser/sync/glue/shared_change_processor.h syncer::ModelType type, syncer 89 chrome/browser/sync/glue/shared_change_processor.h syncer::SyncDataList* data) const; syncer 90 chrome/browser/sync/glue/shared_change_processor.h virtual syncer::SyncError UpdateDataTypeContext(syncer::ModelType type, syncer 98 chrome/browser/sync/glue/shared_change_processor.h virtual void ActivateDataType(syncer::ModelSafeGroup model_safe_group); syncer 100 chrome/browser/sync/glue/shared_change_processor.h virtual syncer::SyncError CreateAndUploadError( syncer 118 chrome/browser/sync/glue/shared_change_processor.h syncer::ModelType type_; syncer 20 chrome/browser/sync/glue/shared_change_processor_mock.h MOCK_METHOD5(Connect, base::WeakPtr<syncer::SyncableService>( syncer 24 chrome/browser/sync/glue/shared_change_processor_mock.h syncer::ModelType, syncer 25 chrome/browser/sync/glue/shared_change_processor_mock.h const base::WeakPtr<syncer::SyncMergeResult>&)); syncer 28 chrome/browser/sync/glue/shared_change_processor_mock.h syncer::SyncError(const tracked_objects::Location&, syncer 29 chrome/browser/sync/glue/shared_change_processor_mock.h const syncer::SyncChangeList&)); syncer 31 chrome/browser/sync/glue/shared_change_processor_mock.h syncer::SyncError(syncer::ModelType, syncer 32 chrome/browser/sync/glue/shared_change_processor_mock.h syncer::SyncDataList*)); syncer 38 chrome/browser/sync/glue/shared_change_processor_mock.h void(syncer::ModelSafeGroup)); syncer 17 chrome/browser/sync/glue/shared_change_processor_ref.cc syncer::SyncError SharedChangeProcessorRef::ProcessSyncChanges( syncer 19 chrome/browser/sync/glue/shared_change_processor_ref.cc const syncer::SyncChangeList& change_list) { syncer 23 chrome/browser/sync/glue/shared_change_processor_ref.cc syncer::SyncDataList SharedChangeProcessorRef::GetAllSyncData( syncer 24 chrome/browser/sync/glue/shared_change_processor_ref.cc syncer::ModelType type) const { syncer 28 chrome/browser/sync/glue/shared_change_processor_ref.cc syncer::SyncError SharedChangeProcessorRef::UpdateDataTypeContext( syncer 29 chrome/browser/sync/glue/shared_change_processor_ref.cc syncer::ModelType type, syncer 34 chrome/browser/sync/glue/shared_change_processor_ref.cc syncer::SyncError SharedChangeProcessorRef::CreateAndUploadError( syncer 18 chrome/browser/sync/glue/shared_change_processor_ref.h class SharedChangeProcessorRef : public syncer::SyncChangeProcessor, syncer 19 chrome/browser/sync/glue/shared_change_processor_ref.h public syncer::SyncErrorFactory { syncer 27 chrome/browser/sync/glue/shared_change_processor_ref.h virtual syncer::SyncError ProcessSyncChanges( syncer 29 chrome/browser/sync/glue/shared_change_processor_ref.h const syncer::SyncChangeList& change_list) OVERRIDE; syncer 30 chrome/browser/sync/glue/shared_change_processor_ref.h virtual syncer::SyncDataList GetAllSyncData( syncer 31 chrome/browser/sync/glue/shared_change_processor_ref.h syncer::ModelType type) const OVERRIDE; syncer 32 chrome/browser/sync/glue/shared_change_processor_ref.h virtual syncer::SyncError UpdateDataTypeContext( syncer 33 chrome/browser/sync/glue/shared_change_processor_ref.h syncer::ModelType type, syncer 37 chrome/browser/sync/glue/shared_change_processor_ref.h virtual syncer::SyncError CreateAndUploadError( syncer 89 chrome/browser/sync/glue/shared_change_processor_unittest.cc db_syncable_service_.reset(new syncer::FakeSyncableService()); syncer 105 chrome/browser/sync/glue/shared_change_processor_unittest.cc EXPECT_CALL(sync_factory_, GetSyncableServiceForType(syncer::AUTOFILL)). syncer 111 chrome/browser/sync/glue/shared_change_processor_unittest.cc syncer::AUTOFILL, syncer 112 chrome/browser/sync/glue/shared_change_processor_unittest.cc base::WeakPtr<syncer::SyncMergeResult>())); syncer 126 chrome/browser/sync/glue/shared_change_processor_unittest.cc scoped_ptr<syncer::FakeSyncableService> db_syncable_service_; syncer 32 chrome/browser/sync/glue/sync_backend_host.h namespace syncer { syncer 49 chrome/browser/sync/glue/sync_backend_host.h typedef syncer::SyncStatus Status; syncer 64 chrome/browser/sync/glue/sync_backend_host.h const syncer::WeakHandle<syncer::JsEventHandler>& event_handler, syncer 66 chrome/browser/sync/glue/sync_backend_host.h const syncer::SyncCredentials& credentials, syncer 68 chrome/browser/sync/glue/sync_backend_host.h scoped_ptr<syncer::SyncManagerFactory> sync_manager_factory, syncer 69 chrome/browser/sync/glue/sync_backend_host.h scoped_ptr<syncer::UnrecoverableErrorHandler> unrecoverable_error_handler, syncer 70 chrome/browser/sync/glue/sync_backend_host.h syncer::ReportUnrecoverableErrorFunction syncer 72 chrome/browser/sync/glue/sync_backend_host.h syncer::NetworkResources* network_resources) = 0; syncer 76 chrome/browser/sync/glue/sync_backend_host.h const syncer::SyncCredentials& credentials) = 0; syncer 137 chrome/browser/sync/glue/sync_backend_host.h syncer::ConfigureReason reason, syncer 139 chrome/browser/sync/glue/sync_backend_host.h const base::Callback<void(syncer::ModelTypeSet, syncer 140 chrome/browser/sync/glue/sync_backend_host.h syncer::ModelTypeSet)>& ready_task, syncer 151 chrome/browser/sync/glue/sync_backend_host.h syncer::ModelType type, syncer::ModelSafeGroup group, syncer 155 chrome/browser/sync/glue/sync_backend_host.h virtual void DeactivateDataType(syncer::ModelType type) = 0; syncer 160 chrome/browser/sync/glue/sync_backend_host.h virtual syncer::UserShare* GetUserShare() const = 0; syncer 164 chrome/browser/sync/glue/sync_backend_host.h virtual syncer::SyncCoreProxy GetSyncCoreProxy() = 0; syncer 169 chrome/browser/sync/glue/sync_backend_host.h virtual syncer::sessions::SyncSessionSnapshot syncer 182 chrome/browser/sync/glue/sync_backend_host.h virtual syncer::PassphraseType GetPassphraseType() const = 0; syncer 192 chrome/browser/sync/glue/sync_backend_host.h const syncer::BaseTransaction* trans) const = 0; syncer 195 chrome/browser/sync/glue/sync_backend_host.h syncer::ModelSafeRoutingInfo* out) const = 0; syncer 53 chrome/browser/sync/glue/sync_backend_host_core.cc const syncer::ModelSafeRoutingInfo& routing_info, syncer 54 chrome/browser/sync/glue/sync_backend_host_core.cc const std::vector<scoped_refptr<syncer::ModelSafeWorker> >& workers, syncer 55 chrome/browser/sync/glue/sync_backend_host_core.cc const scoped_refptr<syncer::ExtensionsActivity>& extensions_activity, syncer 56 chrome/browser/sync/glue/sync_backend_host_core.cc const syncer::WeakHandle<syncer::JsEventHandler>& event_handler, syncer 58 chrome/browser/sync/glue/sync_backend_host_core.cc scoped_ptr<syncer::HttpPostProviderFactory> http_bridge_factory, syncer 59 chrome/browser/sync/glue/sync_backend_host_core.cc const syncer::SyncCredentials& credentials, syncer 61 chrome/browser/sync/glue/sync_backend_host_core.cc scoped_ptr<syncer::SyncManagerFactory> sync_manager_factory, syncer 65 chrome/browser/sync/glue/sync_backend_host_core.cc scoped_ptr<syncer::InternalComponentsFactory> internal_components_factory, syncer 66 chrome/browser/sync/glue/sync_backend_host_core.cc scoped_ptr<syncer::UnrecoverableErrorHandler> unrecoverable_error_handler, syncer 67 chrome/browser/sync/glue/sync_backend_host_core.cc syncer::ReportUnrecoverableErrorFunction syncer 117 chrome/browser/sync/glue/sync_backend_host_core.cc const syncer::sessions::SyncSessionSnapshot& snapshot) { syncer 128 chrome/browser/sync/glue/sync_backend_host_core.cc void SyncBackendHostCore::DoRefreshTypes(syncer::ModelTypeSet types) { syncer 139 chrome/browser/sync/glue/sync_backend_host_core.cc const syncer::WeakHandle<syncer::JsBackend>& js_backend, syncer 140 chrome/browser/sync/glue/sync_backend_host_core.cc const syncer::WeakHandle<syncer::DataTypeDebugInfoListener>& syncer 143 chrome/browser/sync/glue/sync_backend_host_core.cc const syncer::ModelTypeSet restored_types) { syncer 194 chrome/browser/sync/glue/sync_backend_host_core.cc syncer::ConfigureReason reason = syncer 196 chrome/browser/sync/glue/sync_backend_host_core.cc syncer::CONFIGURE_REASON_NEW_CLIENT : syncer 197 chrome/browser/sync/glue/sync_backend_host_core.cc syncer::CONFIGURE_REASON_NEWLY_ENABLED_DATA_TYPE; syncer 199 chrome/browser/sync/glue/sync_backend_host_core.cc syncer::ModelTypeSet new_control_types = registrar_->ConfigureDataTypes( syncer 200 chrome/browser/sync/glue/sync_backend_host_core.cc syncer::ControlTypes(), syncer::ModelTypeSet()); syncer 201 chrome/browser/sync/glue/sync_backend_host_core.cc syncer::ModelSafeRoutingInfo routing_info; syncer 204 chrome/browser/sync/glue/sync_backend_host_core.cc << syncer::ModelTypeSetToString(new_control_types) syncer 207 chrome/browser/sync/glue/sync_backend_host_core.cc syncer::ModelTypeSet types_to_purge = syncer 208 chrome/browser/sync/glue/sync_backend_host_core.cc syncer::Difference(syncer::ModelTypeSet::All(), syncer 215 chrome/browser/sync/glue/sync_backend_host_core.cc syncer::ModelTypeSet(), syncer 216 chrome/browser/sync/glue/sync_backend_host_core.cc syncer::ModelTypeSet(), syncer 225 chrome/browser/sync/glue/sync_backend_host_core.cc syncer::ConnectionStatus status) { syncer 235 chrome/browser/sync/glue/sync_backend_host_core.cc syncer::PassphraseRequiredReason reason, syncer 256 chrome/browser/sync/glue/sync_backend_host_core.cc syncer::BootstrapTokenType type) { syncer 267 chrome/browser/sync/glue/sync_backend_host_core.cc syncer::ModelTypeSet encrypted_types, syncer 290 chrome/browser/sync/glue/sync_backend_host_core.cc syncer::Cryptographer* cryptographer) { syncer 295 chrome/browser/sync/glue/sync_backend_host_core.cc syncer::PassphraseType type, base::Time passphrase_time) { syncer 303 chrome/browser/sync/glue/sync_backend_host_core.cc const syncer::SyncProtocolError& sync_error) { syncer 313 chrome/browser/sync/glue/sync_backend_host_core.cc void SyncBackendHostCore::OnMigrationRequested(syncer::ModelTypeSet types) { syncer 322 chrome/browser/sync/glue/sync_backend_host_core.cc const syncer::ProtocolEvent& event) { syncer 325 chrome/browser/sync/glue/sync_backend_host_core.cc scoped_ptr<syncer::ProtocolEvent> event_clone(event.Clone()); syncer 334 chrome/browser/sync/glue/sync_backend_host_core.cc syncer::InvalidatorState state) { syncer 340 chrome/browser/sync/glue/sync_backend_host_core.cc const syncer::ObjectIdInvalidationMap& invalidation_map) { syncer 413 chrome/browser/sync/glue/sync_backend_host_core.cc const syncer::SyncCredentials& credentials) { syncer 425 chrome/browser/sync/glue/sync_backend_host_core.cc const syncer::ModelSafeRoutingInfo& routing_info) { syncer 458 chrome/browser/sync/glue/sync_backend_host_core.cc if (!sync_manager_->InitialSyncEndedTypes().HasAll(syncer::ControlTypes())) { syncer 479 chrome/browser/sync/glue/sync_backend_host_core.cc registrar_->ActivateDataType(syncer::DEVICE_INFO, syncer 480 chrome/browser/sync/glue/sync_backend_host_core.cc syncer::GROUP_PASSIVE, syncer 484 chrome/browser/sync/glue/sync_backend_host_core.cc base::WeakPtr<syncer::SyncCore> sync_core = sync_manager_->GetSyncCore(); syncer 496 chrome/browser/sync/glue/sync_backend_host_core.cc syncer::SyncCoreProxy(base::MessageLoopProxy::current(), sync_core)); syncer 539 chrome/browser/sync/glue/sync_backend_host_core.cc registrar_->DeactivateDataType(syncer::DEVICE_INFO); syncer 564 chrome/browser/sync/glue/sync_backend_host_core.cc syncer::ConfigureReason reason, syncer 566 chrome/browser/sync/glue/sync_backend_host_core.cc const syncer::ModelSafeRoutingInfo routing_info, syncer 567 chrome/browser/sync/glue/sync_backend_host_core.cc const base::Callback<void(syncer::ModelTypeSet, syncer 568 chrome/browser/sync/glue/sync_backend_host_core.cc syncer::ModelTypeSet)>& ready_task, syncer 588 chrome/browser/sync/glue/sync_backend_host_core.cc syncer::ModelTypeSet types_to_config, syncer 589 chrome/browser/sync/glue/sync_backend_host_core.cc const base::Callback<void(syncer::ModelTypeSet, syncer 590 chrome/browser/sync/glue/sync_backend_host_core.cc syncer::ModelTypeSet)>& ready_task) { syncer 594 chrome/browser/sync/glue/sync_backend_host_core.cc syncer::ModelSafeRoutingInfo routing_info; syncer 596 chrome/browser/sync/glue/sync_backend_host_core.cc syncer::ModelTypeSet enabled_types = GetRoutingInfoTypes(routing_info); syncer 597 chrome/browser/sync/glue/sync_backend_host_core.cc enabled_types.RemoveAll(syncer::ProxyTypes()); syncer 599 chrome/browser/sync/glue/sync_backend_host_core.cc const syncer::ModelTypeSet failed_configuration_types = syncer 601 chrome/browser/sync/glue/sync_backend_host_core.cc const syncer::ModelTypeSet succeeded_configuration_types = syncer 626 chrome/browser/sync/glue/sync_backend_host_core.cc std::vector<syncer::ProtocolEvent*> buffered_events; syncer 630 chrome/browser/sync/glue/sync_backend_host_core.cc for (std::vector<syncer::ProtocolEvent*>::iterator it = syncer 26 chrome/browser/sync/glue/sync_backend_host_core.h const syncer::ModelSafeRoutingInfo& routing_info, syncer 27 chrome/browser/sync/glue/sync_backend_host_core.h const std::vector<scoped_refptr<syncer::ModelSafeWorker> >& workers, syncer 28 chrome/browser/sync/glue/sync_backend_host_core.h const scoped_refptr<syncer::ExtensionsActivity>& extensions_activity, syncer 29 chrome/browser/sync/glue/sync_backend_host_core.h const syncer::WeakHandle<syncer::JsEventHandler>& event_handler, syncer 31 chrome/browser/sync/glue/sync_backend_host_core.h scoped_ptr<syncer::HttpPostProviderFactory> http_bridge_factory, syncer 32 chrome/browser/sync/glue/sync_backend_host_core.h const syncer::SyncCredentials& credentials, syncer 34 chrome/browser/sync/glue/sync_backend_host_core.h scoped_ptr<syncer::SyncManagerFactory> sync_manager_factory, syncer 38 chrome/browser/sync/glue/sync_backend_host_core.h scoped_ptr<syncer::InternalComponentsFactory> syncer 40 chrome/browser/sync/glue/sync_backend_host_core.h scoped_ptr<syncer::UnrecoverableErrorHandler> syncer 42 chrome/browser/sync/glue/sync_backend_host_core.h syncer::ReportUnrecoverableErrorFunction syncer 48 chrome/browser/sync/glue/sync_backend_host_core.h syncer::ModelSafeRoutingInfo routing_info; syncer 49 chrome/browser/sync/glue/sync_backend_host_core.h std::vector<scoped_refptr<syncer::ModelSafeWorker> > workers; syncer 50 chrome/browser/sync/glue/sync_backend_host_core.h scoped_refptr<syncer::ExtensionsActivity> extensions_activity; syncer 51 chrome/browser/sync/glue/sync_backend_host_core.h syncer::WeakHandle<syncer::JsEventHandler> event_handler; syncer 54 chrome/browser/sync/glue/sync_backend_host_core.h scoped_ptr<syncer::HttpPostProviderFactory> http_bridge_factory; syncer 55 chrome/browser/sync/glue/sync_backend_host_core.h syncer::SyncCredentials credentials; syncer 57 chrome/browser/sync/glue/sync_backend_host_core.h scoped_ptr<syncer::SyncManagerFactory> sync_manager_factory; syncer 62 chrome/browser/sync/glue/sync_backend_host_core.h scoped_ptr<syncer::InternalComponentsFactory> internal_components_factory; syncer 63 chrome/browser/sync/glue/sync_backend_host_core.h scoped_ptr<syncer::UnrecoverableErrorHandler> unrecoverable_error_handler; syncer 64 chrome/browser/sync/glue/sync_backend_host_core.h syncer::ReportUnrecoverableErrorFunction syncer 73 chrome/browser/sync/glue/sync_backend_host_core.h syncer::ModelTypeSet to_download; syncer 74 chrome/browser/sync/glue/sync_backend_host_core.h syncer::ModelTypeSet to_purge; syncer 75 chrome/browser/sync/glue/sync_backend_host_core.h syncer::ModelTypeSet to_journal; syncer 76 chrome/browser/sync/glue/sync_backend_host_core.h syncer::ModelTypeSet to_unapply; syncer 81 chrome/browser/sync/glue/sync_backend_host_core.h public syncer::SyncEncryptionHandler::Observer, syncer 82 chrome/browser/sync/glue/sync_backend_host_core.h public syncer::SyncManager::Observer { syncer 93 chrome/browser/sync/glue/sync_backend_host_core.h const syncer::sessions::SyncSessionSnapshot& snapshot) OVERRIDE; syncer 95 chrome/browser/sync/glue/sync_backend_host_core.h const syncer::WeakHandle<syncer::JsBackend>& js_backend, syncer 96 chrome/browser/sync/glue/sync_backend_host_core.h const syncer::WeakHandle<syncer::DataTypeDebugInfoListener>& syncer 99 chrome/browser/sync/glue/sync_backend_host_core.h syncer::ModelTypeSet restored_types) OVERRIDE; syncer 101 chrome/browser/sync/glue/sync_backend_host_core.h syncer::ConnectionStatus status) OVERRIDE; syncer 103 chrome/browser/sync/glue/sync_backend_host_core.h const syncer::SyncProtocolError& sync_error) OVERRIDE; syncer 104 chrome/browser/sync/glue/sync_backend_host_core.h virtual void OnMigrationRequested(syncer::ModelTypeSet types) OVERRIDE; syncer 105 chrome/browser/sync/glue/sync_backend_host_core.h virtual void OnProtocolEvent(const syncer::ProtocolEvent& event) OVERRIDE; syncer 109 chrome/browser/sync/glue/sync_backend_host_core.h syncer::PassphraseRequiredReason reason, syncer 114 chrome/browser/sync/glue/sync_backend_host_core.h syncer::BootstrapTokenType type) OVERRIDE; syncer 116 chrome/browser/sync/glue/sync_backend_host_core.h syncer::ModelTypeSet encrypted_types, syncer 120 chrome/browser/sync/glue/sync_backend_host_core.h syncer::Cryptographer* cryptographer) OVERRIDE; syncer 121 chrome/browser/sync/glue/sync_backend_host_core.h virtual void OnPassphraseTypeChanged(syncer::PassphraseType type, syncer 125 chrome/browser/sync/glue/sync_backend_host_core.h void DoOnInvalidatorStateChange(syncer::InvalidatorState state); syncer 129 chrome/browser/sync/glue/sync_backend_host_core.h const syncer::ObjectIdInvalidationMap& invalidation_map); syncer 144 chrome/browser/sync/glue/sync_backend_host_core.h void DoUpdateCredentials(const syncer::SyncCredentials& credentials); syncer 148 chrome/browser/sync/glue/sync_backend_host_core.h void DoStartSyncing(const syncer::ModelSafeRoutingInfo& routing_info); syncer 162 chrome/browser/sync/glue/sync_backend_host_core.h void DoRefreshTypes(syncer::ModelTypeSet types); syncer 189 chrome/browser/sync/glue/sync_backend_host_core.h syncer::ConfigureReason reason, syncer 191 chrome/browser/sync/glue/sync_backend_host_core.h const syncer::ModelSafeRoutingInfo routing_info, syncer 192 chrome/browser/sync/glue/sync_backend_host_core.h const base::Callback<void(syncer::ModelTypeSet, syncer 193 chrome/browser/sync/glue/sync_backend_host_core.h syncer::ModelTypeSet)>& ready_task, syncer 196 chrome/browser/sync/glue/sync_backend_host_core.h syncer::ModelTypeSet types_to_config, syncer 197 chrome/browser/sync/glue/sync_backend_host_core.h const base::Callback<void(syncer::ModelTypeSet, syncer 198 chrome/browser/sync/glue/sync_backend_host_core.h syncer::ModelTypeSet)>& ready_task); syncer 206 chrome/browser/sync/glue/sync_backend_host_core.h syncer::SyncManager* sync_manager() { return sync_manager_.get(); } syncer 217 chrome/browser/sync/glue/sync_backend_host_core.h syncer::SyncCoreProxy GetSyncCoreProxy(); syncer 226 chrome/browser/sync/glue/sync_backend_host_core.h syncer::CancelationSignal* GetRequestContextCancelationSignal() { syncer 256 chrome/browser/sync/glue/sync_backend_host_core.h syncer::WeakHandle<SyncBackendHostImpl> host_; syncer 276 chrome/browser/sync/glue/sync_backend_host_core.h scoped_ptr<syncer::SyncManager> sync_manager_; syncer 281 chrome/browser/sync/glue/sync_backend_host_core.h syncer::WeakHandle<syncer::JsBackend> js_backend_; syncer 282 chrome/browser/sync/glue/sync_backend_host_core.h syncer::WeakHandle<syncer::DataTypeDebugInfoListener> debug_info_listener_; syncer 289 chrome/browser/sync/glue/sync_backend_host_core.h syncer::CancelationSignal release_request_context_signal_; syncer 290 chrome/browser/sync/glue/sync_backend_host_core.h syncer::CancelationSignal stop_syncing_signal_; syncer 41 chrome/browser/sync/glue/sync_backend_host_impl.cc using syncer::InternalComponentsFactory; syncer 58 chrome/browser/sync/glue/sync_backend_host_impl.cc cached_passphrase_type_(syncer::IMPLICIT_PASSPHRASE), syncer 79 chrome/browser/sync/glue/sync_backend_host_impl.cc const syncer::WeakHandle<syncer::JsEventHandler>& event_handler, syncer 81 chrome/browser/sync/glue/sync_backend_host_impl.cc const syncer::SyncCredentials& credentials, syncer 83 chrome/browser/sync/glue/sync_backend_host_impl.cc scoped_ptr<syncer::SyncManagerFactory> sync_manager_factory, syncer 84 chrome/browser/sync/glue/sync_backend_host_impl.cc scoped_ptr<syncer::UnrecoverableErrorHandler> unrecoverable_error_handler, syncer 85 chrome/browser/sync/glue/sync_backend_host_impl.cc syncer::ReportUnrecoverableErrorFunction syncer 87 chrome/browser/sync/glue/sync_backend_host_impl.cc syncer::NetworkResources* network_resources) { syncer 96 chrome/browser/sync/glue/sync_backend_host_impl.cc syncer::ModelSafeRoutingInfo routing_info; syncer 97 chrome/browser/sync/glue/sync_backend_host_impl.cc std::vector<scoped_refptr<syncer::ModelSafeWorker> > workers; syncer 135 chrome/browser/sync/glue/sync_backend_host_impl.cc new syncer::InternalComponentsFactoryImpl(factory_switches)).Pass(), syncer 142 chrome/browser/sync/glue/sync_backend_host_impl.cc const syncer::SyncCredentials& credentials) { syncer 153 chrome/browser/sync/glue/sync_backend_host_impl.cc syncer::ModelSafeRoutingInfo routing_info; syncer 178 chrome/browser/sync/glue/sync_backend_host_impl.cc DCHECK(cached_passphrase_type_ == syncer::KEYSTORE_PASSPHRASE || syncer 179 chrome/browser/sync/glue/sync_backend_host_impl.cc cached_passphrase_type_ == syncer::IMPLICIT_PASSPHRASE); syncer 292 chrome/browser/sync/glue/sync_backend_host_impl.cc syncer::ObjectIdSet()); syncer 297 chrome/browser/sync/glue/sync_backend_host_impl.cc syncer::ConfigureReason reason, syncer 299 chrome/browser/sync/glue/sync_backend_host_impl.cc const base::Callback<void(syncer::ModelTypeSet, syncer 300 chrome/browser/sync/glue/sync_backend_host_impl.cc syncer::ModelTypeSet)>& ready_task, syncer 323 chrome/browser/sync/glue/sync_backend_host_impl.cc syncer::ModelTypeSet previous_types = registrar_->GetLastConfiguredTypes(); syncer 325 chrome/browser/sync/glue/sync_backend_host_impl.cc syncer::ModelTypeSet disabled_types = syncer 327 chrome/browser/sync/glue/sync_backend_host_impl.cc syncer::ModelTypeSet fatal_types = syncer 329 chrome/browser/sync/glue/sync_backend_host_impl.cc syncer::ModelTypeSet crypto_types = syncer 333 chrome/browser/sync/glue/sync_backend_host_impl.cc syncer::ModelTypeSet active_types = syncer 335 chrome/browser/sync/glue/sync_backend_host_impl.cc syncer::ModelTypeSet clean_first_types = syncer 337 chrome/browser/sync/glue/sync_backend_host_impl.cc syncer::ModelTypeSet types_to_download = registrar_->ConfigureDataTypes( syncer 338 chrome/browser/sync/glue/sync_backend_host_impl.cc syncer::Union(active_types, clean_first_types), syncer 341 chrome/browser/sync/glue/sync_backend_host_impl.cc types_to_download.RemoveAll(syncer::ProxyTypes()); syncer 343 chrome/browser/sync/glue/sync_backend_host_impl.cc types_to_download.Put(syncer::NIGORI); syncer 367 chrome/browser/sync/glue/sync_backend_host_impl.cc syncer::ModelSafeRoutingInfo routing_info; syncer 370 chrome/browser/sync/glue/sync_backend_host_impl.cc syncer::ModelTypeSet current_types = registrar_->GetLastConfiguredTypes(); syncer 371 chrome/browser/sync/glue/sync_backend_host_impl.cc syncer::ModelTypeSet types_to_purge = syncer 372 chrome/browser/sync/glue/sync_backend_host_impl.cc syncer::Difference(previous_types, current_types); syncer 373 chrome/browser/sync/glue/sync_backend_host_impl.cc syncer::ModelTypeSet inactive_types = syncer 381 chrome/browser/sync/glue/sync_backend_host_impl.cc syncer::ModelTypeSet unapply_types = syncer 382 chrome/browser/sync/glue/sync_backend_host_impl.cc syncer::Union(crypto_types, clean_first_types); syncer 385 chrome/browser/sync/glue/sync_backend_host_impl.cc DCHECK(syncer::Intersection(current_types, fatal_types).Empty()); syncer 386 chrome/browser/sync/glue/sync_backend_host_impl.cc DCHECK(syncer::Intersection(current_types, crypto_types).Empty()); syncer 390 chrome/browser/sync/glue/sync_backend_host_impl.cc << syncer::ModelTypeSetToString(types_to_download) syncer 422 chrome/browser/sync/glue/sync_backend_host_impl.cc syncer::ModelType type, syncer::ModelSafeGroup group, syncer 427 chrome/browser/sync/glue/sync_backend_host_impl.cc void SyncBackendHostImpl::DeactivateDataType(syncer::ModelType type) { syncer 431 chrome/browser/sync/glue/sync_backend_host_impl.cc syncer::UserShare* SyncBackendHostImpl::GetUserShare() const { syncer 435 chrome/browser/sync/glue/sync_backend_host_impl.cc syncer::SyncCoreProxy SyncBackendHostImpl::GetSyncCoreProxy() { syncer 444 chrome/browser/sync/glue/sync_backend_host_impl.cc syncer::sessions::SyncSessionSnapshot syncer 458 chrome/browser/sync/glue/sync_backend_host_impl.cc syncer::PassphraseType SyncBackendHostImpl::GetPassphraseType() const { syncer 467 chrome/browser/sync/glue/sync_backend_host_impl.cc const syncer::BaseTransaction* trans) const { syncer 472 chrome/browser/sync/glue/sync_backend_host_impl.cc syncer::ModelSafeRoutingInfo* out) const { syncer 512 chrome/browser/sync/glue/sync_backend_host_impl.cc syncer::ConfigureReason reason, syncer 513 chrome/browser/sync/glue/sync_backend_host_impl.cc syncer::ModelTypeSet to_download, syncer 514 chrome/browser/sync/glue/sync_backend_host_impl.cc syncer::ModelTypeSet to_purge, syncer 515 chrome/browser/sync/glue/sync_backend_host_impl.cc syncer::ModelTypeSet to_journal, syncer 516 chrome/browser/sync/glue/sync_backend_host_impl.cc syncer::ModelTypeSet to_unapply, syncer 517 chrome/browser/sync/glue/sync_backend_host_impl.cc syncer::ModelTypeSet to_ignore, syncer 518 chrome/browser/sync/glue/sync_backend_host_impl.cc const syncer::ModelSafeRoutingInfo& routing_info, syncer 519 chrome/browser/sync/glue/sync_backend_host_impl.cc const base::Callback<void(syncer::ModelTypeSet, syncer 520 chrome/browser/sync/glue/sync_backend_host_impl.cc syncer::ModelTypeSet)>& ready_task, syncer 538 chrome/browser/sync/glue/sync_backend_host_impl.cc const syncer::ModelTypeSet enabled_types, syncer 539 chrome/browser/sync/glue/sync_backend_host_impl.cc const syncer::ModelTypeSet succeeded_configuration_types, syncer 540 chrome/browser/sync/glue/sync_backend_host_impl.cc const syncer::ModelTypeSet failed_configuration_types, syncer 541 chrome/browser/sync/glue/sync_backend_host_impl.cc const base::Callback<void(syncer::ModelTypeSet, syncer 542 chrome/browser/sync/glue/sync_backend_host_impl.cc syncer::ModelTypeSet)>& ready_task) { syncer 561 chrome/browser/sync/glue/sync_backend_host_impl.cc content::Details<const syncer::ModelTypeSet> state_details(details); syncer 562 chrome/browser/sync/glue/sync_backend_host_impl.cc const syncer::ModelTypeSet& types = *(state_details.ptr()); syncer 569 chrome/browser/sync/glue/sync_backend_host_impl.cc syncer::Experiments experiments; syncer 583 chrome/browser/sync/glue/sync_backend_host_impl.cc const syncer::WeakHandle<syncer::JsBackend> js_backend, syncer 584 chrome/browser/sync/glue/sync_backend_host_impl.cc const syncer::WeakHandle<syncer::DataTypeDebugInfoListener> syncer 586 chrome/browser/sync/glue/sync_backend_host_impl.cc syncer::SyncCoreProxy sync_core_proxy) { syncer 593 chrome/browser/sync/glue/sync_backend_host_impl.cc sync_core_proxy_.reset(new syncer::SyncCoreProxy(sync_core_proxy)); syncer 621 chrome/browser/sync/glue/sync_backend_host_impl.cc syncer::WeakHandle<syncer::JsBackend>(), syncer 622 chrome/browser/sync/glue/sync_backend_host_impl.cc syncer::WeakHandle<syncer::DataTypeDebugInfoListener>(), syncer 627 chrome/browser/sync/glue/sync_backend_host_impl.cc const syncer::sessions::SyncSessionSnapshot& snapshot) { syncer 653 chrome/browser/sync/glue/sync_backend_host_impl.cc syncer::BootstrapTokenType token_type) { syncer 656 chrome/browser/sync/glue/sync_backend_host_impl.cc if (token_type == syncer::PASSPHRASE_BOOTSTRAP_TOKEN) syncer 663 chrome/browser/sync/glue/sync_backend_host_impl.cc const syncer::SyncProtocolError& sync_error) { syncer 671 chrome/browser/sync/glue/sync_backend_host_impl.cc syncer::ModelTypeSet types) { syncer 679 chrome/browser/sync/glue/sync_backend_host_impl.cc syncer::InvalidatorState state) { syncer 688 chrome/browser/sync/glue/sync_backend_host_impl.cc const syncer::ObjectIdInvalidationMap& invalidation_map) { syncer 704 chrome/browser/sync/glue/sync_backend_host_impl.cc syncer::Nigori nigori; syncer 713 chrome/browser/sync/glue/sync_backend_host_impl.cc syncer::PassphraseRequiredReason reason, syncer 738 chrome/browser/sync/glue/sync_backend_host_impl.cc syncer::ModelTypeSet encrypted_types, syncer 757 chrome/browser/sync/glue/sync_backend_host_impl.cc syncer::PassphraseType type, syncer 761 chrome/browser/sync/glue/sync_backend_host_impl.cc << syncer::PassphraseTypeToString(type); syncer 767 chrome/browser/sync/glue/sync_backend_host_impl.cc syncer::ConnectionStatus status) { syncer 774 chrome/browser/sync/glue/sync_backend_host_impl.cc << syncer::ConnectionStatusToString(status); syncer 779 chrome/browser/sync/glue/sync_backend_host_impl.cc syncer::ProtocolEvent* event) { syncer 780 chrome/browser/sync/glue/sync_backend_host_impl.cc scoped_ptr<syncer::ProtocolEvent> scoped_event(event); syncer 44 chrome/browser/sync/glue/sync_backend_host_impl.h namespace syncer { syncer 66 chrome/browser/sync/glue/sync_backend_host_impl.h public syncer::InvalidationHandler { syncer 68 chrome/browser/sync/glue/sync_backend_host_impl.h typedef syncer::SyncStatus Status; syncer 83 chrome/browser/sync/glue/sync_backend_host_impl.h const syncer::WeakHandle<syncer::JsEventHandler>& event_handler, syncer 85 chrome/browser/sync/glue/sync_backend_host_impl.h const syncer::SyncCredentials& credentials, syncer 87 chrome/browser/sync/glue/sync_backend_host_impl.h scoped_ptr<syncer::SyncManagerFactory> sync_manager_factory, syncer 88 chrome/browser/sync/glue/sync_backend_host_impl.h scoped_ptr<syncer::UnrecoverableErrorHandler> unrecoverable_error_handler, syncer 89 chrome/browser/sync/glue/sync_backend_host_impl.h syncer::ReportUnrecoverableErrorFunction syncer 91 chrome/browser/sync/glue/sync_backend_host_impl.h syncer::NetworkResources* network_resources) OVERRIDE; syncer 93 chrome/browser/sync/glue/sync_backend_host_impl.h const syncer::SyncCredentials& credentials) OVERRIDE; syncer 104 chrome/browser/sync/glue/sync_backend_host_impl.h syncer::ConfigureReason reason, syncer 106 chrome/browser/sync/glue/sync_backend_host_impl.h const base::Callback<void(syncer::ModelTypeSet, syncer 107 chrome/browser/sync/glue/sync_backend_host_impl.h syncer::ModelTypeSet)>& ready_task, syncer 111 chrome/browser/sync/glue/sync_backend_host_impl.h syncer::ModelType type, syncer::ModelSafeGroup group, syncer 113 chrome/browser/sync/glue/sync_backend_host_impl.h virtual void DeactivateDataType(syncer::ModelType type) OVERRIDE; syncer 114 chrome/browser/sync/glue/sync_backend_host_impl.h virtual syncer::UserShare* GetUserShare() const OVERRIDE; syncer 115 chrome/browser/sync/glue/sync_backend_host_impl.h virtual syncer::SyncCoreProxy GetSyncCoreProxy() OVERRIDE; syncer 117 chrome/browser/sync/glue/sync_backend_host_impl.h virtual syncer::sessions::SyncSessionSnapshot syncer 121 chrome/browser/sync/glue/sync_backend_host_impl.h virtual syncer::PassphraseType GetPassphraseType() const OVERRIDE; syncer 124 chrome/browser/sync/glue/sync_backend_host_impl.h const syncer::BaseTransaction* trans) const OVERRIDE; syncer 126 chrome/browser/sync/glue/sync_backend_host_impl.h syncer::ModelSafeRoutingInfo* out) const OVERRIDE; syncer 142 chrome/browser/sync/glue/sync_backend_host_impl.h syncer::ConfigureReason reason, syncer 143 chrome/browser/sync/glue/sync_backend_host_impl.h syncer::ModelTypeSet to_download, syncer 144 chrome/browser/sync/glue/sync_backend_host_impl.h syncer::ModelTypeSet to_purge, syncer 145 chrome/browser/sync/glue/sync_backend_host_impl.h syncer::ModelTypeSet to_journal, syncer 146 chrome/browser/sync/glue/sync_backend_host_impl.h syncer::ModelTypeSet to_unapply, syncer 147 chrome/browser/sync/glue/sync_backend_host_impl.h syncer::ModelTypeSet to_ignore, syncer 148 chrome/browser/sync/glue/sync_backend_host_impl.h const syncer::ModelSafeRoutingInfo& routing_info, syncer 149 chrome/browser/sync/glue/sync_backend_host_impl.h const base::Callback<void(syncer::ModelTypeSet, syncer 150 chrome/browser/sync/glue/sync_backend_host_impl.h syncer::ModelTypeSet)>& ready_task, syncer 155 chrome/browser/sync/glue/sync_backend_host_impl.h const syncer::ModelTypeSet enabled_types, syncer 156 chrome/browser/sync/glue/sync_backend_host_impl.h const syncer::ModelTypeSet succeeded_configuration_types, syncer 157 chrome/browser/sync/glue/sync_backend_host_impl.h const syncer::ModelTypeSet failed_configuration_types, syncer 158 chrome/browser/sync/glue/sync_backend_host_impl.h const base::Callback<void(syncer::ModelTypeSet, syncer 159 chrome/browser/sync/glue/sync_backend_host_impl.h syncer::ModelTypeSet)>& ready_task); syncer 164 chrome/browser/sync/glue/sync_backend_host_impl.h const syncer::WeakHandle<syncer::JsBackend> js_backend, syncer 165 chrome/browser/sync/glue/sync_backend_host_impl.h const syncer::WeakHandle<syncer::DataTypeDebugInfoListener> syncer 167 chrome/browser/sync/glue/sync_backend_host_impl.h syncer::SyncCoreProxy sync_core_proxy); syncer 176 chrome/browser/sync/glue/sync_backend_host_impl.h void HandleProtocolEventOnFrontendLoop(syncer::ProtocolEvent* event); syncer 194 chrome/browser/sync/glue/sync_backend_host_impl.h const syncer::sessions::SyncSessionSnapshot& snapshot); syncer 207 chrome/browser/sync/glue/sync_backend_host_impl.h syncer::BootstrapTokenType token_type); syncer 214 chrome/browser/sync/glue/sync_backend_host_impl.h const syncer::SyncProtocolError& sync_error); syncer 217 chrome/browser/sync/glue/sync_backend_host_impl.h void HandleMigrationRequestedOnFrontendLoop(const syncer::ModelTypeSet types); syncer 232 chrome/browser/sync/glue/sync_backend_host_impl.h void NotifyPassphraseRequired(syncer::PassphraseRequiredReason reason, syncer 241 chrome/browser/sync/glue/sync_backend_host_impl.h syncer::ModelTypeSet encrypted_types, syncer 253 chrome/browser/sync/glue/sync_backend_host_impl.h syncer::PassphraseType type, syncer 261 chrome/browser/sync/glue/sync_backend_host_impl.h syncer::ConnectionStatus status); syncer 271 chrome/browser/sync/glue/sync_backend_host_impl.h syncer::InvalidatorState state) OVERRIDE; syncer 273 chrome/browser/sync/glue/sync_backend_host_impl.h const syncer::ObjectIdInvalidationMap& invalidation_map) OVERRIDE; syncer 293 chrome/browser/sync/glue/sync_backend_host_impl.h scoped_ptr<syncer::SyncCoreProxy> sync_core_proxy_; syncer 320 chrome/browser/sync/glue/sync_backend_host_impl.h syncer::PassphraseType cached_passphrase_type_; syncer 327 chrome/browser/sync/glue/sync_backend_host_impl.h syncer::sessions::SyncSessionSnapshot last_snapshot_; syncer 47 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc using syncer::FakeSyncManager; syncer 48 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc using syncer::SyncManager; syncer 73 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc void(const syncer::WeakHandle<syncer::JsBackend>&, syncer 74 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc const syncer::WeakHandle<syncer::DataTypeDebugInfoListener>&, syncer 78 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc void(syncer::ConnectionStatus status)); syncer 82 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc void(syncer::PassphraseRequiredReason, syncer 86 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc void(syncer::ModelTypeSet, bool)); syncer 88 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc MOCK_METHOD1(OnMigrationNeededForTypes, void(syncer::ModelTypeSet)); syncer 89 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc MOCK_METHOD1(OnProtocolEvent, void(const syncer::ProtocolEvent&)); syncer 91 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc void(const syncer::Experiments&)); syncer 93 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc void(const syncer::SyncProtocolError& sync_error)); syncer 97 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc class FakeSyncManagerFactory : public syncer::SyncManagerFactory { syncer 114 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc void set_initial_sync_ended_types(syncer::ModelTypeSet types) { syncer 118 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc void set_progress_marker_types(syncer::ModelTypeSet types) { syncer 122 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc void set_configure_fail_types(syncer::ModelTypeSet types) { syncer 127 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc syncer::ModelTypeSet initial_sync_ended_types_; syncer 128 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc syncer::ModelTypeSet progress_marker_types_; syncer 129 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc syncer::ModelTypeSet configure_fail_types_; syncer 156 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc enabled_types_.PutAll(syncer::ControlTypes()); syncer 160 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc enabled_types_.Put(syncer::BOOKMARKS); syncer 161 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc enabled_types_.Put(syncer::NIGORI); syncer 162 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc enabled_types_.Put(syncer::DEVICE_INFO); syncer 163 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc enabled_types_.Put(syncer::PREFERENCES); syncer 164 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc enabled_types_.Put(syncer::SESSIONS); syncer 165 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc enabled_types_.Put(syncer::SEARCH_ENGINES); syncer 166 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc enabled_types_.Put(syncer::AUTOFILL); syncer 167 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc enabled_types_.Put(syncer::EXPERIMENTS); syncer 169 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc network_resources_.reset(new syncer::HttpBridgeNetworkResources()); syncer 196 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc syncer::WeakHandle<syncer::JsEventHandler>(), syncer 200 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc fake_manager_factory_.PassAs<syncer::SyncManagerFactory>(), syncer 201 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc scoped_ptr<syncer::UnrecoverableErrorHandler>( syncer 202 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc new syncer::TestUnrecoverableErrorHandler).Pass(), syncer 217 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc void ConfigureDataTypes(syncer::ModelTypeSet types_to_add, syncer 218 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc syncer::ModelTypeSet types_to_remove) { syncer 228 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc types_to_add.PutAll(syncer::ControlTypes()); syncer 230 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc syncer::CONFIGURE_REASON_RECONFIGURATION, syncer 243 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc void IssueRefreshRequest(syncer::ModelTypeSet types) { syncer 249 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc content::Details<syncer::ModelTypeSet>(&types)); syncer 253 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc void DownloadReady(syncer::ModelTypeSet succeeded_types, syncer 254 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc syncer::ModelTypeSet failed_types) { syncer 264 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc syncer::SyncCredentials credentials_; syncer 271 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc syncer::ModelTypeSet enabled_types_; syncer 272 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc scoped_ptr<syncer::NetworkResources> network_resources_; syncer 280 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc syncer::ControlTypes())); syncer 282 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc syncer::ControlTypes())); syncer 284 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc syncer::ControlTypes()).Empty()); syncer 291 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc syncer::ControlTypes())); syncer 293 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc syncer::ControlTypes())); syncer 295 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc syncer::ControlTypes()).Empty()); syncer 298 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc Difference(syncer::ModelTypeSet::All(), syncer 301 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc Difference(enabled_types_, syncer::ControlTypes()))); syncer 312 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc syncer::ModelTypeSet all_but_nigori = enabled_types_; syncer 324 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc Difference(syncer::ModelTypeSet::All(), syncer 341 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc syncer::ModelTypeSet partial_types(syncer::NIGORI, syncer::BOOKMARKS); syncer 342 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc syncer::ModelTypeSet full_types = syncer 351 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc syncer::ModelTypeSet(syncer::NIGORI))); syncer 354 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc Union(full_types, syncer::ModelTypeSet(syncer::NIGORI)))); syncer 357 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc Difference(partial_types, syncer::ModelTypeSet(syncer::NIGORI)))); syncer 361 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc Difference(syncer::ModelTypeSet::All(), syncer 381 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc syncer::ModelTypeSet(syncer::ControlTypes()))); syncer 383 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc syncer::ModelTypeSet(syncer::ControlTypes()))); syncer 386 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc Difference(enabled_types_, syncer::ControlTypes()))); syncer 394 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc Difference(syncer::ModelTypeSet::All(), syncer 397 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc Difference(enabled_types_, syncer::ControlTypes()))); syncer 411 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc Difference(syncer::ModelTypeSet::All(), syncer 422 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc syncer::ModelTypeSet disabled_types(syncer::BOOKMARKS, syncer 423 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc syncer::SEARCH_ENGINES); syncer 424 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc syncer::ModelTypeSet old_types = enabled_types_; syncer 427 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc Difference(syncer::ModelTypeSet::All(), syncer 446 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc Difference(syncer::ModelTypeSet::All(), syncer 457 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc syncer::ModelTypeSet new_types(syncer::EXTENSIONS, syncer 458 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc syncer::APPS); syncer 461 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc Difference(syncer::ModelTypeSet::All(), syncer 467 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc Union(new_types, syncer::ModelTypeSet(syncer::NIGORI)))); syncer 482 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc Difference(syncer::ModelTypeSet::All(), syncer 493 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc syncer::ModelTypeSet old_types = enabled_types_; syncer 494 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc syncer::ModelTypeSet disabled_types(syncer::BOOKMARKS, syncer 495 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc syncer::SEARCH_ENGINES); syncer 496 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc syncer::ModelTypeSet new_types(syncer::EXTENSIONS, syncer 497 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc syncer::APPS); syncer 501 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc Difference(syncer::ModelTypeSet::All(), syncer 507 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc Union(new_types, syncer::ModelTypeSet(syncer::NIGORI)))); syncer 522 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc syncer::ModelTypeSet old_types = enabled_types_; syncer 525 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc syncer::ModelTypeSet new_types(syncer::APP_SETTINGS, syncer 526 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc syncer::EXTENSION_SETTINGS); syncer 540 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc Difference(syncer::ModelTypeSet::All(), syncer 543 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc Union(new_types, syncer::ModelTypeSet(syncer::NIGORI)))); syncer 559 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc syncer::ModelTypeSet old_types = enabled_types_; syncer 560 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc syncer::ModelTypeSet partial_types(syncer::NIGORI, syncer::BOOKMARKS); syncer 561 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc syncer::ModelTypeSet full_types = syncer 565 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc syncer::ModelTypeSet new_types(syncer::APP_SETTINGS, syncer 566 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc syncer::EXTENSION_SETTINGS); syncer 573 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc syncer::ModelTypeSet(syncer::NIGORI))); syncer 576 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc syncer::Union(full_types, syncer::ModelTypeSet(syncer::NIGORI)))); syncer 579 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc partial_types, syncer::ModelTypeSet(syncer::NIGORI))))); syncer 584 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc Difference(syncer::ModelTypeSet::All(), syncer 613 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc syncer::ModelTypeSet new_types(syncer::EXPERIMENTS, syncer::DEVICE_INFO); syncer 614 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc syncer::ModelTypeSet old_types = syncer 624 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc Difference(syncer::ModelTypeSet::All(), syncer 639 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc fake_manager_factory_->set_configure_fail_types(syncer::ModelTypeSet::All()); syncer 647 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc syncer::ModelTypeSet set1 = syncer::ModelTypeSet::All(); syncer 652 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc syncer::ModelTypeSet set2 = syncer::ModelTypeSet(syncer::SESSIONS); syncer 660 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc syncer::ModelTypeSet set1 = syncer::ModelTypeSet::All(); syncer 675 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc syncer::ModelTypeSet types = syncer::ModelTypeSet::All(); syncer 687 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc EXPECT_EQ(syncer::CONFIGURE_REASON_NEW_CLIENT, syncer 697 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc EXPECT_EQ(syncer::CONFIGURE_REASON_NEWLY_ENABLED_DATA_TYPE, syncer 17 chrome/browser/sync/glue/sync_backend_host_mock.cc const syncer::WeakHandle<syncer::JsEventHandler>& event_handler, syncer 19 chrome/browser/sync/glue/sync_backend_host_mock.cc const syncer::SyncCredentials& credentials, syncer 21 chrome/browser/sync/glue/sync_backend_host_mock.cc scoped_ptr<syncer::SyncManagerFactory> sync_manager_factory, syncer 22 chrome/browser/sync/glue/sync_backend_host_mock.cc scoped_ptr<syncer::UnrecoverableErrorHandler> unrecoverable_error_handler, syncer 23 chrome/browser/sync/glue/sync_backend_host_mock.cc syncer::ReportUnrecoverableErrorFunction syncer 25 chrome/browser/sync/glue/sync_backend_host_mock.cc syncer::NetworkResources* network_resources) { syncer 27 chrome/browser/sync/glue/sync_backend_host_mock.cc syncer::WeakHandle<syncer::JsBackend>(), syncer 28 chrome/browser/sync/glue/sync_backend_host_mock.cc syncer::WeakHandle<syncer::DataTypeDebugInfoListener>(), syncer 33 chrome/browser/sync/glue/sync_backend_host_mock.cc const syncer::SyncCredentials& credentials) {} syncer 55 chrome/browser/sync/glue/sync_backend_host_mock.cc syncer::ConfigureReason reason, syncer 57 chrome/browser/sync/glue/sync_backend_host_mock.cc const base::Callback<void(syncer::ModelTypeSet, syncer 58 chrome/browser/sync/glue/sync_backend_host_mock.cc syncer::ModelTypeSet)>& ready_task, syncer 64 chrome/browser/sync/glue/sync_backend_host_mock.cc syncer::ModelType type, syncer::ModelSafeGroup group, syncer 66 chrome/browser/sync/glue/sync_backend_host_mock.cc void SyncBackendHostMock::DeactivateDataType(syncer::ModelType type) {} syncer 68 chrome/browser/sync/glue/sync_backend_host_mock.cc syncer::UserShare* SyncBackendHostMock::GetUserShare() const { syncer 72 chrome/browser/sync/glue/sync_backend_host_mock.cc syncer::SyncCoreProxy SyncBackendHostMock::GetSyncCoreProxy() { syncer 73 chrome/browser/sync/glue/sync_backend_host_mock.cc return syncer::SyncCoreProxy::GetInvalidSyncCoreProxyForTest(); syncer 80 chrome/browser/sync/glue/sync_backend_host_mock.cc syncer::sessions::SyncSessionSnapshot syncer 82 chrome/browser/sync/glue/sync_backend_host_mock.cc return syncer::sessions::SyncSessionSnapshot(); syncer 93 chrome/browser/sync/glue/sync_backend_host_mock.cc syncer::PassphraseType SyncBackendHostMock::GetPassphraseType() const { syncer 94 chrome/browser/sync/glue/sync_backend_host_mock.cc return syncer::IMPLICIT_PASSPHRASE; syncer 102 chrome/browser/sync/glue/sync_backend_host_mock.cc const syncer::BaseTransaction* trans) const { syncer 107 chrome/browser/sync/glue/sync_backend_host_mock.cc syncer::ModelSafeRoutingInfo* out) const {} syncer 31 chrome/browser/sync/glue/sync_backend_host_mock.h const syncer::WeakHandle<syncer::JsEventHandler>& event_handler, syncer 33 chrome/browser/sync/glue/sync_backend_host_mock.h const syncer::SyncCredentials& credentials, syncer 35 chrome/browser/sync/glue/sync_backend_host_mock.h scoped_ptr<syncer::SyncManagerFactory> sync_manager_factory, syncer 36 chrome/browser/sync/glue/sync_backend_host_mock.h scoped_ptr<syncer::UnrecoverableErrorHandler> unrecoverable_error_handler, syncer 37 chrome/browser/sync/glue/sync_backend_host_mock.h syncer::ReportUnrecoverableErrorFunction syncer 39 chrome/browser/sync/glue/sync_backend_host_mock.h syncer::NetworkResources* network_resources) OVERRIDE; syncer 42 chrome/browser/sync/glue/sync_backend_host_mock.h const syncer::SyncCredentials& credentials) OVERRIDE; syncer 60 chrome/browser/sync/glue/sync_backend_host_mock.h syncer::ConfigureReason reason, syncer 62 chrome/browser/sync/glue/sync_backend_host_mock.h const base::Callback<void(syncer::ModelTypeSet, syncer 63 chrome/browser/sync/glue/sync_backend_host_mock.h syncer::ModelTypeSet)>& ready_task, syncer 69 chrome/browser/sync/glue/sync_backend_host_mock.h syncer::ModelType type, syncer::ModelSafeGroup group, syncer 71 chrome/browser/sync/glue/sync_backend_host_mock.h virtual void DeactivateDataType(syncer::ModelType type) OVERRIDE; syncer 73 chrome/browser/sync/glue/sync_backend_host_mock.h virtual syncer::UserShare* GetUserShare() const OVERRIDE; syncer 75 chrome/browser/sync/glue/sync_backend_host_mock.h virtual syncer::SyncCoreProxy GetSyncCoreProxy() OVERRIDE; syncer 79 chrome/browser/sync/glue/sync_backend_host_mock.h virtual syncer::sessions::SyncSessionSnapshot syncer 86 chrome/browser/sync/glue/sync_backend_host_mock.h virtual syncer::PassphraseType GetPassphraseType() const OVERRIDE; syncer 91 chrome/browser/sync/glue/sync_backend_host_mock.h const syncer::BaseTransaction* trans) const OVERRIDE; syncer 94 chrome/browser/sync/glue/sync_backend_host_mock.h syncer::ModelSafeRoutingInfo* out) const OVERRIDE; syncer 33 chrome/browser/sync/glue/sync_backend_registrar.cc bool IsOnThreadForGroup(syncer::ModelType type, syncer::ModelSafeGroup group) { syncer 35 chrome/browser/sync/glue/sync_backend_registrar.cc case syncer::GROUP_PASSIVE: syncer 37 chrome/browser/sync/glue/sync_backend_registrar.cc case syncer::GROUP_UI: syncer 39 chrome/browser/sync/glue/sync_backend_registrar.cc case syncer::GROUP_DB: syncer 41 chrome/browser/sync/glue/sync_backend_registrar.cc case syncer::GROUP_FILE: syncer 43 chrome/browser/sync/glue/sync_backend_registrar.cc case syncer::GROUP_HISTORY: syncer 45 chrome/browser/sync/glue/sync_backend_registrar.cc return type == syncer::TYPED_URLS; syncer 46 chrome/browser/sync/glue/sync_backend_registrar.cc case syncer::GROUP_PASSWORD: syncer 48 chrome/browser/sync/glue/sync_backend_registrar.cc return type == syncer::PASSWORDS; syncer 49 chrome/browser/sync/glue/sync_backend_registrar.cc case syncer::MODEL_SAFE_GROUP_COUNT: syncer 72 chrome/browser/sync/glue/sync_backend_registrar.cc workers_[syncer::GROUP_DB] = new DatabaseModelWorker(this); syncer 73 chrome/browser/sync/glue/sync_backend_registrar.cc workers_[syncer::GROUP_DB]->RegisterForLoopDestruction(); syncer 75 chrome/browser/sync/glue/sync_backend_registrar.cc workers_[syncer::GROUP_FILE] = new FileModelWorker(this); syncer 76 chrome/browser/sync/glue/sync_backend_registrar.cc workers_[syncer::GROUP_FILE]->RegisterForLoopDestruction(); syncer 78 chrome/browser/sync/glue/sync_backend_registrar.cc workers_[syncer::GROUP_UI] = new UIModelWorker(this); syncer 79 chrome/browser/sync/glue/sync_backend_registrar.cc workers_[syncer::GROUP_UI]->RegisterForLoopDestruction(); syncer 84 chrome/browser/sync/glue/sync_backend_registrar.cc workers_[syncer::GROUP_PASSIVE] = syncer 85 chrome/browser/sync/glue/sync_backend_registrar.cc new syncer::PassiveModelWorker(sync_thread_->message_loop(), this); syncer 86 chrome/browser/sync/glue/sync_backend_registrar.cc workers_[syncer::GROUP_PASSIVE]->RegisterForLoopDestruction(); syncer 91 chrome/browser/sync/glue/sync_backend_registrar.cc workers_[syncer::GROUP_HISTORY] = syncer 93 chrome/browser/sync/glue/sync_backend_registrar.cc workers_[syncer::GROUP_HISTORY]->RegisterForLoopDestruction(); syncer 100 chrome/browser/sync/glue/sync_backend_registrar.cc workers_[syncer::GROUP_PASSWORD] = syncer 102 chrome/browser/sync/glue/sync_backend_registrar.cc workers_[syncer::GROUP_PASSWORD]->RegisterForLoopDestruction(); syncer 106 chrome/browser/sync/glue/sync_backend_registrar.cc void SyncBackendRegistrar::SetInitialTypes(syncer::ModelTypeSet initial_types) { syncer 116 chrome/browser/sync/glue/sync_backend_registrar.cc for (syncer::ModelTypeSet::Iterator it = initial_types.First(); syncer 118 chrome/browser/sync/glue/sync_backend_registrar.cc routing_info_[it.Get()] = syncer::GROUP_PASSIVE; syncer 121 chrome/browser/sync/glue/sync_backend_registrar.cc if (!workers_.count(syncer::GROUP_HISTORY)) { syncer 122 chrome/browser/sync/glue/sync_backend_registrar.cc LOG_IF(WARNING, initial_types.Has(syncer::TYPED_URLS)) syncer 124 chrome/browser/sync/glue/sync_backend_registrar.cc routing_info_.erase(syncer::TYPED_URLS); syncer 127 chrome/browser/sync/glue/sync_backend_registrar.cc if (!workers_.count(syncer::GROUP_PASSWORD)) { syncer 128 chrome/browser/sync/glue/sync_backend_registrar.cc LOG_IF(WARNING, initial_types.Has(syncer::PASSWORDS)) syncer 130 chrome/browser/sync/glue/sync_backend_registrar.cc routing_info_.erase(syncer::PASSWORDS); syncer 133 chrome/browser/sync/glue/sync_backend_registrar.cc last_configured_types_ = syncer::GetRoutingInfoTypes(routing_info_); syncer 139 chrome/browser/sync/glue/sync_backend_registrar.cc return routing_info_.find(syncer::NIGORI) != routing_info_.end(); syncer 142 chrome/browser/sync/glue/sync_backend_registrar.cc syncer::ModelTypeSet SyncBackendRegistrar::ConfigureDataTypes( syncer 143 chrome/browser/sync/glue/sync_backend_registrar.cc syncer::ModelTypeSet types_to_add, syncer 144 chrome/browser/sync/glue/sync_backend_registrar.cc syncer::ModelTypeSet types_to_remove) { syncer 146 chrome/browser/sync/glue/sync_backend_registrar.cc syncer::ModelTypeSet filtered_types_to_add = types_to_add; syncer 147 chrome/browser/sync/glue/sync_backend_registrar.cc if (workers_.count(syncer::GROUP_HISTORY) == 0) { syncer 149 chrome/browser/sync/glue/sync_backend_registrar.cc filtered_types_to_add.Remove(syncer::TYPED_URLS); syncer 151 chrome/browser/sync/glue/sync_backend_registrar.cc if (workers_.count(syncer::GROUP_PASSWORD) == 0) { syncer 153 chrome/browser/sync/glue/sync_backend_registrar.cc filtered_types_to_add.Remove(syncer::PASSWORDS); syncer 157 chrome/browser/sync/glue/sync_backend_registrar.cc syncer::ModelTypeSet newly_added_types; syncer 158 chrome/browser/sync/glue/sync_backend_registrar.cc for (syncer::ModelTypeSet::Iterator it = syncer 164 chrome/browser/sync/glue/sync_backend_registrar.cc routing_info_[it.Get()] = syncer::GROUP_PASSIVE; syncer 168 chrome/browser/sync/glue/sync_backend_registrar.cc for (syncer::ModelTypeSet::Iterator it = types_to_remove.First(); syncer 175 chrome/browser/sync/glue/sync_backend_registrar.cc << syncer::ModelTypeSetToString(types_to_add) syncer 177 chrome/browser/sync/glue/sync_backend_registrar.cc << syncer::ModelTypeSetToString(newly_added_types) syncer 179 chrome/browser/sync/glue/sync_backend_registrar.cc << syncer::ModelTypeSetToString(types_to_remove) syncer 181 chrome/browser/sync/glue/sync_backend_registrar.cc <<syncer::ModelSafeRoutingInfoToString(routing_info_); syncer 182 chrome/browser/sync/glue/sync_backend_registrar.cc last_configured_types_ = syncer::GetRoutingInfoTypes(routing_info_); syncer 187 chrome/browser/sync/glue/sync_backend_registrar.cc syncer::ModelTypeSet SyncBackendRegistrar::GetLastConfiguredTypes() const { syncer 201 chrome/browser/sync/glue/sync_backend_registrar.cc syncer::ModelType type, syncer 202 chrome/browser/sync/glue/sync_backend_registrar.cc syncer::ModelSafeGroup group, syncer 204 chrome/browser/sync/glue/sync_backend_registrar.cc syncer::UserShare* user_share) { syncer 205 chrome/browser/sync/glue/sync_backend_registrar.cc DVLOG(1) << "Activate: " << syncer::ModelTypeToString(type); syncer 210 chrome/browser/sync/glue/sync_backend_registrar.cc syncer::ModelSafeRoutingInfo::iterator i = routing_info_.find(type); syncer 212 chrome/browser/sync/glue/sync_backend_registrar.cc DCHECK_EQ(i->second, syncer::GROUP_PASSIVE); syncer 226 chrome/browser/sync/glue/sync_backend_registrar.cc void SyncBackendRegistrar::DeactivateDataType(syncer::ModelType type) { syncer 227 chrome/browser/sync/glue/sync_backend_registrar.cc DVLOG(1) << "Deactivate: " << syncer::ModelTypeToString(type); syncer 238 chrome/browser/sync/glue/sync_backend_registrar.cc syncer::ModelType type) const { syncer 243 chrome/browser/sync/glue/sync_backend_registrar.cc syncer::ModelType model_type, syncer 245 chrome/browser/sync/glue/sync_backend_registrar.cc const syncer::BaseTransaction* trans, syncer 246 chrome/browser/sync/glue/sync_backend_registrar.cc const syncer::ImmutableChangeRecordList& changes) { syncer 254 chrome/browser/sync/glue/sync_backend_registrar.cc void SyncBackendRegistrar::OnChangesComplete(syncer::ModelType model_type) { syncer 266 chrome/browser/sync/glue/sync_backend_registrar.cc std::vector<scoped_refptr<syncer::ModelSafeWorker> >* out) { syncer 276 chrome/browser/sync/glue/sync_backend_registrar.cc syncer::ModelSafeRoutingInfo* out) { syncer 278 chrome/browser/sync/glue/sync_backend_registrar.cc syncer::ModelSafeRoutingInfo copy(routing_info_); syncer 283 chrome/browser/sync/glue/sync_backend_registrar.cc syncer::ModelType type) const { syncer 296 chrome/browser/sync/glue/sync_backend_registrar.cc syncer::ModelType type) const { syncer 298 chrome/browser/sync/glue/sync_backend_registrar.cc std::map<syncer::ModelType, ChangeProcessor*>::const_iterator syncer 314 chrome/browser/sync/glue/sync_backend_registrar.cc syncer::ModelType model_type) const { syncer 324 chrome/browser/sync/glue/sync_backend_registrar.cc void SyncBackendRegistrar::OnWorkerLoopDestroyed(syncer::ModelSafeGroup group) { syncer 329 chrome/browser/sync/glue/sync_backend_registrar.cc syncer::ModelSafeGroup group) { syncer 333 chrome/browser/sync/glue/sync_backend_registrar.cc void SyncBackendRegistrar::RemoveWorker(syncer::ModelSafeGroup group) { syncer 26 chrome/browser/sync/glue/sync_backend_registrar.h namespace syncer { syncer 38 chrome/browser/sync/glue/sync_backend_registrar.h class SyncBackendRegistrar : public syncer::SyncManager::ChangeDelegate, syncer 39 chrome/browser/sync/glue/sync_backend_registrar.h public syncer::WorkerLoopDestructionObserver { syncer 63 chrome/browser/sync/glue/sync_backend_registrar.h void SetInitialTypes(syncer::ModelTypeSet initial_types); syncer 74 chrome/browser/sync/glue/sync_backend_registrar.h syncer::ModelTypeSet ConfigureDataTypes( syncer 75 chrome/browser/sync/glue/sync_backend_registrar.h syncer::ModelTypeSet types_to_add, syncer 76 chrome/browser/sync/glue/sync_backend_registrar.h syncer::ModelTypeSet types_to_remove); syncer 81 chrome/browser/sync/glue/sync_backend_registrar.h syncer::ModelTypeSet GetLastConfiguredTypes() const; syncer 89 chrome/browser/sync/glue/sync_backend_registrar.h void ActivateDataType(syncer::ModelType type, syncer 90 chrome/browser/sync/glue/sync_backend_registrar.h syncer::ModelSafeGroup group, syncer 92 chrome/browser/sync/glue/sync_backend_registrar.h syncer::UserShare* user_share); syncer 97 chrome/browser/sync/glue/sync_backend_registrar.h void DeactivateDataType(syncer::ModelType type); syncer 101 chrome/browser/sync/glue/sync_backend_registrar.h bool IsTypeActivatedForTest(syncer::ModelType type) const; syncer 106 chrome/browser/sync/glue/sync_backend_registrar.h syncer::ModelType model_type, syncer 108 chrome/browser/sync/glue/sync_backend_registrar.h const syncer::BaseTransaction* trans, syncer 109 chrome/browser/sync/glue/sync_backend_registrar.h const syncer::ImmutableChangeRecordList& changes) OVERRIDE; syncer 110 chrome/browser/sync/glue/sync_backend_registrar.h virtual void OnChangesComplete(syncer::ModelType model_type) OVERRIDE; syncer 112 chrome/browser/sync/glue/sync_backend_registrar.h void GetWorkers(std::vector<scoped_refptr<syncer::ModelSafeWorker> >* out); syncer 113 chrome/browser/sync/glue/sync_backend_registrar.h void GetModelSafeRoutingInfo(syncer::ModelSafeRoutingInfo* out); syncer 116 chrome/browser/sync/glue/sync_backend_registrar.h virtual void OnWorkerLoopDestroyed(syncer::ModelSafeGroup group) OVERRIDE; syncer 127 chrome/browser/sync/glue/sync_backend_registrar.h typedef std::map<syncer::ModelSafeGroup, syncer 128 chrome/browser/sync/glue/sync_backend_registrar.h scoped_refptr<syncer::ModelSafeWorker> > WorkerMap; syncer 129 chrome/browser/sync/glue/sync_backend_registrar.h typedef std::map<syncer::ModelType, ChangeProcessor*> syncer 134 chrome/browser/sync/glue/sync_backend_registrar.h void OnWorkerUnregistrationDone(syncer::ModelSafeGroup group); syncer 136 chrome/browser/sync/glue/sync_backend_registrar.h void RemoveWorker(syncer::ModelSafeGroup group); syncer 140 chrome/browser/sync/glue/sync_backend_registrar.h ChangeProcessor* GetProcessor(syncer::ModelType type) const; syncer 145 chrome/browser/sync/glue/sync_backend_registrar.h ChangeProcessor* GetProcessorUnsafe(syncer::ModelType type) const; syncer 150 chrome/browser/sync/glue/sync_backend_registrar.h syncer::ModelType model_type) const; syncer 171 chrome/browser/sync/glue/sync_backend_registrar.h syncer::ModelSafeRoutingInfo routing_info_; syncer 178 chrome/browser/sync/glue/sync_backend_registrar.h syncer::ModelTypeSet last_configured_types_; syncer 181 chrome/browser/sync/glue/sync_backend_registrar.h std::vector<scoped_refptr<syncer::ModelSafeWorker> > stopped_workers_; syncer 25 chrome/browser/sync/glue/sync_backend_registrar_unittest.cc using syncer::FIRST_REAL_MODEL_TYPE; syncer 26 chrome/browser/sync/glue/sync_backend_registrar_unittest.cc using syncer::AUTOFILL; syncer 27 chrome/browser/sync/glue/sync_backend_registrar_unittest.cc using syncer::BOOKMARKS; syncer 28 chrome/browser/sync/glue/sync_backend_registrar_unittest.cc using syncer::PREFERENCES; syncer 29 chrome/browser/sync/glue/sync_backend_registrar_unittest.cc using syncer::THEMES; syncer 30 chrome/browser/sync/glue/sync_backend_registrar_unittest.cc using syncer::NIGORI; syncer 31 chrome/browser/sync/glue/sync_backend_registrar_unittest.cc using syncer::PASSWORDS; syncer 32 chrome/browser/sync/glue/sync_backend_registrar_unittest.cc using syncer::MODEL_TYPE_COUNT; syncer 33 chrome/browser/sync/glue/sync_backend_registrar_unittest.cc using syncer::ModelTypeSet; syncer 34 chrome/browser/sync/glue/sync_backend_registrar_unittest.cc using syncer::ModelType; syncer 35 chrome/browser/sync/glue/sync_backend_registrar_unittest.cc using syncer::ModelTypeFromInt; syncer 39 chrome/browser/sync/glue/sync_backend_registrar_unittest.cc syncer::ImmutableChangeRecordList()); syncer 48 chrome/browser/sync/glue/sync_backend_registrar_unittest.cc syncer::GROUP_DB, syncer 51 chrome/browser/sync/glue/sync_backend_registrar_unittest.cc syncer::ModelSafeRoutingInfo expected_routing_info; syncer 52 chrome/browser/sync/glue/sync_backend_registrar_unittest.cc expected_routing_info[AUTOFILL] = syncer::GROUP_DB; syncer 94 chrome/browser/sync/glue/sync_backend_registrar_unittest.cc const syncer::ModelSafeRoutingInfo& expected_routing_info) { syncer 95 chrome/browser/sync/glue/sync_backend_registrar_unittest.cc syncer::ModelSafeRoutingInfo routing_info; syncer 110 chrome/browser/sync/glue/sync_backend_registrar_unittest.cc syncer::TestUserShare test_user_share_; syncer 125 chrome/browser/sync/glue/sync_backend_registrar_unittest.cc std::vector<scoped_refptr<syncer::ModelSafeWorker> > workers; syncer 129 chrome/browser/sync/glue/sync_backend_registrar_unittest.cc ExpectRoutingInfo(registrar_.get(), syncer::ModelSafeRoutingInfo()); syncer 138 chrome/browser/sync/glue/sync_backend_registrar_unittest.cc std::vector<scoped_refptr<syncer::ModelSafeWorker> > workers; syncer 143 chrome/browser/sync/glue/sync_backend_registrar_unittest.cc syncer::ModelSafeRoutingInfo expected_routing_info; syncer 144 chrome/browser/sync/glue/sync_backend_registrar_unittest.cc expected_routing_info[BOOKMARKS] = syncer::GROUP_PASSIVE; syncer 145 chrome/browser/sync/glue/sync_backend_registrar_unittest.cc expected_routing_info[NIGORI] = syncer::GROUP_PASSIVE; syncer 160 chrome/browser/sync/glue/sync_backend_registrar_unittest.cc syncer::ModelSafeRoutingInfo expected_routing_info; syncer 161 chrome/browser/sync/glue/sync_backend_registrar_unittest.cc expected_routing_info[BOOKMARKS] = syncer::GROUP_PASSIVE; syncer 162 chrome/browser/sync/glue/sync_backend_registrar_unittest.cc expected_routing_info[NIGORI] = syncer::GROUP_PASSIVE; syncer 163 chrome/browser/sync/glue/sync_backend_registrar_unittest.cc expected_routing_info[AUTOFILL] = syncer::GROUP_PASSIVE; syncer 173 chrome/browser/sync/glue/sync_backend_registrar_unittest.cc syncer::ModelSafeRoutingInfo expected_routing_info; syncer 174 chrome/browser/sync/glue/sync_backend_registrar_unittest.cc expected_routing_info[PREFERENCES] = syncer::GROUP_PASSIVE; syncer 175 chrome/browser/sync/glue/sync_backend_registrar_unittest.cc expected_routing_info[THEMES] = syncer::GROUP_PASSIVE; syncer 183 chrome/browser/sync/glue/sync_backend_registrar_unittest.cc ExpectRoutingInfo(registrar_.get(), syncer::ModelSafeRoutingInfo()); syncer 209 chrome/browser/sync/glue/sync_backend_registrar_unittest.cc registrar_->ActivateDataType(BOOKMARKS, syncer::GROUP_UI, syncer 213 chrome/browser/sync/glue/sync_backend_registrar_unittest.cc syncer::ModelSafeRoutingInfo expected_routing_info; syncer 214 chrome/browser/sync/glue/sync_backend_registrar_unittest.cc expected_routing_info[BOOKMARKS] = syncer::GROUP_UI; syncer 222 chrome/browser/sync/glue/sync_backend_registrar_unittest.cc ExpectRoutingInfo(registrar_.get(), syncer::ModelSafeRoutingInfo()); syncer 262 chrome/browser/sync/glue/sync_backend_registrar_unittest.cc ExpectRoutingInfo(registrar_.get(), syncer::ModelSafeRoutingInfo()); syncer 19 chrome/browser/sync/glue/sync_start_util.cc syncer::ModelType type) { syncer 42 chrome/browser/sync/glue/sync_start_util.cc syncer::ModelType type) { syncer 52 chrome/browser/sync/glue/sync_start_util.cc syncer::SyncableService::StartSyncFlare GetFlareForSyncableService( syncer 28 chrome/browser/sync/glue/sync_start_util.h syncer::SyncableService::StartSyncFlare GetFlareForSyncableService( syncer 28 chrome/browser/sync/glue/synced_device_tracker.cc SyncedDeviceTracker::SyncedDeviceTracker(syncer::UserShare* user_share, syncer 44 chrome/browser/sync/glue/synced_device_tracker.cc const syncer::BaseTransaction* trans, syncer 46 chrome/browser/sync/glue/synced_device_tracker.cc const syncer::ImmutableChangeRecordList& changes) { syncer 57 chrome/browser/sync/glue/synced_device_tracker.cc syncer::ReadTransaction trans(FROM_HERE, user_share_); syncer 62 chrome/browser/sync/glue/synced_device_tracker.cc const syncer::BaseTransaction& trans) const { syncer 63 chrome/browser/sync/glue/synced_device_tracker.cc syncer::ReadNode node(&trans); syncer 64 chrome/browser/sync/glue/synced_device_tracker.cc if (node.InitByClientTagLookup(syncer::DEVICE_INFO, local_device_info_tag_) != syncer 65 chrome/browser/sync/glue/synced_device_tracker.cc syncer::BaseNode::INIT_OK) { syncer 80 chrome/browser/sync/glue/synced_device_tracker.cc syncer::ReadTransaction trans(FROM_HERE, user_share_); syncer 81 chrome/browser/sync/glue/synced_device_tracker.cc syncer::ReadNode node(&trans); syncer 83 chrome/browser/sync/glue/synced_device_tracker.cc if (node.InitByClientTagLookup(syncer::DEVICE_INFO, lookup_string) != syncer 84 chrome/browser/sync/glue/synced_device_tracker.cc syncer::BaseNode::INIT_OK) { syncer 104 chrome/browser/sync/glue/synced_device_tracker.cc syncer::ReadTransaction trans(FROM_HERE, user_share_); syncer 105 chrome/browser/sync/glue/synced_device_tracker.cc syncer::ReadNode root_node(&trans); syncer 108 chrome/browser/sync/glue/synced_device_tracker.cc syncer::ModelTypeToRootTag(syncer::DEVICE_INFO)) != syncer 109 chrome/browser/sync/glue/synced_device_tracker.cc syncer::BaseNode::INIT_OK) { syncer 120 chrome/browser/sync/glue/synced_device_tracker.cc syncer::ReadNode node(&trans); syncer 121 chrome/browser/sync/glue/synced_device_tracker.cc if (node.InitByIdLookup(*it) != syncer::BaseNode::INIT_OK) syncer 176 chrome/browser/sync/glue/synced_device_tracker.cc syncer::WriteTransaction trans(FROM_HERE, user_share_); syncer 177 chrome/browser/sync/glue/synced_device_tracker.cc syncer::WriteNode node(&trans); syncer 179 chrome/browser/sync/glue/synced_device_tracker.cc if (node.InitByClientTagLookup(syncer::DEVICE_INFO, tag) == syncer 180 chrome/browser/sync/glue/synced_device_tracker.cc syncer::BaseNode::INIT_OK) { syncer 184 chrome/browser/sync/glue/synced_device_tracker.cc syncer::ReadNode type_root(&trans); syncer 185 chrome/browser/sync/glue/synced_device_tracker.cc syncer::BaseNode::InitByLookupResult type_root_lookup_result = syncer 186 chrome/browser/sync/glue/synced_device_tracker.cc type_root.InitByTagLookup(ModelTypeToRootTag(syncer::DEVICE_INFO)); syncer 187 chrome/browser/sync/glue/synced_device_tracker.cc DCHECK_EQ(syncer::BaseNode::INIT_OK, type_root_lookup_result); syncer 189 chrome/browser/sync/glue/synced_device_tracker.cc syncer::WriteNode new_node(&trans); syncer 190 chrome/browser/sync/glue/synced_device_tracker.cc syncer::WriteNode::InitUniqueByCreationResult create_result = syncer 191 chrome/browser/sync/glue/synced_device_tracker.cc new_node.InitUniqueByCreation(syncer::DEVICE_INFO, syncer 194 chrome/browser/sync/glue/synced_device_tracker.cc DCHECK_EQ(syncer::WriteNode::INIT_SUCCESS, create_result); syncer 17 chrome/browser/sync/glue/synced_device_tracker.h namespace syncer { syncer 27 chrome/browser/sync/glue/synced_device_tracker.h SyncedDeviceTracker(syncer::UserShare* user_share, syncer 40 chrome/browser/sync/glue/synced_device_tracker.h const syncer::BaseTransaction* trans, syncer 42 chrome/browser/sync/glue/synced_device_tracker.h const syncer::ImmutableChangeRecordList& changes) OVERRIDE; syncer 48 chrome/browser/sync/glue/synced_device_tracker.h const syncer::BaseTransaction &trans) const; syncer 78 chrome/browser/sync/glue/synced_device_tracker.h syncer::UserShare* user_share_; syncer 44 chrome/browser/sync/glue/synced_device_tracker_unittest.cc syncer::TestUserShare::CreateRoot(syncer::DEVICE_INFO, user_share()); syncer 62 chrome/browser/sync/glue/synced_device_tracker_unittest.cc syncer::UserShare* user_share() { syncer 96 chrome/browser/sync/glue/synced_device_tracker_unittest.cc syncer::TestUserShare test_user_share_; syncer 72 chrome/browser/sync/glue/tab_node_pool.cc syncer::WriteTransaction trans(FROM_HERE, sync_service_->GetUserShare()); syncer 73 chrome/browser/sync/glue/tab_node_pool.cc syncer::ReadNode root(&trans); syncer 74 chrome/browser/sync/glue/tab_node_pool.cc if (root.InitByTagLookup(syncer::ModelTypeToRootTag(syncer::SESSIONS)) != syncer 75 chrome/browser/sync/glue/tab_node_pool.cc syncer::BaseNode::INIT_OK) { syncer 81 chrome/browser/sync/glue/tab_node_pool.cc syncer::WriteNode tab_node(&trans); syncer 82 chrome/browser/sync/glue/tab_node_pool.cc syncer::WriteNode::InitUniqueByCreationResult result = syncer 83 chrome/browser/sync/glue/tab_node_pool.cc tab_node.InitUniqueByCreation(syncer::SESSIONS, root, tab_node_tag); syncer 84 chrome/browser/sync/glue/tab_node_pool.cc if (result != syncer::WriteNode::INIT_SUCCESS) { syncer 124 chrome/browser/sync/glue/tab_node_pool.cc syncer::WriteTransaction trans(FROM_HERE, sync_service_->GetUserShare()); syncer 127 chrome/browser/sync/glue/tab_node_pool.cc syncer::WriteNode tab_node(&trans); syncer 129 chrome/browser/sync/glue/tab_node_pool.cc if (tab_node.InitByClientTagLookup(syncer::SESSIONS, tab_node_tag) != syncer 130 chrome/browser/sync/glue/tab_node_pool.cc syncer::BaseNode::INIT_OK) { syncer 170 chrome/browser/sync/glue/tab_node_pool.cc syncer::WriteTransaction trans(FROM_HERE, sync_service_->GetUserShare()); syncer 173 chrome/browser/sync/glue/tab_node_pool.cc syncer::WriteNode tab_node(&trans); syncer 175 chrome/browser/sync/glue/tab_node_pool.cc if (tab_node.InitByClientTagLookup(syncer::SESSIONS, tab_node_tag) != syncer 176 chrome/browser/sync/glue/tab_node_pool.cc syncer::BaseNode::INIT_OK) { syncer 23 chrome/browser/sync/glue/theme_data_type_controller.cc syncer::THEMES, syncer 92 chrome/browser/sync/glue/typed_url_change_processor.cc syncer::WriteTransaction trans(FROM_HERE, share_handle()); syncer 104 chrome/browser/sync/glue/typed_url_change_processor.cc history::URLRow url, syncer::WriteTransaction* trans) { syncer 113 chrome/browser/sync/glue/typed_url_change_processor.cc syncer::ReadNode typed_url_root(trans); syncer 115 chrome/browser/sync/glue/typed_url_change_processor.cc syncer::BaseNode::INIT_OK) { syncer 127 chrome/browser/sync/glue/typed_url_change_processor.cc syncer::WriteNode update_node(trans); syncer 128 chrome/browser/sync/glue/typed_url_change_processor.cc syncer::BaseNode::InitByLookupResult result = syncer 129 chrome/browser/sync/glue/typed_url_change_processor.cc update_node.InitByClientTagLookup(syncer::TYPED_URLS, tag); syncer 130 chrome/browser/sync/glue/typed_url_change_processor.cc if (result == syncer::BaseNode::INIT_OK) { syncer 132 chrome/browser/sync/glue/typed_url_change_processor.cc } else if (result == syncer::BaseNode::INIT_FAILED_DECRYPT_IF_NECESSARY) { syncer 134 chrome/browser/sync/glue/typed_url_change_processor.cc syncer::Cryptographer* crypto = trans->GetCryptographer(); syncer 135 chrome/browser/sync/glue/typed_url_change_processor.cc syncer::ModelTypeSet encrypted_types(trans->GetEncryptedTypes()); syncer 140 chrome/browser/sync/glue/typed_url_change_processor.cc const bool agreement = encrypted_types.Has(syncer::TYPED_URLS); syncer 167 chrome/browser/sync/glue/typed_url_change_processor.cc syncer::WriteNode create_node(trans); syncer 168 chrome/browser/sync/glue/typed_url_change_processor.cc syncer::WriteNode::InitUniqueByCreationResult result = syncer 169 chrome/browser/sync/glue/typed_url_change_processor.cc create_node.InitUniqueByCreation(syncer::TYPED_URLS, syncer 171 chrome/browser/sync/glue/typed_url_change_processor.cc if (result != syncer::WriteNode::INIT_SUCCESS) { syncer 185 chrome/browser/sync/glue/typed_url_change_processor.cc syncer::WriteTransaction trans(FROM_HERE, share_handle()); syncer 204 chrome/browser/sync/glue/typed_url_change_processor.cc syncer::WriteNode sync_node(&trans); syncer 207 chrome/browser/sync/glue/typed_url_change_processor.cc if (sync_node.InitByClientTagLookup(syncer::TYPED_URLS, syncer 209 chrome/browser/sync/glue/typed_url_change_processor.cc syncer::BaseNode::INIT_OK) { syncer 221 chrome/browser/sync/glue/typed_url_change_processor.cc syncer::WriteTransaction trans(FROM_HERE, share_handle()); syncer 245 chrome/browser/sync/glue/typed_url_change_processor.cc const syncer::BaseTransaction* trans, syncer 247 chrome/browser/sync/glue/typed_url_change_processor.cc const syncer::ImmutableChangeRecordList& changes) { syncer 254 chrome/browser/sync/glue/typed_url_change_processor.cc syncer::ReadNode typed_url_root(trans); syncer 256 chrome/browser/sync/glue/typed_url_change_processor.cc syncer::BaseNode::INIT_OK) { syncer 266 chrome/browser/sync/glue/typed_url_change_processor.cc for (syncer::ChangeRecordList::const_iterator it = syncer 268 chrome/browser/sync/glue/typed_url_change_processor.cc if (syncer::ChangeRecord::ACTION_DELETE == syncer 277 chrome/browser/sync/glue/typed_url_change_processor.cc syncer::ReadNode sync_node(trans); syncer 278 chrome/browser/sync/glue/typed_url_change_processor.cc if (sync_node.InitByIdLookup(it->id) != syncer::BaseNode::INIT_OK) { syncer 286 chrome/browser/sync/glue/typed_url_change_processor.cc DCHECK(syncer::TYPED_URLS == sync_node.GetModelType()); syncer 62 chrome/browser/sync/glue/typed_url_change_processor.h const syncer::BaseTransaction* trans, syncer 64 chrome/browser/sync/glue/typed_url_change_processor.h const syncer::ImmutableChangeRecordList& changes) OVERRIDE; syncer 95 chrome/browser/sync/glue/typed_url_change_processor.h syncer::WriteTransaction* transaction); syncer 86 chrome/browser/sync/glue/typed_url_data_type_controller.cc syncer::ModelType TypedUrlDataTypeController::type() const { syncer 87 chrome/browser/sync/glue/typed_url_data_type_controller.cc return syncer::TYPED_URLS; syncer 90 chrome/browser/sync/glue/typed_url_data_type_controller.cc syncer::ModelSafeGroup TypedUrlDataTypeController::model_safe_group() syncer 92 chrome/browser/sync/glue/typed_url_data_type_controller.cc return syncer::GROUP_HISTORY; syncer 100 chrome/browser/sync/glue/typed_url_data_type_controller.cc syncer::SyncError(FROM_HERE, syncer 101 chrome/browser/sync/glue/typed_url_data_type_controller.cc syncer::SyncError::DATATYPE_ERROR, syncer 108 chrome/browser/sync/glue/typed_url_data_type_controller.cc model_load_callback.Run(type(), syncer::SyncError()); syncer 125 chrome/browser/sync/glue/typed_url_data_type_controller.cc syncer::TYPED_URLS, syncer 35 chrome/browser/sync/glue/typed_url_data_type_controller.h virtual syncer::ModelType type() const OVERRIDE; syncer 36 chrome/browser/sync/glue/typed_url_data_type_controller.h virtual syncer::ModelSafeGroup model_safe_group() const OVERRIDE; syncer 155 chrome/browser/sync/glue/typed_url_model_associator.cc syncer::SyncError TypedUrlModelAssociator::AssociateModels( syncer 156 chrome/browser/sync/glue/typed_url_model_associator.cc syncer::SyncMergeResult* local_merge_result, syncer 157 chrome/browser/sync/glue/typed_url_model_associator.cc syncer::SyncMergeResult* syncer_merge_result) { syncer 159 chrome/browser/sync/glue/typed_url_model_associator.cc syncer::SyncError error = DoAssociateModels(); syncer 175 chrome/browser/sync/glue/typed_url_model_associator.cc syncer::SyncError TypedUrlModelAssociator::DoAssociateModels() { syncer 190 chrome/browser/sync/glue/typed_url_model_associator.cc return syncer::SyncError(FROM_HERE, syncer 191 chrome/browser/sync/glue/typed_url_model_associator.cc syncer::SyncError::DATATYPE_ERROR, syncer 221 chrome/browser/sync/glue/typed_url_model_associator.cc syncer::WriteTransaction trans(FROM_HERE, sync_service_->GetUserShare()); syncer 222 chrome/browser/sync/glue/typed_url_model_associator.cc syncer::ReadNode typed_url_root(&trans); syncer 224 chrome/browser/sync/glue/typed_url_model_associator.cc syncer::BaseNode::INIT_OK) { syncer 240 chrome/browser/sync/glue/typed_url_model_associator.cc syncer::ReadNode node(&trans); syncer 241 chrome/browser/sync/glue/typed_url_model_associator.cc if (node.InitByClientTagLookup(syncer::TYPED_URLS, tag) == syncer 242 chrome/browser/sync/glue/typed_url_model_associator.cc syncer::BaseNode::INIT_OK) { syncer 260 chrome/browser/sync/glue/typed_url_model_associator.cc syncer::WriteNode write_node(&trans); syncer 261 chrome/browser/sync/glue/typed_url_model_associator.cc if (write_node.InitByClientTagLookup(syncer::TYPED_URLS, tag) != syncer 262 chrome/browser/sync/glue/typed_url_model_associator.cc syncer::BaseNode::INIT_OK) { syncer 297 chrome/browser/sync/glue/typed_url_model_associator.cc syncer::WriteNode node(&trans); syncer 298 chrome/browser/sync/glue/typed_url_model_associator.cc syncer::WriteNode::InitUniqueByCreationResult result = syncer 299 chrome/browser/sync/glue/typed_url_model_associator.cc node.InitUniqueByCreation(syncer::TYPED_URLS, syncer 301 chrome/browser/sync/glue/typed_url_model_associator.cc if (result != syncer::WriteNode::INIT_SUCCESS) { syncer 319 chrome/browser/sync/glue/typed_url_model_associator.cc while (sync_child_id != syncer::kInvalidId) { syncer 320 chrome/browser/sync/glue/typed_url_model_associator.cc syncer::ReadNode sync_child_node(&trans); syncer 322 chrome/browser/sync/glue/typed_url_model_associator.cc syncer::BaseNode::INIT_OK) { syncer 379 chrome/browser/sync/glue/typed_url_model_associator.cc syncer::WriteNode sync_node(&trans); syncer 380 chrome/browser/sync/glue/typed_url_model_associator.cc if (sync_node.InitByIdLookup(*it) != syncer::BaseNode::INIT_OK) { syncer 397 chrome/browser/sync/glue/typed_url_model_associator.cc return syncer::SyncError(); syncer 456 chrome/browser/sync/glue/typed_url_model_associator.cc syncer::WriteTransaction* trans) { syncer 460 chrome/browser/sync/glue/typed_url_model_associator.cc syncer::ReadNode typed_url_root(trans); syncer 462 chrome/browser/sync/glue/typed_url_model_associator.cc syncer::BaseNode::INIT_OK) { syncer 467 chrome/browser/sync/glue/typed_url_model_associator.cc while (sync_child_id != syncer::kInvalidId) { syncer 468 chrome/browser/sync/glue/typed_url_model_associator.cc syncer::WriteNode sync_child_node(trans); syncer 470 chrome/browser/sync/glue/typed_url_model_associator.cc syncer::BaseNode::INIT_OK) { syncer 480 chrome/browser/sync/glue/typed_url_model_associator.cc syncer::SyncError TypedUrlModelAssociator::DisassociateModels() { syncer 481 chrome/browser/sync/glue/typed_url_model_associator.cc return syncer::SyncError(); syncer 492 chrome/browser/sync/glue/typed_url_model_associator.cc syncer::ReadTransaction trans(FROM_HERE, sync_service_->GetUserShare()); syncer 493 chrome/browser/sync/glue/typed_url_model_associator.cc syncer::ReadNode sync_node(&trans); syncer 494 chrome/browser/sync/glue/typed_url_model_associator.cc if (sync_node.InitByTagLookup(kTypedUrlTag) != syncer::BaseNode::INIT_OK) { syncer 677 chrome/browser/sync/glue/typed_url_model_associator.cc syncer::WriteNode* node) { syncer 837 chrome/browser/sync/glue/typed_url_model_associator.cc syncer::ReadTransaction trans(FROM_HERE, sync_service_->GetUserShare()); syncer 838 chrome/browser/sync/glue/typed_url_model_associator.cc const syncer::ModelTypeSet encrypted_types = trans.GetEncryptedTypes(); syncer 839 chrome/browser/sync/glue/typed_url_model_associator.cc return !encrypted_types.Has(syncer::TYPED_URLS) || syncer 33 chrome/browser/sync/glue/typed_url_model_associator.h namespace syncer { syncer 54 chrome/browser/sync/glue/typed_url_model_associator.h static syncer::ModelType model_type() { return syncer::TYPED_URLS; } syncer 63 chrome/browser/sync/glue/typed_url_model_associator.h virtual syncer::SyncError AssociateModels( syncer 64 chrome/browser/sync/glue/typed_url_model_associator.h syncer::SyncMergeResult* local_merge_result, syncer 65 chrome/browser/sync/glue/typed_url_model_associator.h syncer::SyncMergeResult* syncer_merge_result) OVERRIDE; syncer 68 chrome/browser/sync/glue/typed_url_model_associator.h virtual syncer::SyncError DisassociateModels() OVERRIDE; syncer 81 chrome/browser/sync/glue/typed_url_model_associator.h bool DeleteAllNodes(syncer::WriteTransaction* trans); syncer 134 chrome/browser/sync/glue/typed_url_model_associator.h syncer::WriteNode* node); syncer 181 chrome/browser/sync/glue/typed_url_model_associator.h syncer::SyncError DoAssociateModels(); syncer 80 chrome/browser/sync/glue/typed_url_model_associator_unittest.cc syncer::SyncError error = (*associator)->AssociateModels(NULL, NULL); syncer 29 chrome/browser/sync/glue/ui_data_type_controller.cc type_(syncer::UNSPECIFIED) { syncer 35 chrome/browser/sync/glue/ui_data_type_controller.cc syncer::ModelType type, syncer 49 chrome/browser/sync/glue/ui_data_type_controller.cc DCHECK(syncer::IsRealDataType(type_)); syncer 60 chrome/browser/sync/glue/ui_data_type_controller.cc DCHECK(syncer::IsRealDataType(type_)); syncer 63 chrome/browser/sync/glue/ui_data_type_controller.cc syncer::SyncError(FROM_HERE, syncer 64 chrome/browser/sync/glue/ui_data_type_controller.cc syncer::SyncError::DATATYPE_ERROR, syncer 89 chrome/browser/sync/glue/ui_data_type_controller.cc model_load_callback.Run(type(), syncer::SyncError()); syncer 100 chrome/browser/sync/glue/ui_data_type_controller.cc model_load_callback.Run(type(), syncer::SyncError()); syncer 126 chrome/browser/sync/glue/ui_data_type_controller.cc syncer::SyncMergeResult local_merge_result(type()); syncer 127 chrome/browser/sync/glue/ui_data_type_controller.cc syncer::SyncMergeResult syncer_merge_result(type()); syncer 128 chrome/browser/sync/glue/ui_data_type_controller.cc base::WeakPtrFactory<syncer::SyncMergeResult> weak_ptr_factory( syncer 140 chrome/browser/sync/glue/ui_data_type_controller.cc syncer::SyncError error(FROM_HERE, syncer 141 chrome/browser/sync/glue/ui_data_type_controller.cc syncer::SyncError::DATATYPE_ERROR, syncer 161 chrome/browser/sync/glue/ui_data_type_controller.cc syncer::SyncError error(FROM_HERE, syncer 162 chrome/browser/sync/glue/ui_data_type_controller.cc syncer::SyncError::UNRECOVERABLE_ERROR, syncer 173 chrome/browser/sync/glue/ui_data_type_controller.cc syncer::SyncDataList initial_sync_data; syncer 174 chrome/browser/sync/glue/ui_data_type_controller.cc syncer::SyncError error = syncer 191 chrome/browser/sync/glue/ui_data_type_controller.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 193 chrome/browser/sync/glue/ui_data_type_controller.cc scoped_ptr<syncer::SyncErrorFactory>( syncer 224 chrome/browser/sync/glue/ui_data_type_controller.cc syncer::SyncError(FROM_HERE, syncer 225 chrome/browser/sync/glue/ui_data_type_controller.cc syncer::SyncError::DATATYPE_ERROR, syncer 232 chrome/browser/sync/glue/ui_data_type_controller.cc const syncer::SyncMergeResult& local_merge_result, syncer 233 chrome/browser/sync/glue/ui_data_type_controller.cc const syncer::SyncMergeResult& syncer_merge_result) { syncer 264 chrome/browser/sync/glue/ui_data_type_controller.cc DCHECK(syncer::IsRealDataType(type_)); syncer 295 chrome/browser/sync/glue/ui_data_type_controller.cc syncer::ModelType UIDataTypeController::type() const { syncer 296 chrome/browser/sync/glue/ui_data_type_controller.cc DCHECK(syncer::IsRealDataType(type_)); syncer 304 chrome/browser/sync/glue/ui_data_type_controller.cc syncer::ModelSafeGroup UIDataTypeController::model_safe_group() const { syncer 305 chrome/browser/sync/glue/ui_data_type_controller.cc DCHECK(syncer::IsRealDataType(type_)); syncer 306 chrome/browser/sync/glue/ui_data_type_controller.cc return syncer::GROUP_UI; syncer 311 chrome/browser/sync/glue/ui_data_type_controller.cc return syncer::ModelTypeToString(type()); syncer 336 chrome/browser/sync/glue/ui_data_type_controller.cc syncer::MODEL_TYPE_COUNT); syncer 25 chrome/browser/sync/glue/ui_data_type_controller.h namespace syncer { syncer 41 chrome/browser/sync/glue/ui_data_type_controller.h syncer::ModelType type, syncer 51 chrome/browser/sync/glue/ui_data_type_controller.h virtual syncer::ModelType type() const OVERRIDE; syncer 52 chrome/browser/sync/glue/ui_data_type_controller.h virtual syncer::ModelSafeGroup model_safe_group() const OVERRIDE; syncer 84 chrome/browser/sync/glue/ui_data_type_controller.h const syncer::SyncMergeResult& local_merge_result, syncer 85 chrome/browser/sync/glue/ui_data_type_controller.h const syncer::SyncMergeResult& syncer_merge_result); syncer 102 chrome/browser/sync/glue/ui_data_type_controller.h syncer::ModelType type_; syncer 123 chrome/browser/sync/glue/ui_data_type_controller.h base::WeakPtr<syncer::SyncableService> local_service_; syncer 45 chrome/browser/sync/glue/ui_data_type_controller_unittest.cc type_(syncer::PREFERENCES), syncer 107 chrome/browser/sync/glue/ui_data_type_controller_unittest.cc const syncer::ModelType type_; syncer 112 chrome/browser/sync/glue/ui_data_type_controller_unittest.cc syncer::FakeSyncableService syncable_service_; syncer 172 chrome/browser/sync/glue/ui_data_type_controller_unittest.cc syncer::SyncError(FROM_HERE, syncer 173 chrome/browser/sync/glue/ui_data_type_controller_unittest.cc syncer::SyncError::DATATYPE_ERROR, syncer 22 chrome/browser/sync/glue/ui_model_worker.cc void CallDoWorkAndSignalCallback(const syncer::WorkCallback& work, syncer 24 chrome/browser/sync/glue/ui_model_worker.cc syncer::SyncerError* error_info) { syncer 44 chrome/browser/sync/glue/ui_model_worker.cc UIModelWorker::UIModelWorker(syncer::WorkerLoopDestructionObserver* observer) syncer 45 chrome/browser/sync/glue/ui_model_worker.cc : syncer::ModelSafeWorker(observer) { syncer 54 chrome/browser/sync/glue/ui_model_worker.cc syncer::SyncerError UIModelWorker::DoWorkAndWaitUntilDoneImpl( syncer 55 chrome/browser/sync/glue/ui_model_worker.cc const syncer::WorkCallback& work) { syncer 56 chrome/browser/sync/glue/ui_model_worker.cc syncer::SyncerError error_info; syncer 68 chrome/browser/sync/glue/ui_model_worker.cc error_info = syncer::CANNOT_DO_WORK; syncer 76 chrome/browser/sync/glue/ui_model_worker.cc syncer::ModelSafeGroup UIModelWorker::GetModelSafeGroup() { syncer 77 chrome/browser/sync/glue/ui_model_worker.cc return syncer::GROUP_UI; syncer 20 chrome/browser/sync/glue/ui_model_worker.h class UIModelWorker : public syncer::ModelSafeWorker { syncer 22 chrome/browser/sync/glue/ui_model_worker.h explicit UIModelWorker(syncer::WorkerLoopDestructionObserver* observer); syncer 26 chrome/browser/sync/glue/ui_model_worker.h virtual syncer::ModelSafeGroup GetModelSafeGroup() OVERRIDE; syncer 29 chrome/browser/sync/glue/ui_model_worker.h virtual syncer::SyncerError DoWorkAndWaitUntilDoneImpl( syncer 30 chrome/browser/sync/glue/ui_model_worker.h const syncer::WorkCallback& work) OVERRIDE; syncer 18 chrome/browser/sync/glue/ui_model_worker_unittest.cc using syncer::SyncerError; syncer 29 chrome/browser/sync/glue/ui_model_worker_unittest.cc virtual syncer::SyncerError DoWork() { syncer 34 chrome/browser/sync/glue/ui_model_worker_unittest.cc return syncer::SYNCER_OK; syncer 51 chrome/browser/sync/glue/ui_model_worker_unittest.cc syncer::WorkCallback c = base::Bind(&UIModelWorkerVisitor::DoWork, syncer 92 chrome/browser/sync/glue/ui_model_worker_unittest.cc base::Bind(&Syncer::SyncShare, base::Unretained(syncer()), v.get())); syncer 39 chrome/browser/sync/profile_sync_components_factory.h namespace syncer { syncer 82 chrome/browser/sync/profile_sync_components_factory.h const syncer::WeakHandle<syncer::DataTypeDebugInfoListener>& syncer 100 chrome/browser/sync/profile_sync_components_factory.h const base::WeakPtr<syncer::SyncableService>& local_service, syncer 101 chrome/browser/sync/profile_sync_components_factory.h const base::WeakPtr<syncer::SyncMergeResult>& merge_result) = 0; syncer 109 chrome/browser/sync/profile_sync_components_factory.h virtual base::WeakPtr<syncer::SyncableService> GetSyncableServiceForType( syncer 110 chrome/browser/sync/profile_sync_components_factory.h syncer::ModelType type) = 0; syncer 133 chrome/browser/sync/profile_sync_components_factory_impl.cc syncer::ModelTypeSet GetDisabledTypesFromCommandLine( syncer 135 chrome/browser/sync/profile_sync_components_factory_impl.cc syncer::ModelTypeSet disabled_types; syncer 138 chrome/browser/sync/profile_sync_components_factory_impl.cc disabled_types = syncer::ModelTypeSetFromString(disabled_types_str); syncer 159 chrome/browser/sync/profile_sync_components_factory_impl.cc syncer::ModelTypeSet disabled_types = syncer 169 chrome/browser/sync/profile_sync_components_factory_impl.cc syncer::ModelTypeSet disabled_types, syncer 173 chrome/browser/sync/profile_sync_components_factory_impl.cc if (!disabled_types.Has(syncer::AUTOFILL)) { syncer 180 chrome/browser/sync/profile_sync_components_factory_impl.cc if (!disabled_types.Has(syncer::AUTOFILL_PROFILE)) { syncer 187 chrome/browser/sync/profile_sync_components_factory_impl.cc if (!disabled_types.Has(syncer::BOOKMARKS)) { syncer 195 chrome/browser/sync/profile_sync_components_factory_impl.cc !disabled_types.Has(syncer::TYPED_URLS)) { syncer 202 chrome/browser/sync/profile_sync_components_factory_impl.cc if (!disabled_types.Has(syncer::HISTORY_DELETE_DIRECTIVES)) { syncer 207 chrome/browser/sync/profile_sync_components_factory_impl.cc syncer::HISTORY_DELETE_DIRECTIVES, syncer 214 chrome/browser/sync/profile_sync_components_factory_impl.cc if (!disabled_types.Has(syncer::PROXY_TABS)) { syncer 217 chrome/browser/sync/profile_sync_components_factory_impl.cc syncer::PROXY_TABS)); syncer 223 chrome/browser/sync/profile_sync_components_factory_impl.cc if (!disabled_types.Has(syncer::FAVICON_IMAGES) && syncer 224 chrome/browser/sync/profile_sync_components_factory_impl.cc !disabled_types.Has(syncer::FAVICON_TRACKING)) { syncer 229 chrome/browser/sync/profile_sync_components_factory_impl.cc syncer::FAVICON_IMAGES, syncer 237 chrome/browser/sync/profile_sync_components_factory_impl.cc syncer::FAVICON_TRACKING, syncer 245 chrome/browser/sync/profile_sync_components_factory_impl.cc if (!disabled_types.Has(syncer::PASSWORDS)) { syncer 256 chrome/browser/sync/profile_sync_components_factory_impl.cc syncer::ARTICLES, syncer 268 chrome/browser/sync/profile_sync_components_factory_impl.cc syncer::MANAGED_USER_SETTINGS, syncer 277 chrome/browser/sync/profile_sync_components_factory_impl.cc syncer::MANAGED_USERS, syncer 286 chrome/browser/sync/profile_sync_components_factory_impl.cc syncer::MANAGED_USER_SHARED_SETTINGS, syncer 294 chrome/browser/sync/profile_sync_components_factory_impl.cc syncer::ModelTypeSet disabled_types, syncer 298 chrome/browser/sync/profile_sync_components_factory_impl.cc if (!disabled_types.Has(syncer::APPS)) { syncer 300 chrome/browser/sync/profile_sync_components_factory_impl.cc new ExtensionDataTypeController(syncer::APPS, this, profile_, pss)); syncer 305 chrome/browser/sync/profile_sync_components_factory_impl.cc if (!disabled_types.Has(syncer::EXTENSIONS)) { syncer 307 chrome/browser/sync/profile_sync_components_factory_impl.cc new ExtensionDataTypeController(syncer::EXTENSIONS, syncer 313 chrome/browser/sync/profile_sync_components_factory_impl.cc if (!disabled_types.Has(syncer::PREFERENCES)) { syncer 318 chrome/browser/sync/profile_sync_components_factory_impl.cc syncer::PREFERENCES, syncer 325 chrome/browser/sync/profile_sync_components_factory_impl.cc if (!disabled_types.Has(syncer::PRIORITY_PREFERENCES)) { syncer 330 chrome/browser/sync/profile_sync_components_factory_impl.cc syncer::PRIORITY_PREFERENCES, syncer 338 chrome/browser/sync/profile_sync_components_factory_impl.cc if (!disabled_types.Has(syncer::THEMES)) { syncer 346 chrome/browser/sync/profile_sync_components_factory_impl.cc if (!disabled_types.Has(syncer::SEARCH_ENGINES)) { syncer 353 chrome/browser/sync/profile_sync_components_factory_impl.cc if (!disabled_types.Has(syncer::EXTENSION_SETTINGS)) { syncer 356 chrome/browser/sync/profile_sync_components_factory_impl.cc syncer::EXTENSION_SETTINGS, this, profile_, pss)); syncer 361 chrome/browser/sync/profile_sync_components_factory_impl.cc if (!disabled_types.Has(syncer::APP_SETTINGS)) { syncer 364 chrome/browser/sync/profile_sync_components_factory_impl.cc syncer::APP_SETTINGS, this, profile_, pss)); syncer 373 chrome/browser/sync/profile_sync_components_factory_impl.cc syncer::APP_LIST, syncer 381 chrome/browser/sync/profile_sync_components_factory_impl.cc if (!disabled_types.Has(syncer::SYNCED_NOTIFICATIONS)) { syncer 386 chrome/browser/sync/profile_sync_components_factory_impl.cc syncer::SYNCED_NOTIFICATIONS, syncer 396 chrome/browser/sync/profile_sync_components_factory_impl.cc syncer::SYNCED_NOTIFICATION_APP_INFO, syncer 405 chrome/browser/sync/profile_sync_components_factory_impl.cc if (!disabled_types.Has(syncer::DICTIONARY)) { syncer 410 chrome/browser/sync/profile_sync_components_factory_impl.cc syncer::DICTIONARY, syncer 419 chrome/browser/sync/profile_sync_components_factory_impl.cc const syncer::WeakHandle<syncer::DataTypeDebugInfoListener>& syncer 446 chrome/browser/sync/profile_sync_components_factory_impl.cc const base::WeakPtr<syncer::SyncableService>& local_service, syncer 447 chrome/browser/sync/profile_sync_components_factory_impl.cc const base::WeakPtr<syncer::SyncMergeResult>& merge_result) { syncer 448 chrome/browser/sync/profile_sync_components_factory_impl.cc syncer::UserShare* user_share = profile_sync_service->GetUserShare(); syncer 451 chrome/browser/sync/profile_sync_components_factory_impl.cc scoped_ptr<syncer::AttachmentStore> attachment_store( syncer 452 chrome/browser/sync/profile_sync_components_factory_impl.cc new syncer::FakeAttachmentStore( syncer 454 chrome/browser/sync/profile_sync_components_factory_impl.cc scoped_ptr<syncer::AttachmentService> attachment_service( syncer 455 chrome/browser/sync/profile_sync_components_factory_impl.cc new syncer::FakeAttachmentService(attachment_store.Pass())); syncer 469 chrome/browser/sync/profile_sync_components_factory_impl.cc base::WeakPtr<syncer::SyncableService> ProfileSyncComponentsFactoryImpl:: syncer 470 chrome/browser/sync/profile_sync_components_factory_impl.cc GetSyncableServiceForType(syncer::ModelType type) { syncer 472 chrome/browser/sync/profile_sync_components_factory_impl.cc return base::WeakPtr<syncer::SyncableService>(); syncer 475 chrome/browser/sync/profile_sync_components_factory_impl.cc case syncer::PREFERENCES: syncer 477 chrome/browser/sync/profile_sync_components_factory_impl.cc profile_)->GetSyncableService(syncer::PREFERENCES)->AsWeakPtr(); syncer 478 chrome/browser/sync/profile_sync_components_factory_impl.cc case syncer::PRIORITY_PREFERENCES: syncer 480 chrome/browser/sync/profile_sync_components_factory_impl.cc syncer::PRIORITY_PREFERENCES)->AsWeakPtr(); syncer 481 chrome/browser/sync/profile_sync_components_factory_impl.cc case syncer::AUTOFILL: syncer 482 chrome/browser/sync/profile_sync_components_factory_impl.cc case syncer::AUTOFILL_PROFILE: { syncer 484 chrome/browser/sync/profile_sync_components_factory_impl.cc return base::WeakPtr<syncer::SyncableService>(); syncer 485 chrome/browser/sync/profile_sync_components_factory_impl.cc if (type == syncer::AUTOFILL) { syncer 493 chrome/browser/sync/profile_sync_components_factory_impl.cc case syncer::SEARCH_ENGINES: syncer 496 chrome/browser/sync/profile_sync_components_factory_impl.cc case syncer::APPS: syncer 497 chrome/browser/sync/profile_sync_components_factory_impl.cc case syncer::EXTENSIONS: syncer 499 chrome/browser/sync/profile_sync_components_factory_impl.cc case syncer::APP_SETTINGS: syncer 500 chrome/browser/sync/profile_sync_components_factory_impl.cc case syncer::EXTENSION_SETTINGS: syncer 505 chrome/browser/sync/profile_sync_components_factory_impl.cc case syncer::APP_LIST: syncer 510 chrome/browser/sync/profile_sync_components_factory_impl.cc case syncer::THEMES: syncer 514 chrome/browser/sync/profile_sync_components_factory_impl.cc case syncer::HISTORY_DELETE_DIRECTIVES: { syncer 521 chrome/browser/sync/profile_sync_components_factory_impl.cc case syncer::SYNCED_NOTIFICATIONS: { syncer 526 chrome/browser/sync/profile_sync_components_factory_impl.cc : base::WeakPtr<syncer::SyncableService>(); syncer 529 chrome/browser/sync/profile_sync_components_factory_impl.cc case syncer::SYNCED_NOTIFICATION_APP_INFO: { syncer 534 chrome/browser/sync/profile_sync_components_factory_impl.cc : base::WeakPtr<syncer::SyncableService>(); syncer 538 chrome/browser/sync/profile_sync_components_factory_impl.cc case syncer::DICTIONARY: syncer 542 chrome/browser/sync/profile_sync_components_factory_impl.cc case syncer::FAVICON_IMAGES: syncer 543 chrome/browser/sync/profile_sync_components_factory_impl.cc case syncer::FAVICON_TRACKING: { syncer 548 chrome/browser/sync/profile_sync_components_factory_impl.cc : base::WeakPtr<syncer::SyncableService>(); syncer 551 chrome/browser/sync/profile_sync_components_factory_impl.cc case syncer::MANAGED_USER_SETTINGS: syncer 554 chrome/browser/sync/profile_sync_components_factory_impl.cc case syncer::MANAGED_USERS: syncer 557 chrome/browser/sync/profile_sync_components_factory_impl.cc case syncer::MANAGED_USER_SHARED_SETTINGS: syncer 561 chrome/browser/sync/profile_sync_components_factory_impl.cc case syncer::ARTICLES: { syncer 567 chrome/browser/sync/profile_sync_components_factory_impl.cc return base::WeakPtr<syncer::SyncableService>(); syncer 569 chrome/browser/sync/profile_sync_components_factory_impl.cc case syncer::SESSIONS: { syncer 574 chrome/browser/sync/profile_sync_components_factory_impl.cc case syncer::PASSWORDS: { syncer 579 chrome/browser/sync/profile_sync_components_factory_impl.cc : base::WeakPtr<syncer::SyncableService>(); syncer 581 chrome/browser/sync/profile_sync_components_factory_impl.cc return base::WeakPtr<syncer::SyncableService>(); syncer 590 chrome/browser/sync/profile_sync_components_factory_impl.cc return base::WeakPtr<syncer::SyncableService>(); syncer 600 chrome/browser/sync/profile_sync_components_factory_impl.cc syncer::UserShare* user_share = profile_sync_service->GetUserShare(); syncer 34 chrome/browser/sync/profile_sync_components_factory_impl.h const syncer::WeakHandle<syncer::DataTypeDebugInfoListener>& syncer 51 chrome/browser/sync/profile_sync_components_factory_impl.h const base::WeakPtr<syncer::SyncableService>& local_service, syncer 52 chrome/browser/sync/profile_sync_components_factory_impl.h const base::WeakPtr<syncer::SyncMergeResult>& merge_result) OVERRIDE; syncer 57 chrome/browser/sync/profile_sync_components_factory_impl.h virtual base::WeakPtr<syncer::SyncableService> GetSyncableServiceForType( syncer 58 chrome/browser/sync/profile_sync_components_factory_impl.h syncer::ModelType type) OVERRIDE; syncer 74 chrome/browser/sync/profile_sync_components_factory_impl.h void RegisterDesktopDataTypes(syncer::ModelTypeSet disabled_types, syncer 77 chrome/browser/sync/profile_sync_components_factory_impl.h void RegisterCommonDataTypes(syncer::ModelTypeSet disabled_types, syncer 38 chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc static std::vector<syncer::ModelType> DefaultDatatypes() { syncer 39 chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc std::vector<syncer::ModelType> datatypes; syncer 40 chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc datatypes.push_back(syncer::APPS); syncer 43 chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc datatypes.push_back(syncer::APP_LIST); syncer 45 chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc datatypes.push_back(syncer::APP_SETTINGS); syncer 46 chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc datatypes.push_back(syncer::AUTOFILL); syncer 47 chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc datatypes.push_back(syncer::AUTOFILL_PROFILE); syncer 48 chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc datatypes.push_back(syncer::BOOKMARKS); syncer 50 chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc datatypes.push_back(syncer::DICTIONARY); syncer 52 chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc datatypes.push_back(syncer::EXTENSIONS); syncer 53 chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc datatypes.push_back(syncer::EXTENSION_SETTINGS); syncer 54 chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc datatypes.push_back(syncer::HISTORY_DELETE_DIRECTIVES); syncer 55 chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc datatypes.push_back(syncer::PASSWORDS); syncer 56 chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc datatypes.push_back(syncer::PREFERENCES); syncer 57 chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc datatypes.push_back(syncer::PRIORITY_PREFERENCES); syncer 58 chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc datatypes.push_back(syncer::SEARCH_ENGINES); syncer 59 chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc datatypes.push_back(syncer::SESSIONS); syncer 60 chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc datatypes.push_back(syncer::PROXY_TABS); syncer 61 chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc datatypes.push_back(syncer::THEMES); syncer 62 chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc datatypes.push_back(syncer::TYPED_URLS); syncer 63 chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc datatypes.push_back(syncer::FAVICON_TRACKING); syncer 64 chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc datatypes.push_back(syncer::FAVICON_IMAGES); syncer 65 chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc datatypes.push_back(syncer::SYNCED_NOTIFICATIONS); syncer 66 chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc datatypes.push_back(syncer::MANAGED_USERS); syncer 67 chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc datatypes.push_back(syncer::MANAGED_USER_SHARED_SETTINGS); syncer 82 chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc syncer::ModelTypeSet exception_types) { syncer 83 chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc std::vector<syncer::ModelType> defaults = DefaultDatatypes(); syncer 84 chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc std::vector<syncer::ModelType>::iterator iter; syncer 97 chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc void TestSwitchDisablesType(syncer::ModelTypeSet types) { syncer 99 chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc syncer::ModelTypeSetToString(types)); syncer 132 chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc CheckDefaultDatatypesInMapExcept(&controller_states, syncer::ModelTypeSet()); syncer 136 chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc TestSwitchDisablesType(syncer::ModelTypeSet(syncer::AUTOFILL)); syncer 141 chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc syncer::ModelTypeSet(syncer::AUTOFILL_PROFILE, syncer::BOOKMARKS)); syncer 33 chrome/browser/sync/profile_sync_components_factory_mock.h const syncer::WeakHandle<syncer::DataTypeDebugInfoListener>&, syncer 49 chrome/browser/sync/profile_sync_components_factory_mock.h const base::WeakPtr<syncer::SyncableService>& local_service, syncer 50 chrome/browser/sync/profile_sync_components_factory_mock.h const base::WeakPtr<syncer::SyncMergeResult>& merge_result)); syncer 54 chrome/browser/sync/profile_sync_components_factory_mock.h base::WeakPtr<syncer::SyncableService>(syncer::ModelType)); syncer 107 chrome/browser/sync/profile_sync_service.cc using syncer::ModelType; syncer 108 chrome/browser/sync/profile_sync_service.cc using syncer::ModelTypeSet; syncer 109 chrome/browser/sync/profile_sync_service.cc using syncer::JsBackend; syncer 110 chrome/browser/sync/profile_sync_service.cc using syncer::JsController; syncer 111 chrome/browser/sync/profile_sync_service.cc using syncer::JsEventDetails; syncer 112 chrome/browser/sync/profile_sync_service.cc using syncer::JsEventHandler; syncer 113 chrome/browser/sync/profile_sync_service.cc using syncer::ModelSafeRoutingInfo; syncer 114 chrome/browser/sync/profile_sync_service.cc using syncer::SyncCredentials; syncer 115 chrome/browser/sync/profile_sync_service.cc using syncer::SyncProtocolError; syncer 116 chrome/browser/sync/profile_sync_service.cc using syncer::WeakHandle; syncer 158 chrome/browser/sync/profile_sync_service.cc const syncer::SyncProtocolError& error) { syncer 159 chrome/browser/sync/profile_sync_service.cc return (error.action != syncer::UNKNOWN_ACTION && syncer 160 chrome/browser/sync/profile_sync_service.cc error.action != syncer::DISABLE_SYNC_ON_CLIENT && syncer 161 chrome/browser/sync/profile_sync_service.cc error.action != syncer::STOP_SYNC_FOR_DISABLED_ACCOUNT); syncer 172 chrome/browser/sync/profile_sync_service.cc passphrase_required_reason_(syncer::REASON_PASSPHRASE_NOT_REQUIRED), syncer 184 chrome/browser/sync/profile_sync_service.cc encrypted_types_(syncer::SyncEncryptionHandler::SensitiveTypes()), syncer 192 chrome/browser/sync/profile_sync_service.cc connection_status_(syncer::CONNECTION_NOT_ATTEMPTED), syncer 194 chrome/browser/sync/profile_sync_service.cc network_resources_(new syncer::HttpBridgeNetworkResources), syncer 218 chrome/browser/sync/profile_sync_service.cc syncer::SyncableService::StartSyncFlare flare( syncer 324 chrome/browser/sync/profile_sync_service.cc syncer::ModelTypeSet registered_types = GetRegisteredDataTypes(); syncer 355 chrome/browser/sync/profile_sync_service.cc void ProfileSyncService::RegisterNonBlockingType(syncer::ModelType type) { syncer 372 chrome/browser/sync/profile_sync_service.cc syncer::SESSIONS)->second.get())->GetModelAssociator(); syncer 376 chrome/browser/sync/profile_sync_service.cc return data_type_controllers_.find(syncer::SESSIONS) != syncer 378 chrome/browser/sync/profile_sync_service.cc data_type_controllers_.find(syncer::SESSIONS)->second->state() == syncer 531 chrome/browser/sync/profile_sync_service.cc scoped_ptr<syncer::UnrecoverableErrorHandler> syncer 543 chrome/browser/sync/profile_sync_service.cc scoped_ptr<syncer::SyncManagerFactory>( syncer 544 chrome/browser/sync/profile_sync_service.cc new syncer::SyncManagerFactory).Pass(), syncer 553 chrome/browser/sync/profile_sync_service.cc const syncer::ModelTypeSet preferred_types = GetPreferredDataTypes(); syncer 554 chrome/browser/sync/profile_sync_service.cc const syncer::ModelTypeSet encrypted_types = GetEncryptedDataTypes(); syncer 555 chrome/browser/sync/profile_sync_service.cc DCHECK(encrypted_types.Has(syncer::PASSWORDS)); syncer 569 chrome/browser/sync/profile_sync_service.cc const syncer::ProtocolEvent& event) { syncer 576 chrome/browser/sync/profile_sync_service.cc syncer::ModelType type) { syncer 577 chrome/browser/sync/profile_sync_service.cc DCHECK(syncer::UserTypes().Has(type)); syncer 588 chrome/browser/sync/profile_sync_service.cc << syncer::ModelTypeToString(type) << "not enabled."; syncer 752 chrome/browser/sync/profile_sync_service.cc sync_js_controller_.AttachJsBackend(WeakHandle<syncer::JsBackend>()); syncer 776 chrome/browser/sync/profile_sync_service.cc encrypted_types_ = syncer::SyncEncryptionHandler::SensitiveTypes(); syncer 777 chrome/browser/sync/profile_sync_service.cc passphrase_required_reason_ = syncer::REASON_PASSPHRASE_NOT_REQUIRED; syncer 830 chrome/browser/sync/profile_sync_service.cc void ProfileSyncService::RegisterNewDataType(syncer::ModelType data_type) { syncer 876 chrome/browser/sync/profile_sync_service.cc syncer::ModelType type, syncer 883 chrome/browser/sync/profile_sync_service.cc syncer::SyncError error(from_here, syncer 884 chrome/browser/sync/profile_sync_service.cc syncer::SyncError::DATATYPE_ERROR, syncer 888 chrome/browser/sync/profile_sync_service.cc std::map<syncer::ModelType, syncer::SyncError> errors; syncer 901 chrome/browser/sync/profile_sync_service.cc const syncer::WeakHandle<syncer::JsBackend>& js_backend, syncer 902 chrome/browser/sync/profile_sync_service.cc const syncer::WeakHandle<syncer::DataTypeDebugInfoListener>& syncer 951 chrome/browser/sync/profile_sync_service.cc syncer::SyncCoreProxy sync_core_proxy_ = backend_->GetSyncCoreProxy(); syncer 1005 chrome/browser/sync/profile_sync_service.cc const syncer::Experiments& experiments) { syncer 1012 chrome/browser/sync/profile_sync_service.cc if (experiments.gcm_channel_state != syncer::Experiments::UNSET) { syncer 1015 chrome/browser/sync/profile_sync_service.cc syncer::Experiments::ENABLED); syncer 1019 chrome/browser/sync/profile_sync_service.cc if (experiments.gcm_channel_state == syncer::Experiments::SUPPRESSED) syncer 1081 chrome/browser/sync/profile_sync_service.cc const syncer::ModelTypeSet registered_types = GetRegisteredDataTypes(); syncer 1082 chrome/browser/sync/profile_sync_service.cc syncer::ModelTypeSet to_add; syncer 1083 chrome/browser/sync/profile_sync_service.cc const syncer::ModelTypeSet to_register = syncer 1086 chrome/browser/sync/profile_sync_service.cc << syncer::ModelTypeSetToString(to_add); syncer 1087 chrome/browser/sync/profile_sync_service.cc DVLOG(2) << "Enabling types: " << syncer::ModelTypeSetToString(to_register); syncer 1089 chrome/browser/sync/profile_sync_service.cc for (syncer::ModelTypeSet::Iterator it = to_register.First(); syncer 1110 chrome/browser/sync/profile_sync_service.cc << syncer::ModelTypeSetToString(to_register); syncer 1126 chrome/browser/sync/profile_sync_service.cc syncer::ConnectionStatus status) { syncer 1128 chrome/browser/sync/profile_sync_service.cc case syncer::CONNECTION_OK: syncer 1131 chrome/browser/sync/profile_sync_service.cc case syncer::CONNECTION_AUTH_ERROR: syncer 1134 chrome/browser/sync/profile_sync_service.cc case syncer::CONNECTION_SERVER_ERROR: syncer 1146 chrome/browser/sync/profile_sync_service.cc syncer::ConnectionStatus status) { syncer 1149 chrome/browser/sync/profile_sync_service.cc if (status == syncer::CONNECTION_AUTH_ERROR) { syncer 1186 chrome/browser/sync/profile_sync_service.cc if (status == syncer::CONNECTION_OK) { syncer 1211 chrome/browser/sync/profile_sync_service.cc syncer::PassphraseRequiredReason reason, syncer 1224 chrome/browser/sync/profile_sync_service.cc << syncer::PassphraseRequiredReasonToString(reason); syncer 1227 chrome/browser/sync/profile_sync_service.cc const syncer::ModelTypeSet types = GetPreferredDirectoryDataTypes(); syncer 1232 chrome/browser/sync/profile_sync_service.cc syncer::CONFIGURE_REASON_CRYPTO); syncer 1253 chrome/browser/sync/profile_sync_service.cc passphrase_required_reason_ = syncer::REASON_PASSPHRASE_NOT_REQUIRED; syncer 1257 chrome/browser/sync/profile_sync_service.cc const syncer::ModelTypeSet types = GetPreferredDirectoryDataTypes(); syncer 1261 chrome/browser/sync/profile_sync_service.cc syncer::CONFIGURE_REASON_CRYPTO); syncer 1270 chrome/browser/sync/profile_sync_service.cc syncer::ModelTypeSet encrypted_types, syncer 1275 chrome/browser/sync/profile_sync_service.cc << syncer::ModelTypeSetToString(encrypted_types_) syncer 1278 chrome/browser/sync/profile_sync_service.cc DCHECK(encrypted_types_.Has(syncer::PASSWORDS)); syncer 1282 chrome/browser/sync/profile_sync_service.cc if (GetActiveDataTypes().Has(syncer::HISTORY_DELETE_DIRECTIVES) && syncer 1283 chrome/browser/sync/profile_sync_service.cc encrypted_types_.Has(syncer::SESSIONS)) { syncer 1284 chrome/browser/sync/profile_sync_service.cc DisableBrokenDatatype(syncer::HISTORY_DELETE_DIRECTIVES, syncer 1301 chrome/browser/sync/profile_sync_service.cc syncer::ModelTypeSet types) { syncer 1313 chrome/browser/sync/profile_sync_service.cc syncer::UNKNOWN_ACTION); syncer 1315 chrome/browser/sync/profile_sync_service.cc case syncer::UPGRADE_CLIENT: syncer 1316 chrome/browser/sync/profile_sync_service.cc case syncer::CLEAR_USER_DATA_AND_RESYNC: syncer 1317 chrome/browser/sync/profile_sync_service.cc case syncer::ENABLE_SYNC_ON_ACCOUNT: syncer 1318 chrome/browser/sync/profile_sync_service.cc case syncer::STOP_AND_RESTART_SYNC: syncer 1332 chrome/browser/sync/profile_sync_service.cc case syncer::DISABLE_SYNC_ON_CLIENT: syncer 1341 chrome/browser/sync/profile_sync_service.cc case syncer::STOP_SYNC_FOR_DISABLED_ACCOUNT: syncer 1405 chrome/browser/sync/profile_sync_service.cc syncer::SyncError error = result.failed_data_types.begin()->second; syncer 1410 chrome/browser/sync/profile_sync_service.cc " during " + syncer::ModelTypeToString(error.model_type()) + syncer 1543 chrome/browser/sync/profile_sync_service.cc const syncer::Experiments& ProfileSyncService::current_experiments() const { syncer 1553 chrome/browser/sync/profile_sync_service.cc syncer::REASON_PASSPHRASE_NOT_REQUIRED; syncer 1577 chrome/browser/sync/profile_sync_service.cc bool sync_everything, const syncer::ModelTypeSet chosen_types) const { syncer 1599 chrome/browser/sync/profile_sync_service.cc COMPILE_ASSERT(32 == syncer::MODEL_TYPE_COUNT, UpdateCustomConfigHistogram); syncer 1602 chrome/browser/sync/profile_sync_service.cc const syncer::ModelTypeSet current_types = GetPreferredDataTypes(); syncer 1604 chrome/browser/sync/profile_sync_service.cc syncer::ModelTypeSet type_set = syncer::UserSelectableTypes(); syncer 1605 chrome/browser/sync/profile_sync_service.cc syncer::ModelTypeSet::Iterator it = type_set.First(); syncer 1611 chrome/browser/sync/profile_sync_service.cc const syncer::ModelType type = it.Get(); syncer 1628 chrome/browser/sync/profile_sync_service.cc syncer::Cryptographer temp_cryptographer(&encryptor); syncer 1630 chrome/browser/sync/profile_sync_service.cc syncer::KeyParams key_params = {"localhost", "dummy", passphrase}; syncer 1643 chrome/browser/sync/profile_sync_service.cc syncer::ModelTypeSet chosen_types) { syncer 1653 chrome/browser/sync/profile_sync_service.cc if (GetActiveDataTypes().Has(syncer::HISTORY_DELETE_DIRECTIVES) && syncer 1654 chrome/browser/sync/profile_sync_service.cc encrypted_types_.Has(syncer::SESSIONS)) { syncer 1655 chrome/browser/sync/profile_sync_service.cc DisableBrokenDatatype(syncer::HISTORY_DELETE_DIRECTIVES, syncer 1665 chrome/browser/sync/profile_sync_service.cc syncer::ModelTypeSet preferred_types) { syncer 1668 chrome/browser/sync/profile_sync_service.cc const syncer::ModelTypeSet registered_types = GetRegisteredDataTypes(); syncer 1669 chrome/browser/sync/profile_sync_service.cc const syncer::ModelTypeSet registered_preferred_types = syncer 1678 chrome/browser/sync/profile_sync_service.cc syncer::ModelTypeSet ProfileSyncService::GetActiveDataTypes() const { syncer 1679 chrome/browser/sync/profile_sync_service.cc const syncer::ModelTypeSet preferred_types = GetPreferredDataTypes(); syncer 1680 chrome/browser/sync/profile_sync_service.cc const syncer::ModelTypeSet failed_types = syncer 1685 chrome/browser/sync/profile_sync_service.cc syncer::ModelTypeSet ProfileSyncService::GetPreferredDataTypes() const { syncer 1686 chrome/browser/sync/profile_sync_service.cc const syncer::ModelTypeSet registered_types = GetRegisteredDataTypes(); syncer 1687 chrome/browser/sync/profile_sync_service.cc const syncer::ModelTypeSet preferred_types = syncer 1692 chrome/browser/sync/profile_sync_service.cc syncer::ModelTypeSet syncer 1694 chrome/browser/sync/profile_sync_service.cc const syncer::ModelTypeSet registered_directory_types = syncer 1696 chrome/browser/sync/profile_sync_service.cc const syncer::ModelTypeSet preferred_types = syncer 1701 chrome/browser/sync/profile_sync_service.cc syncer::ModelTypeSet syncer 1706 chrome/browser/sync/profile_sync_service.cc syncer::ModelTypeSet ProfileSyncService::GetRegisteredDataTypes() const { syncer 1711 chrome/browser/sync/profile_sync_service.cc syncer::ModelTypeSet syncer 1713 chrome/browser/sync/profile_sync_service.cc syncer::ModelTypeSet registered_types; syncer 1724 chrome/browser/sync/profile_sync_service.cc syncer::ModelTypeSet syncer 1730 chrome/browser/sync/profile_sync_service.cc syncer::PassphraseType passphrase_type = GetPassphraseType(); syncer 1731 chrome/browser/sync/profile_sync_service.cc return passphrase_type == syncer::FROZEN_IMPLICIT_PASSPHRASE || syncer 1732 chrome/browser/sync/profile_sync_service.cc passphrase_type == syncer::CUSTOM_PASSPHRASE; syncer 1735 chrome/browser/sync/profile_sync_service.cc syncer::PassphraseType ProfileSyncService::GetPassphraseType() const { syncer 1744 chrome/browser/sync/profile_sync_service.cc const syncer::BaseTransaction* trans) const { syncer 1749 chrome/browser/sync/profile_sync_service.cc const syncer::ModelTypeSet priority_types = syncer 1751 chrome/browser/sync/profile_sync_service.cc syncer::PriorityUserTypes()); syncer 1753 chrome/browser/sync/profile_sync_service.cc const syncer::ConfigureReason reason = HasSyncSetupCompleted() ? syncer 1754 chrome/browser/sync/profile_sync_service.cc syncer::CONFIGURE_REASON_RECONFIGURATION : syncer 1755 chrome/browser/sync/profile_sync_service.cc syncer::CONFIGURE_REASON_NEW_CLIENT; syncer 1789 chrome/browser/sync/profile_sync_service.cc const syncer::ModelTypeSet types = GetPreferredDirectoryDataTypes(); syncer 1790 chrome/browser/sync/profile_sync_service.cc syncer::ConfigureReason reason = syncer::CONFIGURE_REASON_UNKNOWN; syncer 1792 chrome/browser/sync/profile_sync_service.cc reason = syncer::CONFIGURE_REASON_NEW_CLIENT; syncer 1799 chrome/browser/sync/profile_sync_service.cc reason = syncer::CONFIGURE_REASON_NEWLY_ENABLED_DATA_TYPE; syncer 1802 chrome/browser/sync/profile_sync_service.cc reason = syncer::CONFIGURE_REASON_RECONFIGURATION; syncer 1808 chrome/browser/sync/profile_sync_service.cc syncer::UserShare* ProfileSyncService::GetUserShare() const { syncer 1816 chrome/browser/sync/profile_sync_service.cc syncer::sessions::SyncSessionSnapshot syncer 1822 chrome/browser/sync/profile_sync_service.cc return syncer::sessions::SyncSessionSnapshot(); syncer 1839 chrome/browser/sync/profile_sync_service.cc syncer::ModelSafeRoutingInfo* out) const { syncer 1863 chrome/browser/sync/profile_sync_service.cc if (it->second == syncer::GROUP_PASSIVE) { syncer 1891 chrome/browser/sync/profile_sync_service.cc const syncer::SyncError &error = error_map.find(type)->second; syncer 1930 chrome/browser/sync/profile_sync_service.cc syncer::ModelType type, syncer::ModelSafeGroup group, syncer 1940 chrome/browser/sync/profile_sync_service.cc void ProfileSyncService::DeactivateDataType(syncer::ModelType type) { syncer 1958 chrome/browser/sync/profile_sync_service.cc if (passphrase_required_reason() == syncer::REASON_DECRYPTION) { syncer 2008 chrome/browser/sync/profile_sync_service.cc passphrase_required_reason_ == syncer::REASON_DECRYPTION)) << syncer 2013 chrome/browser/sync/profile_sync_service.cc if (passphrase_required_reason_ == syncer::REASON_ENCRYPTION) { syncer 2019 chrome/browser/sync/profile_sync_service.cc passphrase_required_reason_ = syncer::REASON_PASSPHRASE_NOT_REQUIRED; syncer 2060 chrome/browser/sync/profile_sync_service.cc syncer::ModelTypeSet ProfileSyncService::GetEncryptedDataTypes() const { syncer 2061 chrome/browser/sync/profile_sync_service.cc DCHECK(encrypted_types_.Has(syncer::PASSWORDS)); syncer 2131 chrome/browser/sync/profile_sync_service.cc base::WeakPtr<syncer::JsController> ProfileSyncService::GetJsController() { syncer 2239 chrome/browser/sync/profile_sync_service.cc WeakHandle<syncer::JsEventHandler> ProfileSyncService::GetJsEventHandler() { syncer 2243 chrome/browser/sync/profile_sync_service.cc syncer::SyncableService* ProfileSyncService::GetSessionsSyncableService() { syncer 2248 chrome/browser/sync/profile_sync_service.cc : connection_status(syncer::CONNECTION_NOT_ATTEMPTED), syncer 2266 chrome/browser/sync/profile_sync_service.cc scoped_ptr<syncer::NetworkResources> network_resources) { syncer 72 chrome/browser/sync/profile_sync_service.h namespace syncer { syncer 172 chrome/browser/sync/profile_sync_service.h public syncer::UnrecoverableErrorHandler, syncer 189 chrome/browser/sync/profile_sync_service.h syncer::ConnectionStatus connection_status; syncer 267 chrome/browser/sync/profile_sync_service.h virtual syncer::ModelTypeSet GetActiveDataTypes() const OVERRIDE; syncer 307 chrome/browser/sync/profile_sync_service.h void RegisterNonBlockingType(syncer::ModelType type); syncer 325 chrome/browser/sync/profile_sync_service.h virtual syncer::SyncableService* GetSessionsSyncableService(); syncer 372 chrome/browser/sync/profile_sync_service.h const syncer::WeakHandle<syncer::JsBackend>& js_backend, syncer 373 chrome/browser/sync/profile_sync_service.h const syncer::WeakHandle<syncer::DataTypeDebugInfoListener>& syncer 377 chrome/browser/sync/profile_sync_service.h virtual void OnProtocolEvent(const syncer::ProtocolEvent& event) OVERRIDE; syncer 380 chrome/browser/sync/profile_sync_service.h syncer::ConnectionStatus status) OVERRIDE; syncer 382 chrome/browser/sync/profile_sync_service.h syncer::PassphraseRequiredReason reason, syncer 386 chrome/browser/sync/profile_sync_service.h syncer::ModelTypeSet encrypted_types, syncer 390 chrome/browser/sync/profile_sync_service.h syncer::ModelTypeSet types) OVERRIDE; syncer 392 chrome/browser/sync/profile_sync_service.h const syncer::Experiments& experiments) OVERRIDE; syncer 394 chrome/browser/sync/profile_sync_service.h const syncer::SyncProtocolError& error) OVERRIDE; syncer 404 chrome/browser/sync/profile_sync_service.h virtual syncer::ModelTypeSet GetEncryptedDataTypes() const OVERRIDE; syncer 417 chrome/browser/sync/profile_sync_service.h syncer::ModelTypeSet chosen_types); syncer 470 chrome/browser/sync/profile_sync_service.h syncer::PassphraseRequiredReason passphrase_required_reason() const { syncer 491 chrome/browser/sync/profile_sync_service.h virtual base::WeakPtr<syncer::JsController> GetJsController(); syncer 516 chrome/browser/sync/profile_sync_service.h syncer::ModelType type, syncer 527 chrome/browser/sync/profile_sync_service.h virtual syncer::UserShare* GetUserShare() const; syncer 533 chrome/browser/sync/profile_sync_service.h virtual syncer::sessions::SyncSessionSnapshot syncer 551 chrome/browser/sync/profile_sync_service.h void GetModelSafeRoutingInfo(syncer::ModelSafeRoutingInfo* out) const; syncer 569 chrome/browser/sync/profile_sync_service.h syncer::ModelType type, syncer::ModelSafeGroup group, syncer 571 chrome/browser/sync/profile_sync_service.h virtual void DeactivateDataType(syncer::ModelType type); syncer 581 chrome/browser/sync/profile_sync_service.h syncer::ModelTypeSet preferred_types); syncer 585 chrome/browser/sync/profile_sync_service.h virtual syncer::ModelTypeSet GetPreferredDataTypes() const; syncer 588 chrome/browser/sync/profile_sync_service.h virtual syncer::ModelTypeSet GetPreferredDirectoryDataTypes() const; syncer 591 chrome/browser/sync/profile_sync_service.h virtual syncer::ModelTypeSet GetPreferredNonBlockingDataTypes() const; syncer 597 chrome/browser/sync/profile_sync_service.h virtual syncer::ModelTypeSet GetRegisteredDataTypes() const; syncer 600 chrome/browser/sync/profile_sync_service.h virtual syncer::ModelTypeSet GetRegisteredDirectoryDataTypes() const; syncer 603 chrome/browser/sync/profile_sync_service.h virtual syncer::ModelTypeSet GetRegisteredNonBlockingDataTypes() const; syncer 609 chrome/browser/sync/profile_sync_service.h const syncer::BaseTransaction* trans) const; syncer 616 chrome/browser/sync/profile_sync_service.h virtual syncer::PassphraseType GetPassphraseType() const; syncer 693 chrome/browser/sync/profile_sync_service.h const syncer::Experiments& current_experiments() const; syncer 717 chrome/browser/sync/profile_sync_service.h void OnDataTypeRequestsSyncStartup(syncer::ModelType type); syncer 727 chrome/browser/sync/profile_sync_service.h scoped_ptr<syncer::NetworkResources> network_resources); syncer 744 chrome/browser/sync/profile_sync_service.h syncer::SyncCredentials GetCredentials(); syncer 746 chrome/browser/sync/profile_sync_service.h virtual syncer::WeakHandle<syncer::JsEventHandler> GetJsEventHandler(); syncer 775 chrome/browser/sync/profile_sync_service.h syncer::PassphraseRequiredReason passphrase_required_reason_; syncer 851 chrome/browser/sync/profile_sync_service.h syncer::ModelType data_type); syncer 854 chrome/browser/sync/profile_sync_service.h void RegisterNewDataType(syncer::ModelType data_type); syncer 868 chrome/browser/sync/profile_sync_service.h const syncer::ModelTypeSet chosen_types) const; syncer 914 chrome/browser/sync/profile_sync_service.h syncer::ModelTypeSet non_blocking_types_; syncer 943 chrome/browser/sync/profile_sync_service.h syncer::SyncJsController sync_js_controller_; syncer 958 chrome/browser/sync/profile_sync_service.h syncer::ModelTypeSet encrypted_types_; syncer 972 chrome/browser/sync/profile_sync_service.h syncer::SyncProtocolError last_actionable_error_; syncer 984 chrome/browser/sync/profile_sync_service.h syncer::Experiments current_experiments_; syncer 988 chrome/browser/sync/profile_sync_service.h syncer::WeakHandle<syncer::DataTypeDebugInfoListener> debug_info_listener_; syncer 1025 chrome/browser/sync/profile_sync_service.h syncer::ConnectionStatus connection_status_; syncer 1033 chrome/browser/sync/profile_sync_service.h scoped_ptr<syncer::NetworkResources> network_resources_; syncer 1041 chrome/browser/sync/profile_sync_service.h const syncer::SyncProtocolError& error); syncer 106 chrome/browser/sync/profile_sync_service_android.cc syncer::ObjectIdInvalidationMap object_ids_with_states; syncer 109 chrome/browser/sync/profile_sync_service_android.cc syncer::Invalidation::InitUnknownVersion(object_id)); syncer 120 chrome/browser/sync/profile_sync_service_android.cc syncer::Invalidation::Init(object_id, version, state)); syncer 126 chrome/browser/sync/profile_sync_service_android.cc content::Details<const syncer::ObjectIdInvalidationMap>( syncer 232 chrome/browser/sync/profile_sync_service_android.cc if (sync_service_->GetPassphraseType() == syncer::CUSTOM_PASSPHRASE) { syncer 241 chrome/browser/sync/profile_sync_service_android.cc const syncer::ModelTypeSet encrypted_types = syncer 243 chrome/browser/sync/profile_sync_service_android.cc return !encrypted_types.Equals(syncer::ModelTypeSet(syncer::PASSWORDS)); syncer 252 chrome/browser/sync/profile_sync_service_android.cc sync_service_->passphrase_required_reason() == syncer::REASON_DECRYPTION; syncer 278 chrome/browser/sync/profile_sync_service_android.cc syncer::ReadTransaction trans(FROM_HERE, sync_service_->GetUserShare()); syncer 342 chrome/browser/sync/profile_sync_service_android.cc syncer::SyncStatus status; syncer 350 chrome/browser/sync/profile_sync_service_android.cc syncer::ModelTypeSet types = sync_service_->GetActiveDataTypes(); syncer 351 chrome/browser/sync/profile_sync_service_android.cc types.PutAll(syncer::ControlTypes()); syncer 352 chrome/browser/sync/profile_sync_service_android.cc if (types.Has(syncer::BOOKMARKS)) { syncer 355 chrome/browser/sync/profile_sync_service_android.cc if (types.Has(syncer::AUTOFILL)) { syncer 358 chrome/browser/sync/profile_sync_service_android.cc if (types.Has(syncer::AUTOFILL_PROFILE)) { syncer 361 chrome/browser/sync/profile_sync_service_android.cc if (types.Has(syncer::PASSWORDS)) { syncer 364 chrome/browser/sync/profile_sync_service_android.cc if (types.Has(syncer::TYPED_URLS)) { syncer 367 chrome/browser/sync/profile_sync_service_android.cc if (types.Has(syncer::SESSIONS)) { syncer 370 chrome/browser/sync/profile_sync_service_android.cc if (types.Has(syncer::HISTORY_DELETE_DIRECTIVES)) { syncer 373 chrome/browser/sync/profile_sync_service_android.cc if (types.Has(syncer::PROXY_TABS)) { syncer 376 chrome/browser/sync/profile_sync_service_android.cc if (types.Has(syncer::FAVICON_IMAGES)) { syncer 379 chrome/browser/sync/profile_sync_service_android.cc if (types.Has(syncer::FAVICON_TRACKING)) { syncer 382 chrome/browser/sync/profile_sync_service_android.cc if (types.Has(syncer::DEVICE_INFO)) { syncer 385 chrome/browser/sync/profile_sync_service_android.cc if (types.Has(syncer::NIGORI)) { syncer 388 chrome/browser/sync/profile_sync_service_android.cc if (types.Has(syncer::EXPERIMENTS)) { syncer 399 chrome/browser/sync/profile_sync_service_android.cc syncer::ModelTypeSet types; syncer 402 chrome/browser/sync/profile_sync_service_android.cc types.Put(syncer::AUTOFILL); syncer 404 chrome/browser/sync/profile_sync_service_android.cc types.Put(syncer::BOOKMARKS); syncer 406 chrome/browser/sync/profile_sync_service_android.cc types.Put(syncer::PASSWORDS); syncer 408 chrome/browser/sync/profile_sync_service_android.cc types.Put(syncer::PROXY_TABS); syncer 410 chrome/browser/sync/profile_sync_service_android.cc types.Put(syncer::TYPED_URLS); syncer 411 chrome/browser/sync/profile_sync_service_android.cc DCHECK(syncer::UserSelectableTypes().HasAll(types)); syncer 492 chrome/browser/sync/profile_sync_service_android.cc syncer::ObjectIdInvalidationMap object_ids_with_states; syncer 496 chrome/browser/sync/profile_sync_service_android.cc content::Details<const syncer::ObjectIdInvalidationMap>( syncer 208 chrome/browser/sync/profile_sync_service_android.h syncer::ObjectIdLessThan> ObjectIdVersionMap; syncer 91 chrome/browser/sync/profile_sync_service_autofill_unittest.cc using syncer::AUTOFILL; syncer 92 chrome/browser/sync/profile_sync_service_autofill_unittest.cc using syncer::BaseNode; syncer 93 chrome/browser/sync/profile_sync_service_autofill_unittest.cc using syncer::syncable::BASE_VERSION; syncer 94 chrome/browser/sync/profile_sync_service_autofill_unittest.cc using syncer::syncable::CREATE; syncer 95 chrome/browser/sync/profile_sync_service_autofill_unittest.cc using syncer::syncable::GET_BY_SERVER_TAG; syncer 96 chrome/browser/sync/profile_sync_service_autofill_unittest.cc using syncer::syncable::MutableEntry; syncer 97 chrome/browser/sync/profile_sync_service_autofill_unittest.cc using syncer::syncable::SERVER_SPECIFICS; syncer 98 chrome/browser/sync/profile_sync_service_autofill_unittest.cc using syncer::syncable::SPECIFICS; syncer 99 chrome/browser/sync/profile_sync_service_autofill_unittest.cc using syncer::syncable::UNITTEST; syncer 100 chrome/browser/sync/profile_sync_service_autofill_unittest.cc using syncer::syncable::WriterTag; syncer 101 chrome/browser/sync/profile_sync_service_autofill_unittest.cc using syncer::syncable::WriteTransaction; syncer 190 chrome/browser/sync/profile_sync_service_autofill_unittest.cc syncer::ModelType GetModelType() { syncer 191 chrome/browser/sync/profile_sync_service_autofill_unittest.cc return syncer::UNSPECIFIED; syncer 195 chrome/browser/sync/profile_sync_service_autofill_unittest.cc syncer::ModelType GetModelType<AutofillEntry>() { syncer 196 chrome/browser/sync/profile_sync_service_autofill_unittest.cc return syncer::AUTOFILL; syncer 200 chrome/browser/sync/profile_sync_service_autofill_unittest.cc syncer::ModelType GetModelType<AutofillProfile>() { syncer 201 chrome/browser/sync/profile_sync_service_autofill_unittest.cc return syncer::AUTOFILL_PROFILE; syncer 358 chrome/browser/sync/profile_sync_service_autofill_unittest.cc return base::WeakPtr<syncer::SyncableService>(); syncer 373 chrome/browser/sync/profile_sync_service_autofill_unittest.cc syncer::UserShare* user_share = arg0->GetUserShare(); syncer 379 chrome/browser/sync/profile_sync_service_autofill_unittest.cc syncer::FakeAttachmentService::CreateForTest()); syncer 389 chrome/browser/sync/profile_sync_service_autofill_unittest.cc return base::WeakPtr<syncer::SyncableService>(); syncer 423 chrome/browser/sync/profile_sync_service_autofill_unittest.cc EXPECT_CALL(*factory, GetSyncableServiceForType(syncer::AUTOFILL)). syncer 446 chrome/browser/sync/profile_sync_service_autofill_unittest.cc GetSyncableServiceForType(syncer::AUTOFILL_PROFILE)). syncer 468 chrome/browser/sync/profile_sync_service_autofill_unittest.cc public syncer::DataTypeDebugInfoListener { syncer 472 chrome/browser/sync/profile_sync_service_autofill_unittest.cc const std::vector<syncer::DataTypeConfigurationStats>& syncer 489 chrome/browser/sync/profile_sync_service_autofill_unittest.cc AbstractAutofillFactory* GetFactory(syncer::ModelType type) { syncer 490 chrome/browser/sync/profile_sync_service_autofill_unittest.cc if (type == syncer::AUTOFILL) { syncer 492 chrome/browser/sync/profile_sync_service_autofill_unittest.cc } else if (type == syncer::AUTOFILL_PROFILE) { syncer 553 chrome/browser/sync/profile_sync_service_autofill_unittest.cc int GetSyncCount(syncer::ModelType type) { syncer 554 chrome/browser/sync/profile_sync_service_autofill_unittest.cc syncer::ReadTransaction trans(FROM_HERE, sync_service_->GetUserShare()); syncer 555 chrome/browser/sync/profile_sync_service_autofill_unittest.cc syncer::ReadNode node(&trans); syncer 556 chrome/browser/sync/profile_sync_service_autofill_unittest.cc if (node.InitByTagLookup(syncer::ModelTypeToRootTag(type)) != syncer 557 chrome/browser/sync/profile_sync_service_autofill_unittest.cc syncer::BaseNode::INIT_OK) syncer 564 chrome/browser/sync/profile_sync_service_autofill_unittest.cc syncer::ModelType type) { syncer 582 chrome/browser/sync/profile_sync_service_autofill_unittest.cc syncer::MakeWeakHandle(debug_ptr_factory_.GetWeakPtr()))); syncer 608 chrome/browser/sync/profile_sync_service_autofill_unittest.cc syncer::WriteTransaction trans(FROM_HERE, sync_service_->GetUserShare()); syncer 609 chrome/browser/sync/profile_sync_service_autofill_unittest.cc syncer::ReadNode autofill_root(&trans); syncer 611 chrome/browser/sync/profile_sync_service_autofill_unittest.cc syncer::ModelTypeToRootTag(syncer::AUTOFILL)) != syncer 616 chrome/browser/sync/profile_sync_service_autofill_unittest.cc syncer::WriteNode node(&trans); syncer 620 chrome/browser/sync/profile_sync_service_autofill_unittest.cc syncer::WriteNode::InitUniqueByCreationResult result = syncer 621 chrome/browser/sync/profile_sync_service_autofill_unittest.cc node.InitUniqueByCreation(syncer::AUTOFILL, autofill_root, tag); syncer 622 chrome/browser/sync/profile_sync_service_autofill_unittest.cc if (result != syncer::WriteNode::INIT_SUCCESS) syncer 634 chrome/browser/sync/profile_sync_service_autofill_unittest.cc syncer::WriteTransaction trans(FROM_HERE, sync_service_->GetUserShare()); syncer 635 chrome/browser/sync/profile_sync_service_autofill_unittest.cc syncer::ReadNode autofill_root(&trans); syncer 640 chrome/browser/sync/profile_sync_service_autofill_unittest.cc syncer::WriteNode node(&trans); syncer 642 chrome/browser/sync/profile_sync_service_autofill_unittest.cc syncer::WriteNode::InitUniqueByCreationResult result = syncer 643 chrome/browser/sync/profile_sync_service_autofill_unittest.cc node.InitUniqueByCreation(syncer::AUTOFILL_PROFILE, syncer 645 chrome/browser/sync/profile_sync_service_autofill_unittest.cc if (result != syncer::WriteNode::INIT_SUCCESS) syncer 658 chrome/browser/sync/profile_sync_service_autofill_unittest.cc syncer::ReadTransaction trans(FROM_HERE, sync_service_->GetUserShare()); syncer 659 chrome/browser/sync/profile_sync_service_autofill_unittest.cc syncer::ReadNode autofill_root(&trans); syncer 661 chrome/browser/sync/profile_sync_service_autofill_unittest.cc syncer::ModelTypeToRootTag(syncer::AUTOFILL)) != syncer 667 chrome/browser/sync/profile_sync_service_autofill_unittest.cc while (child_id != syncer::kInvalidId) { syncer 668 chrome/browser/sync/profile_sync_service_autofill_unittest.cc syncer::ReadNode child_node(&trans); syncer 699 chrome/browser/sync/profile_sync_service_autofill_unittest.cc syncer::ReadTransaction trans(FROM_HERE, sync_service_->GetUserShare()); syncer 700 chrome/browser/sync/profile_sync_service_autofill_unittest.cc syncer::ReadNode autofill_root(&trans); syncer 707 chrome/browser/sync/profile_sync_service_autofill_unittest.cc while (child_id != syncer::kInvalidId) { syncer 708 chrome/browser/sync/profile_sync_service_autofill_unittest.cc syncer::ReadNode child_node(&trans); syncer 763 chrome/browser/sync/profile_sync_service_autofill_unittest.cc syncer::DataTypeAssociationStats association_stats_; syncer 802 chrome/browser/sync/profile_sync_service_autofill_unittest.cc syncer::syncable::Directory* directory, syncer 808 chrome/browser/sync/profile_sync_service_autofill_unittest.cc syncer::ModelTypeSet types) OVERRIDE { syncer 837 chrome/browser/sync/profile_sync_service_autofill_unittest.cc syncer::UserShare* user_share = service_->GetUserShare(); syncer 838 chrome/browser/sync/profile_sync_service_autofill_unittest.cc syncer::syncable::Directory* directory = user_share->directory.get(); syncer 867 chrome/browser/sync/profile_sync_service_autofill_unittest.cc syncer::ModelTypeToRootTag(syncer::AUTOFILL)); syncer 868 chrome/browser/sync/profile_sync_service_autofill_unittest.cc MutableEntry item(&trans, CREATE, syncer::AUTOFILL, parent.GetId(), tag); syncer 873 chrome/browser/sync/profile_sync_service_autofill_unittest.cc syncer::syncable::Id server_item_id = syncer 876 chrome/browser/sync/profile_sync_service_autofill_unittest.cc syncer::syncable::Id new_predecessor; syncer 915 chrome/browser/sync/profile_sync_service_autofill_unittest.cc syncer::syncable::Id parent_id_; syncer 947 chrome/browser/sync/profile_sync_service_autofill_unittest.cc StartSyncService(base::Closure(), true, syncer::AUTOFILL); syncer 954 chrome/browser/sync/profile_sync_service_autofill_unittest.cc CreateRootHelper create_root(this, syncer::AUTOFILL); syncer 956 chrome/browser/sync/profile_sync_service_autofill_unittest.cc StartSyncService(create_root.callback(), false, syncer::AUTOFILL); syncer 971 chrome/browser/sync/profile_sync_service_autofill_unittest.cc CreateRootHelper create_root(this, syncer::AUTOFILL); syncer 973 chrome/browser/sync/profile_sync_service_autofill_unittest.cc StartSyncService(create_root.callback(), false, syncer::AUTOFILL); syncer 999 chrome/browser/sync/profile_sync_service_autofill_unittest.cc CreateRootHelper create_root(this, syncer::AUTOFILL_PROFILE); syncer 1000 chrome/browser/sync/profile_sync_service_autofill_unittest.cc StartSyncService(create_root.callback(), false, syncer::AUTOFILL_PROFILE); syncer 1018 chrome/browser/sync/profile_sync_service_autofill_unittest.cc CreateRootHelper create_root(this, syncer::AUTOFILL); syncer 1020 chrome/browser/sync/profile_sync_service_autofill_unittest.cc StartSyncService(create_root.callback(), false, syncer::AUTOFILL); syncer 1047 chrome/browser/sync/profile_sync_service_autofill_unittest.cc StartSyncService(add_autofill.callback(), false, syncer::AUTOFILL); syncer 1081 chrome/browser/sync/profile_sync_service_autofill_unittest.cc StartSyncService(add_autofill.callback(), false, syncer::AUTOFILL); syncer 1119 chrome/browser/sync/profile_sync_service_autofill_unittest.cc StartSyncService(add_autofill.callback(), false, syncer::AUTOFILL_PROFILE); syncer 1162 chrome/browser/sync/profile_sync_service_autofill_unittest.cc StartSyncService(add_autofill.callback(), false, syncer::AUTOFILL_PROFILE); syncer 1212 chrome/browser/sync/profile_sync_service_autofill_unittest.cc StartSyncService(add_autofill.callback(), false, syncer::AUTOFILL_PROFILE); syncer 1227 chrome/browser/sync/profile_sync_service_autofill_unittest.cc CreateRootHelper create_root(this, syncer::AUTOFILL); syncer 1228 chrome/browser/sync/profile_sync_service_autofill_unittest.cc StartSyncService(create_root.callback(), false, syncer::AUTOFILL); syncer 1255 chrome/browser/sync/profile_sync_service_autofill_unittest.cc CreateRootHelper create_root(this, syncer::AUTOFILL_PROFILE); syncer 1256 chrome/browser/sync/profile_sync_service_autofill_unittest.cc StartSyncService(create_root.callback(), false, syncer::AUTOFILL_PROFILE); syncer 1284 chrome/browser/sync/profile_sync_service_autofill_unittest.cc CreateRootHelper create_root(this, syncer::AUTOFILL); syncer 1285 chrome/browser/sync/profile_sync_service_autofill_unittest.cc StartSyncService(create_root.callback(), false, syncer::AUTOFILL); syncer 1317 chrome/browser/sync/profile_sync_service_autofill_unittest.cc CreateRootHelper create_root(this, syncer::AUTOFILL); syncer 1318 chrome/browser/sync/profile_sync_service_autofill_unittest.cc StartSyncService(create_root.callback(), false, syncer::AUTOFILL); syncer 1354 chrome/browser/sync/profile_sync_service_autofill_unittest.cc StartSyncService(add_autofill.callback(), false, syncer::AUTOFILL_PROFILE); syncer 1379 chrome/browser/sync/profile_sync_service_autofill_unittest.cc CreateRootHelper create_root(this, syncer::AUTOFILL); syncer 1380 chrome/browser/sync/profile_sync_service_autofill_unittest.cc StartSyncService(create_root.callback(), false, syncer::AUTOFILL); syncer 36 chrome/browser/sync/profile_sync_service_base.h virtual syncer::ModelTypeSet GetActiveDataTypes() const = 0; syncer 51 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc using syncer::BaseNode; syncer 73 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc explicit FakeServerChange(syncer::WriteTransaction* trans) : trans_(trans) { syncer 83 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::ReadNode parent(trans_); syncer 85 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::WriteNode node(trans_); syncer 89 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::ReadNode predecessor(trans_); syncer 106 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::ChangeRecord record; syncer 107 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc record.action = syncer::ChangeRecord::ACTION_ADD; syncer 156 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::WriteNode node(trans_); syncer 165 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::ReadNode node(trans_); syncer 169 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::ChangeRecord record; syncer 170 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc record.action = syncer::ChangeRecord::ACTION_DELETE; syncer 182 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::WriteNode node(trans_); syncer 194 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::ReadNode parent(trans_); syncer 196 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::WriteNode node(trans_); syncer 202 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::ReadNode predecessor(trans_); syncer 212 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::WriteNode node(trans_); syncer 222 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::WriteNode node(trans_); syncer 233 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc trans_, 0, syncer::ImmutableChangeRecordList(&changes_)); syncer 236 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc const syncer::ChangeRecordList& changes() { syncer 247 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::ChangeRecord::ACTION_UPDATE) syncer 249 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::ChangeRecord record; syncer 250 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc record.action = syncer::ChangeRecord::ACTION_UPDATE; syncer 268 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::WriteTransaction *trans_; syncer 271 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::ChangeRecordList changes_; syncer 323 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc local_merge_result_(syncer::BOOKMARKS), syncer 324 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer_merge_result_(syncer::BOOKMARKS) { syncer 348 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc int64 AddFolderToShare(syncer::WriteTransaction* trans, std::string title) { syncer 352 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::ReadNode bookmark_bar(trans); syncer 355 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::WriteNode node(trans); syncer 371 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc int64 AddBookmarkToShare(syncer::WriteTransaction *trans, syncer 376 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::ReadNode parent(trans); syncer 383 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::WriteNode node(trans); syncer 407 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::ReadTransaction trans(FROM_HERE, test_user_share_.user_share()); syncer 408 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::ReadNode node(&trans); syncer 409 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc if (node.InitByTagLookup(syncer::ModelTypeToRootTag(syncer::BOOKMARKS)) != syncer 410 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::BaseNode::INIT_OK) syncer 419 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::ModelType type = syncer::BOOKMARKS; syncer 421 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::WriteTransaction trans(FROM_HERE, syncer 423 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::ReadNode uber_root(&trans); syncer 426 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::ReadNode root(&trans); syncer 427 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc root_exists = (root.InitByTagLookup(syncer::ModelTypeToRootTag(type)) == syncer 432 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc if (!syncer::TestUserShare::CreateRoot(type, syncer 441 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::WriteTransaction trans(FROM_HERE, test_user_share_.user_share()); syncer 442 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::ReadNode root(&trans); syncer 444 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::ModelTypeToRootTag(type))); syncer 447 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc int64 last_child_id = syncer::kInvalidId; syncer 451 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::ReadNode lookup(&trans); syncer 453 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::ReadNode::INIT_OK) { syncer 460 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::ReadNode predecessor_node(&trans); syncer 461 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::ReadNode* predecessor = NULL; syncer 462 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc if (last_child_id != syncer::kInvalidId) { syncer 467 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::WriteNode node(&trans); syncer 490 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc local_merge_result_ = syncer::SyncMergeResult(syncer::BOOKMARKS); syncer 491 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer_merge_result_ = syncer::SyncMergeResult(syncer::BOOKMARKS); syncer 495 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::SyncError error = model_associator_->AssociateModels( syncer 539 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::SyncError error = model_associator_->DisassociateModels(); syncer 558 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::BaseNode* sync_node) { syncer 563 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc void ExpectSyncerNodeMatching(syncer::BaseTransaction* trans, syncer 566 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::SyncAPINameToServerName(truncated_title, &truncated_title); syncer 568 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::ServerNameToSyncAPIName(truncated_title, &truncated_title); syncer 570 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::ReadNode gnode(trans); syncer 606 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::ReadNode gprev(trans); syncer 616 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::ReadNode gnext(trans); syncer 626 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::ReadTransaction trans(FROM_HERE, test_user_share_.user_share()); syncer 630 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc void ExpectBrowserNodeMatching(syncer::BaseTransaction* trans, syncer 651 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc EXPECT_NE(sync_id, syncer::kInvalidId); syncer 656 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc EXPECT_EQ(sync_id, syncer::kInvalidId); syncer 683 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc void ExpectModelMatch(syncer::BaseTransaction* trans) { syncer 698 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::ReadNode gnode(trans); syncer 707 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::ReadTransaction trans(FROM_HERE, test_user_share_.user_share()); syncer 728 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::TestUserShare test_user_share_; syncer 740 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::SyncMergeResult local_merge_result_; syncer 741 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::SyncMergeResult syncer_merge_result_; syncer 773 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::WriteTransaction trans(FROM_HERE, test_user_share_.user_share()); syncer 855 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::WriteTransaction trans(FROM_HERE, test_user_share_.user_share()); syncer 878 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::ChangeRecordList::const_iterator it; syncer 952 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::WriteTransaction trans(FROM_HERE, test_user_share_.user_share()); syncer 967 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::ChangeRecordList::const_iterator it; syncer 1001 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::WriteTransaction trans(FROM_HERE, test_user_share_.user_share()); syncer 1032 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::WriteTransaction trans(FROM_HERE, test_user_share_.user_share()); syncer 1166 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::WriteTransaction trans(FROM_HERE, test_user_share_.user_share()); syncer 1167 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::WriteNode sync_node(&trans); syncer 1218 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::WriteTransaction trans(FROM_HERE, test_user_share_.user_share()); syncer 1237 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::WriteTransaction trans(FROM_HERE, test_user_share_.user_share()); syncer 1904 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::WriteTransaction trans(FROM_HERE, test_user_share_.user_share()); syncer 1932 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::WriteTransaction trans(FROM_HERE, test_user_share_.user_share()); syncer 2024 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::ReadTransaction trans(FROM_HERE, test_user_share_.user_share()); syncer 2030 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::ReadNode sync_node(&trans); syncer 2055 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::ReadTransaction trans(FROM_HERE, test_user_share_.user_share()); syncer 2056 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc EXPECT_GT(trans.GetModelVersion(syncer::BOOKMARKS), 0); syncer 2058 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc EXPECT_EQ(trans.GetModelVersion(syncer::BOOKMARKS), syncer 2112 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::ReadTransaction trans(FROM_HERE, test_user_share_.user_share()); syncer 2113 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc EXPECT_GT(trans.GetModelVersion(syncer::BOOKMARKS), 0); syncer 2115 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc EXPECT_EQ(trans.GetModelVersion(syncer::BOOKMARKS), syncer 41 chrome/browser/sync/profile_sync_service_mock.h void(const syncer::WeakHandle<syncer::JsBackend>&, syncer 42 chrome/browser/sync/profile_sync_service_mock.h const syncer::WeakHandle<syncer::DataTypeDebugInfoListener>&, syncer 55 chrome/browser/sync/profile_sync_service_mock.h syncer::ModelTypeSet chosen_types)); syncer 60 chrome/browser/sync/profile_sync_service_mock.h MOCK_METHOD3(DisableBrokenDatatype, void(syncer::ModelType, syncer 63 chrome/browser/sync/profile_sync_service_mock.h MOCK_CONST_METHOD0(GetUserShare, syncer::UserShare*()); syncer 65 chrome/browser/sync/profile_sync_service_mock.h void(syncer::ModelType, syncer::ModelSafeGroup, syncer 67 chrome/browser/sync/profile_sync_service_mock.h MOCK_METHOD1(DeactivateDataType, void(syncer::ModelType)); syncer 72 chrome/browser/sync/profile_sync_service_mock.h MOCK_METHOD0(GetJsController, base::WeakPtr<syncer::JsController>()); syncer 79 chrome/browser/sync/profile_sync_service_mock.h void(syncer::ModelTypeSet preferred_types)); syncer 80 chrome/browser/sync/profile_sync_service_mock.h MOCK_CONST_METHOD0(GetActiveDataTypes, syncer::ModelTypeSet()); syncer 81 chrome/browser/sync/profile_sync_service_mock.h MOCK_CONST_METHOD0(GetPreferredDataTypes, syncer::ModelTypeSet()); syncer 82 chrome/browser/sync/profile_sync_service_mock.h MOCK_CONST_METHOD0(GetRegisteredDataTypes, syncer::ModelTypeSet()); syncer 84 chrome/browser/sync/profile_sync_service_mock.h syncer::sessions::SyncSessionSnapshot()); syncer 96 chrome/browser/sync/profile_sync_service_mock.h const syncer::SyncProtocolError&)); syncer 128 chrome/browser/sync/profile_sync_service_mock.h MOCK_CONST_METHOD0(GetPassphraseType, syncer::PassphraseType()); syncer 60 chrome/browser/sync/profile_sync_service_preference_unittest.cc using syncer::ChangeRecord; syncer 72 chrome/browser/sync/profile_sync_service_preference_unittest.cc syncer::UserShare* user_share = arg0->GetUserShare(); syncer 78 chrome/browser/sync/profile_sync_service_preference_unittest.cc syncer::FakeAttachmentService::CreateForTest()); syncer 95 chrome/browser/sync/profile_sync_service_preference_unittest.cc public syncer::DataTypeDebugInfoListener { syncer 98 chrome/browser/sync/profile_sync_service_preference_unittest.cc syncer::WriteTransaction trans(FROM_HERE, sync_service_->GetUserShare()); syncer 99 chrome/browser/sync/profile_sync_service_preference_unittest.cc syncer::ReadNode root(&trans); syncer 100 chrome/browser/sync/profile_sync_service_preference_unittest.cc if (root.InitByTagLookup(syncer::ModelTypeToRootTag( syncer 101 chrome/browser/sync/profile_sync_service_preference_unittest.cc syncer::PREFERENCES)) != syncer::BaseNode::INIT_OK) { syncer 102 chrome/browser/sync/profile_sync_service_preference_unittest.cc return syncer::kInvalidId; syncer 105 chrome/browser/sync/profile_sync_service_preference_unittest.cc syncer::WriteNode tag_node(&trans); syncer 106 chrome/browser/sync/profile_sync_service_preference_unittest.cc syncer::WriteNode node(&trans); syncer 108 chrome/browser/sync/profile_sync_service_preference_unittest.cc if (tag_node.InitByClientTagLookup(syncer::PREFERENCES, name) == syncer 109 chrome/browser/sync/profile_sync_service_preference_unittest.cc syncer::BaseNode::INIT_OK) { syncer 113 chrome/browser/sync/profile_sync_service_preference_unittest.cc syncer::WriteNode::InitUniqueByCreationResult result = syncer 114 chrome/browser/sync/profile_sync_service_preference_unittest.cc node.InitUniqueByCreation(syncer::PREFERENCES, root, name); syncer 115 chrome/browser/sync/profile_sync_service_preference_unittest.cc if (result == syncer::WriteNode::INIT_SUCCESS) syncer 118 chrome/browser/sync/profile_sync_service_preference_unittest.cc return syncer::kInvalidId; syncer 123 chrome/browser/sync/profile_sync_service_preference_unittest.cc const std::vector<syncer::DataTypeConfigurationStats>& syncer 171 chrome/browser/sync/profile_sync_service_preference_unittest.cc syncer::ReadTransaction trans(FROM_HERE, sync_service_->GetUserShare()); syncer 172 chrome/browser/sync/profile_sync_service_preference_unittest.cc syncer::ReadNode node(&trans); syncer 173 chrome/browser/sync/profile_sync_service_preference_unittest.cc if (node.InitByTagLookup(syncer::ModelTypeToRootTag(syncer::PREFERENCES)) != syncer 174 chrome/browser/sync/profile_sync_service_preference_unittest.cc syncer::BaseNode::INIT_OK) syncer 190 chrome/browser/sync/profile_sync_service_preference_unittest.cc prefs_->GetSyncableService(syncer::PREFERENCES)); syncer 195 chrome/browser/sync/profile_sync_service_preference_unittest.cc EXPECT_CALL(*components, GetSyncableServiceForType(syncer::PREFERENCES)). syncer 200 chrome/browser/sync/profile_sync_service_preference_unittest.cc syncer::MakeWeakHandle(debug_ptr_factory_.GetWeakPtr()))); syncer 203 chrome/browser/sync/profile_sync_service_preference_unittest.cc syncer::PREFERENCES, syncer 241 chrome/browser/sync/profile_sync_service_preference_unittest.cc syncer::ReadTransaction trans(FROM_HERE, sync_service_->GetUserShare()); syncer 242 chrome/browser/sync/profile_sync_service_preference_unittest.cc syncer::ReadNode node(&trans); syncer 244 chrome/browser/sync/profile_sync_service_preference_unittest.cc if (node.InitByClientTagLookup(syncer::PREFERENCES, name) != syncer 245 chrome/browser/sync/profile_sync_service_preference_unittest.cc syncer::BaseNode::INIT_OK) { syncer 257 chrome/browser/sync/profile_sync_service_preference_unittest.cc syncer::WriteNode* node) { syncer 258 chrome/browser/sync/profile_sync_service_preference_unittest.cc syncer::SyncData sync_data; syncer 262 chrome/browser/sync/profile_sync_service_preference_unittest.cc return syncer::kInvalidId; syncer 299 chrome/browser/sync/profile_sync_service_preference_unittest.cc syncer::DataTypeAssociationStats association_stats_; syncer 326 chrome/browser/sync/profile_sync_service_preference_unittest.cc if (!test->CreateRoot(syncer::PREFERENCES)) syncer 331 chrome/browser/sync/profile_sync_service_preference_unittest.cc if (test->SetSyncedValue(i->first, *i->second) == syncer::kInvalidId) syncer 343 chrome/browser/sync/profile_sync_service_preference_unittest.cc CreateRootHelper create_root(this, syncer::PREFERENCES); syncer 349 chrome/browser/sync/profile_sync_service_preference_unittest.cc syncer::SyncData sync_data; syncer 353 chrome/browser/sync/profile_sync_service_preference_unittest.cc syncer::SyncDataLocal(sync_data).GetTag()); syncer 366 chrome/browser/sync/profile_sync_service_preference_unittest.cc CreateRootHelper create_root(this, syncer::PREFERENCES); syncer 383 chrome/browser/sync/profile_sync_service_preference_unittest.cc CreateRootHelper create_root(this, syncer::PREFERENCES); syncer 646 chrome/browser/sync/profile_sync_service_preference_unittest.cc CreateRootHelper create_root(this, syncer::PREFERENCES); syncer 660 chrome/browser/sync/profile_sync_service_preference_unittest.cc CreateRootHelper create_root(this, syncer::PREFERENCES); syncer 674 chrome/browser/sync/profile_sync_service_preference_unittest.cc CreateRootHelper create_root(this, syncer::PREFERENCES); syncer 680 chrome/browser/sync/profile_sync_service_preference_unittest.cc ASSERT_NE(node_id, syncer::kInvalidId); syncer 682 chrome/browser/sync/profile_sync_service_preference_unittest.cc syncer::WriteTransaction trans(FROM_HERE, sync_service_->GetUserShare()); syncer 695 chrome/browser/sync/profile_sync_service_preference_unittest.cc CreateRootHelper create_root(this, syncer::PREFERENCES); syncer 701 chrome/browser/sync/profile_sync_service_preference_unittest.cc ASSERT_NE(node_id, syncer::kInvalidId); syncer 703 chrome/browser/sync/profile_sync_service_preference_unittest.cc syncer::WriteTransaction trans(FROM_HERE, sync_service_->GetUserShare()); syncer 718 chrome/browser/sync/profile_sync_service_preference_unittest.cc CreateRootHelper create_root(this, syncer::PREFERENCES); syncer 724 chrome/browser/sync/profile_sync_service_preference_unittest.cc ASSERT_NE(node_id, syncer::kInvalidId); syncer 726 chrome/browser/sync/profile_sync_service_preference_unittest.cc syncer::WriteTransaction trans(FROM_HERE, sync_service_->GetUserShare()); syncer 743 chrome/browser/sync/profile_sync_service_preference_unittest.cc CreateRootHelper create_root(this, syncer::PREFERENCES); syncer 756 chrome/browser/sync/profile_sync_service_preference_unittest.cc ASSERT_NE(node_id, syncer::kInvalidId); syncer 758 chrome/browser/sync/profile_sync_service_preference_unittest.cc syncer::WriteTransaction trans(FROM_HERE, sync_service_->GetUserShare()); syncer 810 chrome/browser/sync/profile_sync_service_preference_unittest.cc ASSERT_NE(node_id, syncer::kInvalidId); syncer 812 chrome/browser/sync/profile_sync_service_preference_unittest.cc syncer::WriteTransaction trans(FROM_HERE, sync_service_->GetUserShare()); syncer 827 chrome/browser/sync/profile_sync_service_preference_unittest.cc CreateRootHelper create_root(this, syncer::PREFERENCES); syncer 854 chrome/browser/sync/profile_sync_service_preference_unittest.cc CreateRootHelper create_root(this, syncer::PREFERENCES); syncer 871 chrome/browser/sync/profile_sync_service_preference_unittest.cc ASSERT_NE(node_id, syncer::kInvalidId); syncer 873 chrome/browser/sync/profile_sync_service_preference_unittest.cc syncer::WriteTransaction trans(FROM_HERE, sync_service_->GetUserShare()); syncer 895 chrome/browser/sync/profile_sync_service_preference_unittest.cc CreateRootHelper create_root(this, syncer::PREFERENCES); syncer 84 chrome/browser/sync/profile_sync_service_session_unittest.cc using syncer::ChangeRecord; syncer 295 chrome/browser/sync/profile_sync_service_session_unittest.cc success_ = syncer::TestUserShare::CreateRoot( syncer 296 chrome/browser/sync/profile_sync_service_session_unittest.cc syncer::SESSIONS, test->sync_service()->GetUserShare()); syncer 315 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_NE(syncer::kInvalidId, sync_id); syncer 318 chrome/browser/sync/profile_sync_service_session_unittest.cc syncer::ReadTransaction trans(FROM_HERE, sync_service_->GetUserShare()); syncer 319 chrome/browser/sync/profile_sync_service_session_unittest.cc syncer::ReadNode node(&trans); syncer 320 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_EQ(syncer::BaseNode::INIT_OK, syncer 321 chrome/browser/sync/profile_sync_service_session_unittest.cc node.InitByClientTagLookup(syncer::SESSIONS, machine_tag)); syncer 359 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_NE(syncer::kInvalidId, sync_id); syncer 640 chrome/browser/sync/profile_sync_service_session_unittest.cc syncer::WriteTransaction trans(FROM_HERE, sync_service_->GetUserShare()); syncer 659 chrome/browser/sync/profile_sync_service_session_unittest.cc syncer::WriteTransaction trans(FROM_HERE, sync_service_->GetUserShare()); syncer 680 chrome/browser/sync/profile_sync_service_session_unittest.cc syncer::WriteTransaction trans(FROM_HERE, sync_service_->GetUserShare()); syncer 974 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_NE(syncer::kInvalidId, sync_id); syncer 1009 chrome/browser/sync/profile_sync_service_session_unittest.cc syncer::SyncError error; syncer 1016 chrome/browser/sync/profile_sync_service_session_unittest.cc syncer::WriteTransaction trans(FROM_HERE, sync_service_->GetUserShare()); syncer 1017 chrome/browser/sync/profile_sync_service_session_unittest.cc syncer::ReadNode root(&trans); syncer 1018 chrome/browser/sync/profile_sync_service_session_unittest.cc root.InitByTagLookup(syncer::ModelTypeToRootTag(syncer::SESSIONS)); syncer 1019 chrome/browser/sync/profile_sync_service_session_unittest.cc syncer::WriteNode extra_header(&trans); syncer 1020 chrome/browser/sync/profile_sync_service_session_unittest.cc syncer::WriteNode::InitUniqueByCreationResult result = syncer 1021 chrome/browser/sync/profile_sync_service_session_unittest.cc extra_header.InitUniqueByCreation(syncer::SESSIONS, root, "new_tag"); syncer 1022 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_EQ(syncer::WriteNode::INIT_SUCCESS, result); syncer 1039 chrome/browser/sync/profile_sync_service_session_unittest.cc syncer::SyncError error; syncer 1046 chrome/browser/sync/profile_sync_service_session_unittest.cc syncer::WriteTransaction trans(FROM_HERE, sync_service_->GetUserShare()); syncer 1047 chrome/browser/sync/profile_sync_service_session_unittest.cc syncer::ReadNode root(&trans); syncer 1048 chrome/browser/sync/profile_sync_service_session_unittest.cc root.InitByTagLookup(syncer::ModelTypeToRootTag(syncer::SESSIONS)); syncer 1049 chrome/browser/sync/profile_sync_service_session_unittest.cc syncer::WriteNode extra_header(&trans); syncer 1050 chrome/browser/sync/profile_sync_service_session_unittest.cc syncer::WriteNode::InitUniqueByCreationResult result = syncer 1051 chrome/browser/sync/profile_sync_service_session_unittest.cc extra_header.InitUniqueByCreation(syncer::SESSIONS, syncer 1053 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_EQ(syncer::WriteNode::INIT_SUCCESS, result); syncer 1070 chrome/browser/sync/profile_sync_service_session_unittest.cc syncer::SyncError error; syncer 1078 chrome/browser/sync/profile_sync_service_session_unittest.cc syncer::WriteTransaction trans(FROM_HERE, sync_service_->GetUserShare()); syncer 1079 chrome/browser/sync/profile_sync_service_session_unittest.cc syncer::ReadNode root(&trans); syncer 1080 chrome/browser/sync/profile_sync_service_session_unittest.cc root.InitByTagLookup(syncer::ModelTypeToRootTag(syncer::SESSIONS)); syncer 1081 chrome/browser/sync/profile_sync_service_session_unittest.cc syncer::WriteNode extra_header(&trans); syncer 1082 chrome/browser/sync/profile_sync_service_session_unittest.cc syncer::WriteNode::InitUniqueByCreationResult result = syncer 1083 chrome/browser/sync/profile_sync_service_session_unittest.cc extra_header.InitUniqueByCreation(syncer::SESSIONS, syncer 1085 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_EQ(syncer::WriteNode::INIT_SUCCESS, result); syncer 1102 chrome/browser/sync/profile_sync_service_session_unittest.cc syncer::SyncError error; syncer 1110 chrome/browser/sync/profile_sync_service_session_unittest.cc syncer::WriteTransaction trans(FROM_HERE, sync_service_->GetUserShare()); syncer 1111 chrome/browser/sync/profile_sync_service_session_unittest.cc syncer::ReadNode root(&trans); syncer 1112 chrome/browser/sync/profile_sync_service_session_unittest.cc root.InitByTagLookup(syncer::ModelTypeToRootTag(syncer::SESSIONS)); syncer 1113 chrome/browser/sync/profile_sync_service_session_unittest.cc syncer::WriteNode tab_node(&trans); syncer 1114 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_EQ(syncer::BaseNode::INIT_OK, syncer 1115 chrome/browser/sync/profile_sync_service_session_unittest.cc tab_node.InitByClientTagLookup(syncer::SESSIONS, tab_tag)); syncer 1178 chrome/browser/sync/profile_sync_service_session_unittest.cc syncer::SyncError error; syncer 1184 chrome/browser/sync/profile_sync_service_session_unittest.cc syncer::WriteTransaction trans(FROM_HERE, sync_service_->GetUserShare()); syncer 1185 chrome/browser/sync/profile_sync_service_session_unittest.cc syncer::WriteNode header(&trans); syncer 1186 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_EQ(syncer::BaseNode::INIT_OK, syncer 1187 chrome/browser/sync/profile_sync_service_session_unittest.cc header.InitByClientTagLookup(syncer::SESSIONS, local_tag)); syncer 1204 chrome/browser/sync/profile_sync_service_session_unittest.cc syncer::SyncError error; syncer 1299 chrome/browser/sync/profile_sync_service_session_unittest.cc syncer::SyncError error; syncer 1308 chrome/browser/sync/profile_sync_service_session_unittest.cc syncer::WriteTransaction trans(FROM_HERE, sync_service_->GetUserShare()); syncer 1309 chrome/browser/sync/profile_sync_service_session_unittest.cc syncer::WriteNode tab_node(&trans); syncer 1310 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_EQ(syncer::BaseNode::INIT_OK, syncer 1311 chrome/browser/sync/profile_sync_service_session_unittest.cc tab_node.InitByClientTagLookup(syncer::SESSIONS, tab_tag)); syncer 360 chrome/browser/sync/profile_sync_service_startup_unittest.cc syncer::ModelTypeSet user_types = syncer::UserTypes(); syncer 361 chrome/browser/sync/profile_sync_service_startup_unittest.cc for (syncer::ModelTypeSet::Iterator iter = user_types.First(); syncer 474 chrome/browser/sync/profile_sync_service_startup_unittest.cc syncer::SyncError error( syncer 476 chrome/browser/sync/profile_sync_service_startup_unittest.cc syncer::SyncError::DATATYPE_ERROR, syncer 478 chrome/browser/sync/profile_sync_service_startup_unittest.cc syncer::BOOKMARKS); syncer 479 chrome/browser/sync/profile_sync_service_startup_unittest.cc std::map<syncer::ModelType, syncer::SyncError> errors; syncer 480 chrome/browser/sync/profile_sync_service_startup_unittest.cc errors[syncer::BOOKMARKS] = error; syncer 483 chrome/browser/sync/profile_sync_service_startup_unittest.cc syncer::ModelTypeSet(), syncer 485 chrome/browser/sync/profile_sync_service_startup_unittest.cc syncer::ModelTypeSet(), syncer 486 chrome/browser/sync/profile_sync_service_startup_unittest.cc syncer::ModelTypeSet()); syncer 69 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc using syncer::syncable::WriteTransaction; syncer 177 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc syncer::WriteTransaction trans(FROM_HERE, sync_service_->GetUserShare()); syncer 178 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc syncer::ReadNode typed_url_root(&trans); syncer 179 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc ASSERT_EQ(syncer::BaseNode::INIT_OK, syncer 182 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc syncer::WriteNode node(&trans); syncer 184 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc syncer::WriteNode::InitUniqueByCreationResult result = syncer 185 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc node.InitUniqueByCreation(syncer::TYPED_URLS, typed_url_root, tag); syncer 186 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc ASSERT_EQ(syncer::WriteNode::INIT_SUCCESS, result); syncer 267 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc syncer::ReadTransaction trans(FROM_HERE, sync_service_->GetUserShare()); syncer 268 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc syncer::ReadNode typed_url_root(&trans); syncer 270 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc syncer::BaseNode::INIT_OK) syncer 274 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc while (child_id != syncer::kInvalidId) { syncer 275 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc syncer::ReadNode child_node(&trans); syncer 276 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc if (child_node.InitByIdLookup(child_id) != syncer::BaseNode::INIT_OK) syncer 344 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc test->CreateRoot(syncer::TYPED_URLS); syncer 360 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc CreateRootHelper create_root(this, syncer::TYPED_URLS); syncer 380 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc CreateRootHelper create_root(this, syncer::TYPED_URLS); syncer 409 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc CreateRootHelper create_root(this, syncer::TYPED_URLS); syncer 430 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc CreateRootHelper create_root(this, syncer::TYPED_URLS); syncer 579 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc CreateRootHelper create_root(this, syncer::TYPED_URLS); syncer 609 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc CreateRootHelper create_root(this, syncer::TYPED_URLS); syncer 640 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc CreateRootHelper create_root(this, syncer::TYPED_URLS); syncer 676 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc CreateRootHelper create_root(this, syncer::TYPED_URLS); syncer 707 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc CreateRootHelper create_root(this, syncer::TYPED_URLS); syncer 746 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc CreateRootHelper create_root(this, syncer::TYPED_URLS); syncer 823 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc CreateRootHelper create_root(this, syncer::TYPED_URLS); syncer 860 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc CreateRootHelper create_root(this, syncer::TYPED_URLS); syncer 899 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc CreateRootHelper create_root(this, syncer::TYPED_URLS); syncer 948 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc syncer::TYPED_URLS)); syncer 972 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc WillOnce(Return(syncer::SyncError( syncer 974 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc syncer::SyncError::DATATYPE_ERROR, syncer 976 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc syncer::TYPED_URLS))); syncer 982 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc syncer::TYPED_URLS)); syncer 1009 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc CreateRootHelper create_root(this, syncer::TYPED_URLS); syncer 1062 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc CreateRootHelper create_root(this, syncer::TYPED_URLS); syncer 66 chrome/browser/sync/profile_sync_service_unittest.cc const syncer::WeakHandle<syncer::JsEventHandler>& event_handler, syncer 68 chrome/browser/sync/profile_sync_service_unittest.cc const syncer::SyncCredentials& credentials, syncer 70 chrome/browser/sync/profile_sync_service_unittest.cc scoped_ptr<syncer::SyncManagerFactory> sync_manager_factory, syncer 71 chrome/browser/sync/profile_sync_service_unittest.cc scoped_ptr<syncer::UnrecoverableErrorHandler> unrecoverable_error_handler, syncer 72 chrome/browser/sync/profile_sync_service_unittest.cc syncer::ReportUnrecoverableErrorFunction syncer 74 chrome/browser/sync/profile_sync_service_unittest.cc syncer::NetworkResources* network_resources) OVERRIDE {} syncer 347 chrome/browser/sync/profile_sync_service_unittest.cc EXPECT_EQ(syncer::CONNECTION_NOT_ATTEMPTED, token_status.connection_status); syncer 353 chrome/browser/sync/profile_sync_service_unittest.cc service()->OnConnectionStatusChange(syncer::CONNECTION_AUTH_ERROR); syncer 360 chrome/browser/sync/profile_sync_service_unittest.cc EXPECT_EQ(syncer::CONNECTION_AUTH_ERROR, token_status.connection_status); syncer 369 chrome/browser/sync/profile_sync_service_unittest.cc service()->OnConnectionStatusChange(syncer::CONNECTION_OK); syncer 371 chrome/browser/sync/profile_sync_service_unittest.cc EXPECT_EQ(syncer::CONNECTION_OK, token_status.connection_status); syncer 8 chrome/browser/sync/protocol_event_observer.h namespace syncer { syncer 19 chrome/browser/sync/protocol_event_observer.h virtual void OnProtocolEvent(const syncer::ProtocolEvent& event) = 0; syncer 34 chrome/browser/sync/sessions2/notification_service_sessions_router.cc Profile* profile, const syncer::SyncableService::StartSyncFlare& flare) syncer 136 chrome/browser/sync/sessions2/notification_service_sessions_router.cc flare_.Run(syncer::SESSIONS); syncer 29 chrome/browser/sync/sessions2/notification_service_sessions_router.h const syncer::SyncableService::StartSyncFlare& flare); syncer 53 chrome/browser/sync/sessions2/notification_service_sessions_router.h syncer::SyncableService::StartSyncFlare flare_; syncer 26 chrome/browser/sync/sessions2/session_data_type_controller2.cc syncer::SESSIONS, syncer 30 chrome/browser/sync/sessions2/sessions_sync_manager.cc using syncer::SyncChange; syncer 31 chrome/browser/sync/sessions2/sessions_sync_manager.cc using syncer::SyncData; syncer 78 chrome/browser/sync/sessions2/sessions_sync_manager.cc syncer::SyncMergeResult SessionsSyncManager::MergeDataAndStartSyncing( syncer 79 chrome/browser/sync/sessions2/sessions_sync_manager.cc syncer::ModelType type, syncer 80 chrome/browser/sync/sessions2/sessions_sync_manager.cc const syncer::SyncDataList& initial_sync_data, syncer 81 chrome/browser/sync/sessions2/sessions_sync_manager.cc scoped_ptr<syncer::SyncChangeProcessor> sync_processor, syncer 82 chrome/browser/sync/sessions2/sessions_sync_manager.cc scoped_ptr<syncer::SyncErrorFactory> error_handler) { syncer 83 chrome/browser/sync/sessions2/sessions_sync_manager.cc syncer::SyncMergeResult merge_result(type); syncer 92 chrome/browser/sync/sessions2/sessions_sync_manager.cc syncer::SyncChangeList new_changes; syncer 110 chrome/browser/sync/sessions2/sessions_sync_manager.cc syncer::SyncDataList restored_tabs; syncer 119 chrome/browser/sync/sessions2/sessions_sync_manager.cc syncer::SyncData data = syncer::SyncData::CreateLocalData( syncer 121 chrome/browser/sync/sessions2/sessions_sync_manager.cc new_changes.push_back(syncer::SyncChange( syncer 122 chrome/browser/sync/sessions2/sessions_sync_manager.cc FROM_HERE, syncer::SyncChange::ACTION_ADD, data)); syncer 145 chrome/browser/sync/sessions2/sessions_sync_manager.cc const syncer::SyncDataList& restored_tabs, syncer 146 chrome/browser/sync/sessions2/sessions_sync_manager.cc syncer::SyncChangeList* change_output) { syncer 247 chrome/browser/sync/sessions2/sessions_sync_manager.cc syncer::SyncData data = syncer::SyncData::CreateLocalData( syncer 249 chrome/browser/sync/sessions2/sessions_sync_manager.cc change_output->push_back(syncer::SyncChange( syncer 250 chrome/browser/sync/sessions2/sessions_sync_manager.cc FROM_HERE, syncer::SyncChange::ACTION_UPDATE, data)); syncer 254 chrome/browser/sync/sessions2/sessions_sync_manager.cc syncer::SyncChangeList* change_output) { syncer 305 chrome/browser/sync/sessions2/sessions_sync_manager.cc syncer::SyncData data = syncer::SyncData::CreateLocalData( syncer 310 chrome/browser/sync/sessions2/sessions_sync_manager.cc change_output->push_back(syncer::SyncChange( syncer 311 chrome/browser/sync/sessions2/sessions_sync_manager.cc FROM_HERE, syncer::SyncChange::ACTION_UPDATE, data)); syncer 324 chrome/browser/sync/sessions2/sessions_sync_manager.cc syncer::SyncDataList data( syncer 325 chrome/browser/sync/sessions2/sessions_sync_manager.cc sync_processor_->GetAllSyncData(syncer::SESSIONS)); syncer 326 chrome/browser/sync/sessions2/sessions_sync_manager.cc scoped_ptr<syncer::SyncErrorFactory> error_handler(error_handler_.Pass()); syncer 327 chrome/browser/sync/sessions2/sessions_sync_manager.cc scoped_ptr<syncer::SyncChangeProcessor> processor(sync_processor_.Pass()); syncer 329 chrome/browser/sync/sessions2/sessions_sync_manager.cc StopSyncing(syncer::SESSIONS); syncer 331 chrome/browser/sync/sessions2/sessions_sync_manager.cc syncer::SESSIONS, data, processor.Pass(), error_handler.Pass()); syncer 341 chrome/browser/sync/sessions2/sessions_sync_manager.cc const syncer::ModelTypeSet types(syncer::SESSIONS); syncer 345 chrome/browser/sync/sessions2/sessions_sync_manager.cc content::Details<const syncer::ModelTypeSet>(&types)); syncer 356 chrome/browser/sync/sessions2/sessions_sync_manager.cc syncer::SyncChangeList changes; syncer 362 chrome/browser/sync/sessions2/sessions_sync_manager.cc AssociateWindows(DONT_RELOAD_TABS, syncer::SyncDataList(), &changes); syncer 381 chrome/browser/sync/sessions2/sessions_sync_manager.cc void SessionsSyncManager::StopSyncing(syncer::ModelType type) { syncer 393 chrome/browser/sync/sessions2/sessions_sync_manager.cc syncer::SyncDataList SessionsSyncManager::GetAllSyncData( syncer 394 chrome/browser/sync/sessions2/sessions_sync_manager.cc syncer::ModelType type) const { syncer 395 chrome/browser/sync/sessions2/sessions_sync_manager.cc syncer::SyncDataList list; syncer 398 chrome/browser/sync/sessions2/sessions_sync_manager.cc return syncer::SyncDataList(); syncer 406 chrome/browser/sync/sessions2/sessions_sync_manager.cc syncer::SyncData data = syncer::SyncData::CreateLocalData( syncer 425 chrome/browser/sync/sessions2/sessions_sync_manager.cc syncer::SyncData data = syncer::SyncData::CreateLocalData( syncer 444 chrome/browser/sync/sessions2/sessions_sync_manager.cc syncer::SyncError SessionsSyncManager::ProcessSyncChanges( syncer 446 chrome/browser/sync/sessions2/sessions_sync_manager.cc const syncer::SyncChangeList& change_list) { syncer 448 chrome/browser/sync/sessions2/sessions_sync_manager.cc syncer::SyncError error(FROM_HERE, syncer 449 chrome/browser/sync/sessions2/sessions_sync_manager.cc syncer::SyncError::DATATYPE_ERROR, syncer 451 chrome/browser/sync/sessions2/sessions_sync_manager.cc syncer::SESSIONS); syncer 455 chrome/browser/sync/sessions2/sessions_sync_manager.cc for (syncer::SyncChangeList::const_iterator it = change_list.begin(); syncer 462 chrome/browser/sync/sessions2/sessions_sync_manager.cc case syncer::SyncChange::ACTION_DELETE: syncer 481 chrome/browser/sync/sessions2/sessions_sync_manager.cc case syncer::SyncChange::ACTION_ADD: syncer 482 chrome/browser/sync/sessions2/sessions_sync_manager.cc case syncer::SyncChange::ACTION_UPDATE: syncer 488 chrome/browser/sync/sessions2/sessions_sync_manager.cc return syncer::SyncError(); syncer 491 chrome/browser/sync/sessions2/sessions_sync_manager.cc session, syncer::SyncDataRemote(it->sync_data()).GetModifiedTime()); syncer 502 chrome/browser/sync/sessions2/sessions_sync_manager.cc return syncer::SyncError(); syncer 505 chrome/browser/sync/sessions2/sessions_sync_manager.cc syncer::SyncChange SessionsSyncManager::TombstoneTab( syncer 509 chrome/browser/sync/sessions2/sessions_sync_manager.cc return syncer::SyncChange(); syncer 511 chrome/browser/sync/sessions2/sessions_sync_manager.cc return syncer::SyncChange( syncer 517 chrome/browser/sync/sessions2/sessions_sync_manager.cc syncer::SESSIONS)); syncer 527 chrome/browser/sync/sessions2/sessions_sync_manager.cc const syncer::SyncDataList& sync_data, syncer 528 chrome/browser/sync/sessions2/sessions_sync_manager.cc syncer::SyncDataList* restored_tabs, syncer 529 chrome/browser/sync/sessions2/sessions_sync_manager.cc syncer::SyncChangeList* new_changes) { syncer 531 chrome/browser/sync/sessions2/sessions_sync_manager.cc for (syncer::SyncDataList::const_iterator it = sync_data.begin(); syncer 534 chrome/browser/sync/sessions2/sessions_sync_manager.cc const syncer::SyncData& data = *it; syncer 540 chrome/browser/sync/sessions2/sessions_sync_manager.cc syncer::SyncChange tombstone(TombstoneTab(specifics)); syncer 545 chrome/browser/sync/sessions2/sessions_sync_manager.cc specifics, syncer::SyncDataRemote(data).GetModifiedTime()); syncer 557 chrome/browser/sync/sessions2/sessions_sync_manager.cc syncer::SyncChange tombstone(TombstoneTab(specifics)); syncer 730 chrome/browser/sync/sessions2/sessions_sync_manager.cc syncer::TimeToProtoTime( syncer 743 chrome/browser/sync/sessions2/sessions_sync_manager.cc syncer::SyncChangeList changes; syncer 749 chrome/browser/sync/sessions2/sessions_sync_manager.cc const std::string& tag, syncer::SyncChangeList* change_output) { syncer 764 chrome/browser/sync/sessions2/sessions_sync_manager.cc change_output->push_back(syncer::SyncChange( syncer 767 chrome/browser/sync/sessions2/sessions_sync_manager.cc SyncData::CreateLocalDelete(tag, syncer::SESSIONS))); syncer 772 chrome/browser/sync/sessions2/sessions_sync_manager.cc change_output->push_back(syncer::SyncChange( syncer 776 chrome/browser/sync/sessions2/sessions_sync_manager.cc syncer::SESSIONS))); syncer 858 chrome/browser/sync/sessions2/sessions_sync_manager.cc const syncer::SyncDataList& restored_tabs, syncer 859 chrome/browser/sync/sessions2/sessions_sync_manager.cc syncer::SyncChangeList* change_output) { syncer 867 chrome/browser/sync/sessions2/sessions_sync_manager.cc for (syncer::SyncDataList::const_iterator it = restored_tabs.begin(); syncer 892 chrome/browser/sync/sessions2/sessions_sync_manager.cc syncer::SyncData data = syncer::SyncData::CreateLocalData( syncer 897 chrome/browser/sync/sessions2/sessions_sync_manager.cc change_output->push_back(syncer::SyncChange( syncer 898 chrome/browser/sync/sessions2/sessions_sync_manager.cc FROM_HERE, syncer::SyncChange::ACTION_UPDATE, data)); syncer 984 chrome/browser/sync/sessions2/sessions_sync_manager.cc syncer::SyncChangeList changes; syncer 31 chrome/browser/sync/sessions2/sessions_sync_manager.h namespace syncer { syncer 81 chrome/browser/sync/sessions2/sessions_sync_manager.h class SessionsSyncManager : public syncer::SyncableService, syncer 104 chrome/browser/sync/sessions2/sessions_sync_manager.h virtual syncer::SyncMergeResult MergeDataAndStartSyncing( syncer 105 chrome/browser/sync/sessions2/sessions_sync_manager.h syncer::ModelType type, syncer 106 chrome/browser/sync/sessions2/sessions_sync_manager.h const syncer::SyncDataList& initial_sync_data, syncer 107 chrome/browser/sync/sessions2/sessions_sync_manager.h scoped_ptr<syncer::SyncChangeProcessor> sync_processor, syncer 108 chrome/browser/sync/sessions2/sessions_sync_manager.h scoped_ptr<syncer::SyncErrorFactory> error_handler) OVERRIDE; syncer 109 chrome/browser/sync/sessions2/sessions_sync_manager.h virtual void StopSyncing(syncer::ModelType type) OVERRIDE; syncer 110 chrome/browser/sync/sessions2/sessions_sync_manager.h virtual syncer::SyncDataList GetAllSyncData( syncer 111 chrome/browser/sync/sessions2/sessions_sync_manager.h syncer::ModelType type) const OVERRIDE; syncer 112 chrome/browser/sync/sessions2/sessions_sync_manager.h virtual syncer::SyncError ProcessSyncChanges( syncer 114 chrome/browser/sync/sessions2/sessions_sync_manager.h const syncer::SyncChangeList& change_list) OVERRIDE; syncer 224 chrome/browser/sync/sessions2/sessions_sync_manager.h bool InitFromSyncModel(const syncer::SyncDataList& sync_data, syncer 225 chrome/browser/sync/sessions2/sessions_sync_manager.h syncer::SyncDataList* restored_tabs, syncer 226 chrome/browser/sync/sessions2/sessions_sync_manager.h syncer::SyncChangeList* new_changes); syncer 231 chrome/browser/sync/sessions2/sessions_sync_manager.h syncer::SyncChange TombstoneTab(const sync_pb::SessionSpecifics& tab); syncer 249 chrome/browser/sync/sessions2/sessions_sync_manager.h syncer::SyncChangeList* change_output); syncer 290 chrome/browser/sync/sessions2/sessions_sync_manager.h const syncer::SyncDataList& restored_tabs, syncer 291 chrome/browser/sync/sessions2/sessions_sync_manager.h syncer::SyncChangeList* change_output); syncer 298 chrome/browser/sync/sessions2/sessions_sync_manager.h syncer::SyncChangeList* change_output); syncer 325 chrome/browser/sync/sessions2/sessions_sync_manager.h const syncer::SyncDataList& restored_tabs, syncer 326 chrome/browser/sync/sessions2/sessions_sync_manager.h syncer::SyncChangeList* change_output); syncer 354 chrome/browser/sync/sessions2/sessions_sync_manager.h scoped_ptr<syncer::SyncErrorFactory> error_handler_; syncer 355 chrome/browser/sync/sessions2/sessions_sync_manager.h scoped_ptr<syncer::SyncChangeProcessor> sync_processor_; syncer 35 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc using syncer::SyncChange; syncer 36 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc using syncer::SyncData; syncer 125 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc class TestSyncProcessorStub : public syncer::SyncChangeProcessor { syncer 127 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc explicit TestSyncProcessorStub(syncer::SyncChangeList* output) syncer 129 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc virtual syncer::SyncError ProcessSyncChanges( syncer 131 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc const syncer::SyncChangeList& change_list) OVERRIDE { syncer 133 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncError error = error_; syncer 134 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc error_ = syncer::SyncError(); syncer 141 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc return syncer::SyncError(); syncer 144 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc virtual syncer::SyncDataList GetAllSyncData(syncer::ModelType type) syncer 149 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc void FailProcessSyncChangesWith(const syncer::SyncError& error) { syncer 153 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc void SetSyncDataToReturn(const syncer::SyncDataList& data) { syncer 158 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncError error_; syncer 159 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncChangeList* output_; syncer 160 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncDataList sync_data_to_return_; syncer 163 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncChange MakeRemoteChange( syncer 169 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc return syncer::SyncChange( syncer 171 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncData::CreateRemoteData(id, entity, base::Time())); syncer 177 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncChangeList* change_list) { syncer 183 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc change_list->push_back(syncer::SyncChange( syncer 185 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncData::CreateRemoteData(iter->tab_node_id(), syncer 191 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncDataList* list) { syncer 223 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc profile(), syncer::SyncableService::StartSyncFlare())); syncer 251 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc void InitWithSyncDataTakeOutput(const syncer::SyncDataList& initial_data, syncer 252 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncChangeList* output) { syncer 254 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncMergeResult result = manager_->MergeDataAndStartSyncing( syncer 255 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SESSIONS, initial_data, syncer 256 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc scoped_ptr<syncer::SyncChangeProcessor>(test_processor_), syncer 257 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc scoped_ptr<syncer::SyncErrorFactory>( syncer 258 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc new syncer::SyncErrorFactoryMock())); syncer 263 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc InitWithSyncDataTakeOutput(syncer::SyncDataList(), NULL); syncer 267 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc test_processor_->FailProcessSyncChangesWith(syncer::SyncError( syncer 268 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc FROM_HERE, syncer::SyncError::DATATYPE_ERROR, "Error", syncer 269 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SESSIONS)); syncer 272 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc void SetSyncData(const syncer::SyncDataList& data) { syncer 276 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncChangeList* FilterOutLocalHeaderChanges( syncer 277 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncChangeList* list) { syncer 278 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncChangeList::iterator it = list->begin(); syncer 281 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc if (syncer::SyncDataLocal(it->sync_data()).GetTag() == syncer 633 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncChangeList out; syncer 634 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc InitWithSyncDataTakeOutput(syncer::SyncDataList(), &out); syncer 642 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncDataLocal(data).GetTag()); syncer 655 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncDataLocal(data_2).GetTag()); syncer 664 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncDataList in(&d, &d + 1); syncer 667 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncMergeResult result = manager2.MergeDataAndStartSyncing( syncer 668 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SESSIONS, in, syncer 669 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 671 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc scoped_ptr<syncer::SyncErrorFactory>( syncer 672 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc new syncer::SyncErrorFactoryMock())); syncer 691 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncDataList in; syncer 692 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncChangeList out; syncer 713 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc manager()->StopSyncing(syncer::SESSIONS); syncer 731 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncMergeResult result = manager()->MergeDataAndStartSyncing( syncer 732 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SESSIONS, in, syncer 733 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 735 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc scoped_ptr<syncer::SyncErrorFactory>( syncer 736 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc new syncer::SyncErrorFactoryMock())); syncer 775 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncDataList initial_data; syncer 789 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncChangeList output; syncer 817 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncDataList foreign_data; syncer 823 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncChangeList output; syncer 832 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncDataLocal(data).GetTag()); syncer 845 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc EXPECT_TRUE(StartsWithASCII(syncer::SyncDataLocal(data).GetTag(), syncer 859 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncDataLocal(data_2).GetTag()); syncer 886 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncDataList foreign_data1; syncer 901 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncChangeList output1; syncer 918 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncChangeList changes; syncer 962 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncChangeList removal; syncer 978 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncChangeList changes; syncer 1018 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncDataLocal(changes[i].sync_data()).GetTag())); syncer 1035 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncChangeList adds; syncer 1073 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncChangeList changes; syncer 1108 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncChangeList out; syncer 1109 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc InitWithSyncDataTakeOutput(syncer::SyncDataList(), &out); syncer 1113 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc SetSyncData(syncer::SyncDataList(&d, &d + 1)); syncer 1116 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncChangeList changes; syncer 1141 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncDataLocal(out[1].sync_data()).GetTag()); syncer 1178 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncChangeList changes; syncer 1197 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncChangeList changes; syncer 1211 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncDataList in(&d, &d + 1); syncer 1214 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncMergeResult result = manager2.MergeDataAndStartSyncing( syncer 1215 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SESSIONS, in, syncer 1216 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 1218 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc scoped_ptr<syncer::SyncErrorFactory>( syncer 1219 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc new syncer::SyncErrorFactoryMock())); syncer 1225 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncChangeList changes; syncer 1232 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncDataList in(&d, &d + 1); syncer 1240 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncDataLocal(changes[0].sync_data()).GetTag()); syncer 1245 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncChangeList out; syncer 1248 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc InitWithSyncDataTakeOutput(syncer::SyncDataList(), &out); syncer 1261 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc StartsWithASCII(syncer::SyncDataLocal(out[0].sync_data()).GetTag(), syncer 1269 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc StartsWithASCII(syncer::SyncDataLocal(out[1].sync_data()).GetTag(), syncer 1281 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncDataLocal(data).GetTag()); syncer 1292 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncChangeList out; syncer 1294 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc InitWithSyncDataTakeOutput(syncer::SyncDataList(), &out); syncer 1325 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc EXPECT_TRUE(StartsWithASCII(syncer::SyncDataLocal(data).GetTag(), syncer 1334 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncDataLocal(data).GetTag()); syncer 1341 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncDataLocal(data).GetTag()); syncer 1348 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncDataLocal(data).GetTag()); syncer 1360 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncDataLocal(data).GetTag()); syncer 1407 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncChangeList out; syncer 1408 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc InitWithSyncDataTakeOutput(syncer::SyncDataList(), &out); syncer 1420 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncDataLocal(data).GetTag()); syncer 1433 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc EXPECT_TRUE(StartsWithASCII(syncer::SyncDataLocal(data).GetTag(), syncer 1450 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncDataLocal(data_2).GetTag()); syncer 1495 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncDataList foreign_data; syncer 1504 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncChangeList output; syncer 1520 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc EXPECT_EQ(tag1, syncer::SyncDataLocal(data).GetTag()); syncer 1525 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncDataLocal(data).GetTag()); syncer 1545 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncDataList foreign_data; syncer 1551 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncChangeList output; syncer 1558 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncChangeList changes; syncer 1559 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc changes.push_back(syncer::SyncChange( syncer 1562 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncData::CreateRemoteData(1, update_entity, syncer 1588 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncChangeList out; syncer 1589 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc InitWithSyncDataTakeOutput(syncer::SyncDataList(), &out); syncer 1682 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncChangeList changes; syncer 1711 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncChangeList changes; syncer 62 chrome/browser/sync/sessions2/tab_node_pool2.cc int TabNodePool2::GetFreeTabNode(syncer::SyncChangeList* append_changes) { syncer 76 chrome/browser/sync/sessions2/tab_node_pool2.cc append_changes->push_back(syncer::SyncChange( syncer 78 chrome/browser/sync/sessions2/tab_node_pool2.cc syncer::SyncChange::ACTION_ADD, syncer 79 chrome/browser/sync/sessions2/tab_node_pool2.cc syncer::SyncData::CreateLocalData(tab_node_tag, syncer 95 chrome/browser/sync/sessions2/tab_node_pool2.cc syncer::SyncChangeList* append_changes) { syncer 105 chrome/browser/sync/sessions2/tab_node_pool2.cc syncer::SyncChangeList* append_changes) { syncer 118 chrome/browser/sync/sessions2/tab_node_pool2.cc append_changes->push_back(syncer::SyncChange( syncer 120 chrome/browser/sync/sessions2/tab_node_pool2.cc syncer::SyncChange::ACTION_DELETE, syncer 121 chrome/browser/sync/sessions2/tab_node_pool2.cc syncer::SyncData::CreateLocalDelete(tab_node_tag, syncer 122 chrome/browser/sync/sessions2/tab_node_pool2.cc syncer::SESSIONS))); syncer 158 chrome/browser/sync/sessions2/tab_node_pool2.cc syncer::SyncChangeList* append_changes) { syncer 17 chrome/browser/sync/sessions2/tab_node_pool2.h namespace syncer { syncer 73 chrome/browser/sync/sessions2/tab_node_pool2.h int GetFreeTabNode(syncer::SyncChangeList* change_output); syncer 81 chrome/browser/sync/sessions2/tab_node_pool2.h void FreeTabNode(int tab_node_id, syncer::SyncChangeList* change_output); syncer 110 chrome/browser/sync/sessions2/tab_node_pool2.h void DeleteUnassociatedTabNodes(syncer::SyncChangeList* change_output); syncer 136 chrome/browser/sync/sessions2/tab_node_pool2.h syncer::SyncChangeList* change_output); syncer 36 chrome/browser/sync/sessions2/tab_node_pool2_unittest.cc syncer::SyncChangeList changes; syncer 64 chrome/browser/sync/sessions2/tab_node_pool2_unittest.cc syncer::SyncChangeList changes; syncer 108 chrome/browser/sync/sessions2/tab_node_pool2_unittest.cc syncer::SyncChangeList changes; syncer 144 chrome/browser/sync/sessions2/tab_node_pool2_unittest.cc syncer::SyncChangeList changes; syncer 159 chrome/browser/sync/sessions2/tab_node_pool2_unittest.cc syncer::SyncChangeList changes; syncer 214 chrome/browser/sync/sessions2/tab_node_pool2_unittest.cc syncer::SyncChangeList changes; syncer 217 chrome/browser/sync/sessions2/tab_node_pool2_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_ADD, changes[0].change_type()); syncer 228 chrome/browser/sync/sessions2/tab_node_pool2_unittest.cc syncer::SyncChangeList changes; syncer 69 chrome/browser/sync/startup_controller.cc void StartupController::Reset(const syncer::ModelTypeSet registered_types) { syncer 92 chrome/browser/sync/startup_controller.cc .Has(syncer::SESSIONS)) { syncer 203 chrome/browser/sync/startup_controller.cc void StartupController::OnDataTypeRequestsSyncStartup(syncer::ModelType type) { syncer 207 chrome/browser/sync/startup_controller.cc << syncer::ModelTypeToString(type); syncer 215 chrome/browser/sync/startup_controller.cc << syncer::ModelTypeToString(type); syncer 223 chrome/browser/sync/startup_controller.cc syncer::MODEL_TYPE_COUNT); syncer 55 chrome/browser/sync/startup_controller.h void OnDataTypeRequestsSyncStartup(syncer::ModelType type); syncer 59 chrome/browser/sync/startup_controller.h void Reset(const syncer::ModelTypeSet registered_types); syncer 115 chrome/browser/sync/startup_controller.h syncer::ModelTypeSet registered_types_; syncer 71 chrome/browser/sync/startup_controller_unittest.cc controller_->Reset(syncer::UserTypes()); syncer 163 chrome/browser/sync/startup_controller_unittest.cc controller()->OnDataTypeRequestsSyncStartup(syncer::SESSIONS); syncer 189 chrome/browser/sync/startup_controller_unittest.cc syncer::ModelTypeSet types(syncer::UserTypes()); syncer 191 chrome/browser/sync/startup_controller_unittest.cc types.Remove(syncer::SESSIONS); syncer 192 chrome/browser/sync/startup_controller_unittest.cc types.Remove(syncer::PROXY_TABS); syncer 193 chrome/browser/sync/startup_controller_unittest.cc types.Remove(syncer::TYPED_URLS); syncer 194 chrome/browser/sync/startup_controller_unittest.cc types.Remove(syncer::MANAGED_USER_SETTINGS); syncer 196 chrome/browser/sync/startup_controller_unittest.cc sync_prefs()->SetPreferredDataTypes(syncer::UserTypes(), types); syncer 197 chrome/browser/sync/startup_controller_unittest.cc controller()->Reset(syncer::UserTypes()); syncer 236 chrome/browser/sync/startup_controller_unittest.cc controller()->OnDataTypeRequestsSyncStartup(syncer::SESSIONS); syncer 239 chrome/browser/sync/startup_controller_unittest.cc controller()->Reset(syncer::UserTypes()); syncer 246 chrome/browser/sync/startup_controller_unittest.cc controller()->OnDataTypeRequestsSyncStartup(syncer::SESSIONS); syncer 256 chrome/browser/sync/startup_controller_unittest.cc controller()->Reset(syncer::UserTypes()); syncer 46 chrome/browser/sync/sync_startup_tracker_unittest.cc .WillByDefault(Return(syncer::ModelTypeSet())); syncer 106 chrome/browser/sync/sync_ui_util.cc const syncer::SyncProtocolError& error, syncer 110 chrome/browser/sync/sync_ui_util.cc case syncer::STOP_AND_RESTART_SYNC: syncer 114 chrome/browser/sync/sync_ui_util.cc case syncer::UPGRADE_CLIENT: syncer 119 chrome/browser/sync/sync_ui_util.cc case syncer::ENABLE_SYNC_ON_ACCOUNT: syncer 123 chrome/browser/sync/sync_ui_util.cc case syncer::CLEAR_USER_DATA_AND_RESYNC: syncer 215 chrome/browser/sync/sync_ui_util.cc status.sync_protocol_error.error_type == syncer::NOT_MY_BIRTHDAY) { syncer 294 chrome/browser/sync/sync_ui_util.cc if (service->passphrase_required_reason() == syncer::REASON_ENCRYPTION) { syncer 271 chrome/browser/sync/sync_ui_util_unittest.cc syncer::SyncProtocolError protocolError; syncer 272 chrome/browser/sync/sync_ui_util_unittest.cc protocolError.action = syncer::STOP_AND_RESTART_SYNC; syncer 92 chrome/browser/sync/test/integration/apps_helper.cc syncer::StringOrdinal GetPageOrdinalForApp(Profile* profile, syncer 100 chrome/browser/sync/test/integration/apps_helper.cc const syncer::StringOrdinal& page_ordinal) { syncer 105 chrome/browser/sync/test/integration/apps_helper.cc syncer::StringOrdinal GetAppLaunchOrdinalForApp(Profile* profile, syncer 114 chrome/browser/sync/test/integration/apps_helper.cc const syncer::StringOrdinal& app_launch_ordinal) { syncer 59 chrome/browser/sync/test/integration/apps_helper.h syncer::StringOrdinal GetPageOrdinalForApp(Profile* profile, int app_index); syncer 65 chrome/browser/sync/test/integration/apps_helper.h const syncer::StringOrdinal& page_ordinal); syncer 69 chrome/browser/sync/test/integration/apps_helper.h syncer::StringOrdinal GetAppLaunchOrdinalForApp( syncer 76 chrome/browser/sync/test/integration/apps_helper.h const syncer::StringOrdinal& app_launch_ordinal); syncer 27 chrome/browser/sync/test/integration/enable_disable_test.cc bool DoesTopLevelNodeExist(syncer::UserShare* user_share, syncer 28 chrome/browser/sync/test/integration/enable_disable_test.cc syncer::ModelType type) { syncer 29 chrome/browser/sync/test/integration/enable_disable_test.cc syncer::ReadTransaction trans(FROM_HERE, user_share); syncer 30 chrome/browser/sync/test/integration/enable_disable_test.cc syncer::ReadNode node(&trans); syncer 31 chrome/browser/sync/test/integration/enable_disable_test.cc return node.InitByTagLookup(syncer::ModelTypeToRootTag(type)) == syncer 32 chrome/browser/sync/test/integration/enable_disable_test.cc syncer::BaseNode::INIT_OK; syncer 39 chrome/browser/sync/test/integration/enable_disable_test.cc ASSERT_TRUE(GetClient(0)->SetupSync(syncer::ModelTypeSet())); syncer 46 chrome/browser/sync/test/integration/enable_disable_test.cc const syncer::ModelTypeSet registered_types = syncer 48 chrome/browser/sync/test/integration/enable_disable_test.cc syncer::UserShare* user_share = GetSyncService((0))->GetUserShare(); syncer 49 chrome/browser/sync/test/integration/enable_disable_test.cc for (syncer::ModelTypeSet::Iterator it = registered_types.First(); syncer 58 chrome/browser/sync/test/integration/enable_disable_test.cc if (it.Get() == syncer::AUTOFILL_PROFILE || it.Get() == syncer::SESSIONS) { syncer 62 chrome/browser/sync/test/integration/enable_disable_test.cc if (!syncer::ProxyTypes().Has(it.Get())) { syncer 64 chrome/browser/sync/test/integration/enable_disable_test.cc << syncer::ModelTypeToString(it.Get()); syncer 68 chrome/browser/sync/test/integration/enable_disable_test.cc if (it.Get() == syncer::AUTOFILL) { syncer 70 chrome/browser/sync/test/integration/enable_disable_test.cc syncer::AUTOFILL_PROFILE)); syncer 71 chrome/browser/sync/test/integration/enable_disable_test.cc } else if (it.Get() == syncer::HISTORY_DELETE_DIRECTIVES || syncer 72 chrome/browser/sync/test/integration/enable_disable_test.cc it.Get() == syncer::PROXY_TABS) { syncer 74 chrome/browser/sync/test/integration/enable_disable_test.cc syncer::SESSIONS)); syncer 92 chrome/browser/sync/test/integration/enable_disable_test.cc const syncer::ModelTypeSet registered_types = syncer 95 chrome/browser/sync/test/integration/enable_disable_test.cc syncer::UserShare* user_share = GetSyncService((0))->GetUserShare(); syncer 98 chrome/browser/sync/test/integration/enable_disable_test.cc for (syncer::ModelTypeSet::Iterator it = registered_types.First(); syncer 100 chrome/browser/sync/test/integration/enable_disable_test.cc if (!syncer::ProxyTypes().Has(it.Get())) { syncer 105 chrome/browser/sync/test/integration/enable_disable_test.cc for (syncer::ModelTypeSet::Iterator it = registered_types.First(); syncer 108 chrome/browser/sync/test/integration/enable_disable_test.cc if (it.Get() == syncer::MANAGED_USERS || syncer 109 chrome/browser/sync/test/integration/enable_disable_test.cc it.Get() == syncer::MANAGED_USER_SHARED_SETTINGS || syncer 110 chrome/browser/sync/test/integration/enable_disable_test.cc it.Get() == syncer::SYNCED_NOTIFICATIONS || syncer 111 chrome/browser/sync/test/integration/enable_disable_test.cc it.Get() == syncer::SYNCED_NOTIFICATION_APP_INFO) syncer 122 chrome/browser/sync/test/integration/enable_disable_test.cc if (it.Get() == syncer::AUTOFILL_PROFILE || syncer 123 chrome/browser/sync/test/integration/enable_disable_test.cc it.Get() == syncer::SESSIONS || syncer 124 chrome/browser/sync/test/integration/enable_disable_test.cc it.Get() == syncer::HISTORY_DELETE_DIRECTIVES || syncer 125 chrome/browser/sync/test/integration/enable_disable_test.cc it.Get() == syncer::PRIORITY_PREFERENCES || syncer 126 chrome/browser/sync/test/integration/enable_disable_test.cc it.Get() == syncer::FAVICON_IMAGES || syncer 127 chrome/browser/sync/test/integration/enable_disable_test.cc it.Get() == syncer::FAVICON_TRACKING) { syncer 131 chrome/browser/sync/test/integration/enable_disable_test.cc syncer::UserShare* user_share = syncer 135 chrome/browser/sync/test/integration/enable_disable_test.cc << syncer::ModelTypeToString(it.Get()); syncer 137 chrome/browser/sync/test/integration/enable_disable_test.cc if (it.Get() == syncer::AUTOFILL) { syncer 139 chrome/browser/sync/test/integration/enable_disable_test.cc ASSERT_FALSE(DoesTopLevelNodeExist(user_share, syncer::AUTOFILL_PROFILE)); syncer 140 chrome/browser/sync/test/integration/enable_disable_test.cc } else if (it.Get() == syncer::TYPED_URLS) { syncer 142 chrome/browser/sync/test/integration/enable_disable_test.cc syncer::HISTORY_DELETE_DIRECTIVES)); syncer 144 chrome/browser/sync/test/integration/enable_disable_test.cc ASSERT_EQ(GetClient(0)->IsTypePreferred(syncer::PROXY_TABS), syncer 145 chrome/browser/sync/test/integration/enable_disable_test.cc DoesTopLevelNodeExist(user_share, syncer::SESSIONS)); syncer 146 chrome/browser/sync/test/integration/enable_disable_test.cc } else if (it.Get() == syncer::PROXY_TABS) { syncer 148 chrome/browser/sync/test/integration/enable_disable_test.cc ASSERT_EQ(GetClient(0)->IsTypePreferred(syncer::TYPED_URLS), syncer 149 chrome/browser/sync/test/integration/enable_disable_test.cc DoesTopLevelNodeExist(user_share, syncer::SESSIONS)); syncer 150 chrome/browser/sync/test/integration/enable_disable_test.cc } else if (it.Get() == syncer::PREFERENCES) { syncer 152 chrome/browser/sync/test/integration/enable_disable_test.cc syncer::PRIORITY_PREFERENCES)); syncer 32 chrome/browser/sync/test/integration/migration_test.cc syncer::ModelTypeSet MakeSet(syncer::ModelType type) { syncer 33 chrome/browser/sync/test/integration/migration_test.cc return syncer::ModelTypeSet(type); syncer 36 chrome/browser/sync/test/integration/migration_test.cc syncer::ModelTypeSet MakeSet(syncer::ModelType type1, syncer 37 chrome/browser/sync/test/integration/migration_test.cc syncer::ModelType type2) { syncer 38 chrome/browser/sync/test/integration/migration_test.cc return syncer::ModelTypeSet(type1, type2); syncer 43 chrome/browser/sync/test/integration/migration_test.cc typedef std::deque<syncer::ModelTypeSet> MigrationList; syncer 48 chrome/browser/sync/test/integration/migration_test.cc MigrationList MakeList(syncer::ModelTypeSet model_types) { syncer 52 chrome/browser/sync/test/integration/migration_test.cc MigrationList MakeList(syncer::ModelTypeSet model_types1, syncer 53 chrome/browser/sync/test/integration/migration_test.cc syncer::ModelTypeSet model_types2) { syncer 60 chrome/browser/sync/test/integration/migration_test.cc MigrationList MakeList(syncer::ModelType type) { syncer 64 chrome/browser/sync/test/integration/migration_test.cc MigrationList MakeList(syncer::ModelType type1, syncer 65 chrome/browser/sync/test/integration/migration_test.cc syncer::ModelType type2) { syncer 94 chrome/browser/sync/test/integration/migration_test.cc << syncer::ModelTypeSetToString(migrated_types_) syncer 97 chrome/browser/sync/test/integration/migration_test.cc << syncer::ModelTypeSetToString(expected_types_); syncer 112 chrome/browser/sync/test/integration/migration_test.cc void set_expected_types(syncer::ModelTypeSet expected_types) { syncer 116 chrome/browser/sync/test/integration/migration_test.cc syncer::ModelTypeSet migrated_types() const { syncer 129 chrome/browser/sync/test/integration/migration_test.cc << syncer::ModelTypeSetToString(pending_types_); syncer 136 chrome/browser/sync/test/integration/migration_test.cc << syncer::ModelTypeSetToString(migrated_types_); syncer 149 chrome/browser/sync/test/integration/migration_test.cc syncer::ModelTypeSet expected_types_; syncer 152 chrome/browser/sync/test/integration/migration_test.cc syncer::ModelTypeSet pending_types_; syncer 156 chrome/browser/sync/test/integration/migration_test.cc syncer::ModelTypeSet migrated_types_; syncer 182 chrome/browser/sync/test/integration/migration_test.cc syncer::ModelTypeSet GetPreferredDataTypes() { syncer 186 chrome/browser/sync/test/integration/migration_test.cc syncer::ModelTypeSet preferred_data_types = syncer 188 chrome/browser/sync/test/integration/migration_test.cc preferred_data_types.RemoveAll(syncer::ProxyTypes()); syncer 191 chrome/browser/sync/test/integration/migration_test.cc const syncer::ModelTypeSet other_preferred_data_types = syncer 202 chrome/browser/sync/test/integration/migration_test.cc const syncer::ModelTypeSet preferred_data_types = syncer 204 chrome/browser/sync/test/integration/migration_test.cc for (syncer::ModelTypeSet::Iterator it = syncer 212 chrome/browser/sync/test/integration/migration_test.cc void TriggerMigration(syncer::ModelTypeSet model_types, syncer 237 chrome/browser/sync/test/integration/migration_test.cc void AwaitMigration(syncer::ModelTypeSet migrate_types) { syncer 335 chrome/browser/sync/test/integration/migration_test.cc RunSingleClientMigrationTest(MakeList(syncer::PREFERENCES), MODIFY_PREF); syncer 339 chrome/browser/sync/test/integration/migration_test.cc RunSingleClientMigrationTest(MakeList(syncer::PREFERENCES), syncer 345 chrome/browser/sync/test/integration/migration_test.cc RunSingleClientMigrationTest(MakeList(syncer::PREFERENCES), syncer 352 chrome/browser/sync/test/integration/migration_test.cc RunSingleClientMigrationTest(MakeList(syncer::PREFERENCES), syncer 361 chrome/browser/sync/test/integration/migration_test.cc MakeList(syncer::BOOKMARKS, syncer::PREFERENCES), syncer 367 chrome/browser/sync/test/integration/migration_test.cc MakeList(MakeSet(syncer::BOOKMARKS, syncer::PREFERENCES)), syncer 377 chrome/browser/sync/test/integration/migration_test.cc MakeList(syncer::PREFERENCES, syncer::NIGORI), syncer 383 chrome/browser/sync/test/integration/migration_test.cc MakeList(MakeSet(syncer::PREFERENCES, syncer::NIGORI)), syncer 421 chrome/browser/sync/test/integration/migration_test.cc migration_list.push_front(MakeSet(syncer::NIGORI)); syncer 428 chrome/browser/sync/test/integration/migration_test.cc syncer::ModelTypeSet all_types = GetPreferredDataTypes(); syncer 429 chrome/browser/sync/test/integration/migration_test.cc all_types.Put(syncer::NIGORI); syncer 470 chrome/browser/sync/test/integration/migration_test.cc RunTwoClientMigrationTest(MakeList(syncer::PREFERENCES), syncer 479 chrome/browser/sync/test/integration/migration_test.cc MakeList(syncer::PREFERENCES, syncer::BOOKMARKS), syncer 495 chrome/browser/sync/test/integration/migration_test.cc migration_list.push_front(MakeSet(syncer::THEMES)); syncer 506 chrome/browser/sync/test/integration/migration_test.cc migration_list.push_front(MakeSet(syncer::THEMES)); syncer 510 chrome/browser/sync/test/integration/migration_test.cc ASSERT_FALSE(migration_list.back().Equals(MakeSet(syncer::NIGORI))); syncer 511 chrome/browser/sync/test/integration/migration_test.cc migration_list.back() = MakeSet(syncer::NIGORI); syncer 26 chrome/browser/sync/test/integration/p2p_invalidation_forwarder.cc const syncer::sessions::SyncSessionSnapshot& snap = syncer 31 chrome/browser/sync/test/integration/p2p_invalidation_forwarder.cc syncer::ModelTypeSet model_types = syncer 33 chrome/browser/sync/test/integration/p2p_invalidation_forwarder.cc syncer::ObjectIdSet ids = ModelTypeSetToObjectIdSet(model_types); syncer 26 chrome/browser/sync/test/integration/performance/typed_urls_sync_perf_test.cc ((kNumUrls % syncer::kDefaultMaxCommitBatchSize) >= syncer 27 chrome/browser/sync/test/integration/performance/typed_urls_sync_perf_test.cc (syncer::kDefaultMaxCommitBatchSize / 2)) && syncer 28 chrome/browser/sync/test/integration/performance/typed_urls_sync_perf_test.cc ((kNumUrls % syncer::kDefaultMaxCommitBatchSize) <= syncer 29 chrome/browser/sync/test/integration/performance/typed_urls_sync_perf_test.cc ((syncer::kDefaultMaxCommitBatchSize + 1) / 2)), syncer 39 chrome/browser/sync/test/integration/profile_sync_service_harness.cc using syncer::sessions::SyncSessionSnapshot; syncer 85 chrome/browser/sync/test/integration/profile_sync_service_harness.cc if (service()->passphrase_required_reason() == syncer::REASON_DECRYPTION) syncer 136 chrome/browser/sync/test/integration/profile_sync_service_harness.cc bool result = SetupSync(syncer::ModelTypeSet::All()); syncer 148 chrome/browser/sync/test/integration/profile_sync_service_harness.cc syncer::ModelTypeSet synced_datatypes) { syncer 187 chrome/browser/sync/test/integration/profile_sync_service_harness.cc if (service()->passphrase_required_reason() == syncer::REASON_DECRYPTION) { syncer 202 chrome/browser/sync/test/integration/profile_sync_service_harness.cc synced_datatypes.Equals(syncer::ModelTypeSet::All()); syncer 227 chrome/browser/sync/test/integration/profile_sync_service_harness.cc if (service()->passphrase_required_reason() == syncer::REASON_DECRYPTION) { syncer 297 chrome/browser/sync/test/integration/profile_sync_service_harness.cc syncer::ModelType datatype) { syncer 300 chrome/browser/sync/test/integration/profile_sync_service_harness.cc + std::string(syncer::ModelTypeToString(datatype)) + ")"); syncer 303 chrome/browser/sync/test/integration/profile_sync_service_harness.cc return SetupSync(syncer::ModelTypeSet(datatype)); syncer 310 chrome/browser/sync/test/integration/profile_sync_service_harness.cc syncer::ModelTypeSet synced_datatypes = service()->GetPreferredDataTypes(); syncer 313 chrome/browser/sync/test/integration/profile_sync_service_harness.cc << syncer::ModelTypeToString(datatype) syncer 318 chrome/browser/sync/test/integration/profile_sync_service_harness.cc synced_datatypes.Put(syncer::ModelTypeFromInt(datatype)); syncer 322 chrome/browser/sync/test/integration/profile_sync_service_harness.cc << syncer::ModelTypeToString(datatype) syncer 332 chrome/browser/sync/test/integration/profile_sync_service_harness.cc syncer::ModelType datatype) { syncer 335 chrome/browser/sync/test/integration/profile_sync_service_harness.cc + std::string(syncer::ModelTypeToString(datatype)) + ")"); syncer 342 chrome/browser/sync/test/integration/profile_sync_service_harness.cc syncer::ModelTypeSet synced_datatypes = service()->GetPreferredDataTypes(); syncer 345 chrome/browser/sync/test/integration/profile_sync_service_harness.cc << syncer::ModelTypeToString(datatype) syncer 350 chrome/browser/sync/test/integration/profile_sync_service_harness.cc synced_datatypes.RetainAll(syncer::UserSelectableTypes()); syncer 355 chrome/browser/sync/test/integration/profile_sync_service_harness.cc << syncer::ModelTypeToString(datatype) syncer 375 chrome/browser/sync/test/integration/profile_sync_service_harness.cc service()->OnUserChoseDatatypes(true, syncer::ModelTypeSet::All()); syncer 416 chrome/browser/sync/test/integration/profile_sync_service_harness.cc snap.model_neutral_state().commit_result == syncer::SYNCER_OK) syncer 426 chrome/browser/sync/test/integration/profile_sync_service_harness.cc << syncer::PassphraseRequiredReasonToString( syncer 438 chrome/browser/sync/test/integration/profile_sync_service_harness.cc bool ProfileSyncServiceHarness::IsTypePreferred(syncer::ModelType type) { syncer 43 chrome/browser/sync/test/integration/profile_sync_service_harness.h bool SetupSync(syncer::ModelTypeSet synced_datatypes); syncer 75 chrome/browser/sync/test/integration/profile_sync_service_harness.h bool EnableSyncForDatatype(syncer::ModelType datatype); syncer 78 chrome/browser/sync/test/integration/profile_sync_service_harness.h bool DisableSyncForDatatype(syncer::ModelType datatype); syncer 87 chrome/browser/sync/test/integration/profile_sync_service_harness.h syncer::sessions::SyncSessionSnapshot GetLastSessionSnapshot() const; syncer 90 chrome/browser/sync/test/integration/profile_sync_service_harness.h bool IsTypePreferred(syncer::ModelType type); syncer 24 chrome/browser/sync/test/integration/quiesce_status_change_checker.cc const syncer::ModelTypeSet common_types = syncer 28 chrome/browser/sync/test/integration/quiesce_status_change_checker.cc const syncer::sessions::SyncSessionSnapshot& snap1 = syncer 30 chrome/browser/sync/test/integration/quiesce_status_change_checker.cc const syncer::sessions::SyncSessionSnapshot& snap2 = syncer 33 chrome/browser/sync/test/integration/quiesce_status_change_checker.cc for (syncer::ModelTypeSet::Iterator type_it = common_types.First(); syncer 36 chrome/browser/sync/test/integration/quiesce_status_change_checker.cc syncer::ProgressMarkerMap::const_iterator pm_it1 = syncer 42 chrome/browser/sync/test/integration/quiesce_status_change_checker.cc syncer::ProgressMarkerMap::const_iterator pm_it2 = syncer 131 chrome/browser/sync/test/integration/quiesce_status_change_checker.cc const syncer::sessions::SyncSessionSnapshot& snap = syncer 18 chrome/browser/sync/test/integration/retry_verifier.cc syncer::kBackoffRandomizationFactor); syncer 22 chrome/browser/sync/test/integration/retry_verifier.cc syncer::kBackoffRandomizationFactor); syncer 26 chrome/browser/sync/test/integration/retry_verifier.cc std::min(delay_info.min_delay, syncer::kMaxBackoffSeconds)); syncer 29 chrome/browser/sync/test/integration/retry_verifier.cc std::min(delay_info.max_delay, syncer::kMaxBackoffSeconds)); syncer 80 chrome/browser/sync/test/integration/retry_verifier.cc const syncer::sessions::SyncSessionSnapshot& snap) { syncer 89 chrome/browser/sync/test/integration/retry_verifier.cc const syncer::sessions::SyncSessionSnapshot& snap) { syncer 10 chrome/browser/sync/test/integration/retry_verifier.h namespace syncer { syncer 34 chrome/browser/sync/test/integration/retry_verifier.h void Initialize(const syncer::sessions::SyncSessionSnapshot& snap); syncer 36 chrome/browser/sync/test/integration/retry_verifier.h const syncer::sessions::SyncSessionSnapshot& snap); syncer 192 chrome/browser/sync/test/integration/sessions_helper.cc syncer::SyncableService::StartSyncFlare()); syncer 33 chrome/browser/sync/test/integration/sync_app_helper.cc syncer::StringOrdinal app_launch_ordinal; syncer 34 chrome/browser/sync/test/integration/sync_app_helper.cc syncer::StringOrdinal page_ordinal; syncer 157 chrome/browser/sync/test/integration/sync_app_helper.cc syncer::StringOrdinal SyncAppHelper::GetPageOrdinalForApp( syncer 167 chrome/browser/sync/test/integration/sync_app_helper.cc const syncer::StringOrdinal& page_ordinal) { syncer 172 chrome/browser/sync/test/integration/sync_app_helper.cc syncer::StringOrdinal SyncAppHelper::GetAppLaunchOrdinalForApp( syncer 182 chrome/browser/sync/test/integration/sync_app_helper.cc const syncer::StringOrdinal& app_launch_ordinal) { syncer 31 chrome/browser/sync/test/integration/sync_app_helper.h syncer::StringOrdinal GetPageOrdinalForApp(Profile* profile, syncer 38 chrome/browser/sync/test/integration/sync_app_helper.h const syncer::StringOrdinal& page_ordinal); syncer 42 chrome/browser/sync/test/integration/sync_app_helper.h syncer::StringOrdinal GetAppLaunchOrdinalForApp(Profile* profile, syncer 50 chrome/browser/sync/test/integration/sync_app_helper.h const syncer::StringOrdinal& app_launch_ordinal); syncer 69 chrome/browser/sync/test/integration/sync_errors_test.cc return (status.sync_protocol_error.action != syncer::UNKNOWN_ACTION && syncer 103 chrome/browser/sync/test/integration/sync_errors_test.cc syncer::SyncProtocolError protocol_error; syncer 104 chrome/browser/sync/test/integration/sync_errors_test.cc protocol_error.error_type = syncer::TRANSIENT_ERROR; syncer 105 chrome/browser/sync/test/integration/sync_errors_test.cc protocol_error.action = syncer::UPGRADE_CLIENT; syncer 132 chrome/browser/sync/test/integration/sync_errors_test.cc syncer::SyncProtocolError protocol_error; syncer 133 chrome/browser/sync/test/integration/sync_errors_test.cc protocol_error.error_type = syncer::TRANSIENT_ERROR; syncer 148 chrome/browser/sync/test/integration/sync_errors_test.cc ASSERT_TRUE(GetClient(0)->DisableSyncForDatatype(syncer::AUTOFILL)); syncer 155 chrome/browser/sync/test/integration/sync_errors_test.cc ASSERT_TRUE(GetClient(0)->EnableSyncForDatatype(syncer::AUTOFILL)); syncer 167 chrome/browser/sync/test/integration/sync_errors_test.cc syncer::SyncProtocolError protocol_error; syncer 168 chrome/browser/sync/test/integration/sync_errors_test.cc protocol_error.error_type = syncer::NOT_MY_BIRTHDAY; syncer 169 chrome/browser/sync/test/integration/sync_errors_test.cc protocol_error.action = syncer::DISABLE_SYNC_ON_CLIENT; syncer 190 chrome/browser/sync/test/integration/sync_errors_test.cc syncer::ModelTypeSet synced_datatypes = syncer 192 chrome/browser/sync/test/integration/sync_errors_test.cc ASSERT_TRUE(synced_datatypes.Has(syncer::TYPED_URLS)); syncer 197 chrome/browser/sync/test/integration/sync_errors_test.cc ASSERT_FALSE(synced_datatypes.Has(syncer::TYPED_URLS)); syncer 18 chrome/browser/sync/test/integration/sync_exponential_backoff_test.cc using syncer::sessions::SyncSessionSnapshot; syncer 75 chrome/browser/sync/test/integration/sync_extension_helper.cc syncer::StringOrdinal(), syncer 140 chrome/browser/sync/test/integration/sync_test.cc syncer::P2PNotificationTarget notification_target) { syncer 154 chrome/browser/sync/test/integration/sync_test.cc return BuildP2PInvalidationService(context, syncer::NOTIFY_ALL); syncer 159 chrome/browser/sync/test/integration/sync_test.cc return BuildP2PInvalidationService(context, syncer::NOTIFY_OTHERS); syncer 372 chrome/browser/sync/test/integration/sync_test.cc make_scoped_ptr<syncer::NetworkResources>( syncer 763 chrome/browser/sync/test/integration/sync_test.cc const syncer::ModelTypeSet synced_datatypes = syncer 765 chrome/browser/sync/test/integration/sync_test.cc bool sync_everything = synced_datatypes.Equals(syncer::ModelTypeSet::All()); syncer 820 chrome/browser/sync/test/integration/sync_test.cc void SyncTest::TriggerNotification(syncer::ModelTypeSet changed_types) { syncer 823 chrome/browser/sync/test/integration/sync_test.cc syncer::P2PNotificationData( syncer 825 chrome/browser/sync/test/integration/sync_test.cc syncer::NOTIFY_ALL, syncer 826 chrome/browser/sync/test/integration/sync_test.cc syncer::ObjectIdInvalidationMap::InvalidateAll( syncer 827 chrome/browser/sync/test/integration/sync_test.cc syncer::ModelTypeSetToObjectIdSet(changed_types))).ToString(); syncer 830 chrome/browser/sync/test/integration/sync_test.cc syncer::kSyncP2PNotificationChannel + "&data=" + data; syncer 845 chrome/browser/sync/test/integration/sync_test.cc void SyncTest::TriggerMigrationDoneError(syncer::ModelTypeSet model_types) { syncer 849 chrome/browser/sync/test/integration/sync_test.cc for (syncer::ModelTypeSet::Iterator it = model_types.First(); syncer 854 chrome/browser/sync/test/integration/sync_test.cc syncer::GetSpecificsFieldNumberFromModelType(it.Get()))); syncer 902 chrome/browser/sync/test/integration/sync_test.cc syncer::SyncProtocolErrorType error) { syncer 904 chrome/browser/sync/test/integration/sync_test.cc case syncer::SYNC_SUCCESS: syncer 906 chrome/browser/sync/test/integration/sync_test.cc case syncer::NOT_MY_BIRTHDAY: syncer 908 chrome/browser/sync/test/integration/sync_test.cc case syncer::THROTTLED: syncer 910 chrome/browser/sync/test/integration/sync_test.cc case syncer::CLEAR_PENDING: syncer 912 chrome/browser/sync/test/integration/sync_test.cc case syncer::TRANSIENT_ERROR: syncer 914 chrome/browser/sync/test/integration/sync_test.cc case syncer::MIGRATION_DONE: syncer 916 chrome/browser/sync/test/integration/sync_test.cc case syncer::UNKNOWN_ERROR: syncer 925 chrome/browser/sync/test/integration/sync_test.cc const syncer::ClientAction& action) { syncer 927 chrome/browser/sync/test/integration/sync_test.cc case syncer::UPGRADE_CLIENT: syncer 929 chrome/browser/sync/test/integration/sync_test.cc case syncer::CLEAR_USER_DATA_AND_RESYNC: syncer 931 chrome/browser/sync/test/integration/sync_test.cc case syncer::ENABLE_SYNC_ON_ACCOUNT: syncer 933 chrome/browser/sync/test/integration/sync_test.cc case syncer::STOP_AND_RESTART_SYNC: syncer 935 chrome/browser/sync/test/integration/sync_test.cc case syncer::DISABLE_SYNC_ON_CLIENT: syncer 937 chrome/browser/sync/test/integration/sync_test.cc case syncer::UNKNOWN_ACTION: syncer 947 chrome/browser/sync/test/integration/sync_test.cc void SyncTest::TriggerSyncError(const syncer::SyncProtocolError& error, syncer 214 chrome/browser/sync/test/integration/sync_test.h void TriggerNotification(syncer::ModelTypeSet changed_types); syncer 222 chrome/browser/sync/test/integration/sync_test.h void TriggerMigrationDoneError(syncer::ModelTypeSet model_types); syncer 245 chrome/browser/sync/test/integration/sync_test.h void TriggerSyncError(const syncer::SyncProtocolError& error, syncer 351 chrome/browser/sync/test/integration/sync_test.h syncer::LocalSyncTestServer sync_server_; syncer 352 chrome/browser/sync/test/integration/two_client_app_list_sync_test.cc ASSERT_TRUE(GetClient(1)->DisableSyncForDatatype(syncer::APP_LIST)); syncer 359 chrome/browser/sync/test/integration/two_client_app_list_sync_test.cc ASSERT_TRUE(GetClient(1)->EnableSyncForDatatype(syncer::APP_LIST)); syncer 310 chrome/browser/sync/test/integration/two_client_apps_sync_test.cc ASSERT_TRUE(GetClient(1)->DisableSyncForDatatype(syncer::APPS)); syncer 317 chrome/browser/sync/test/integration/two_client_apps_sync_test.cc ASSERT_TRUE(GetClient(1)->EnableSyncForDatatype(syncer::APPS)); syncer 355 chrome/browser/sync/test/integration/two_client_apps_sync_test.cc syncer::StringOrdinal initial_page = syncer 356 chrome/browser/sync/test/integration/two_client_apps_sync_test.cc syncer::StringOrdinal::CreateInitialOrdinal(); syncer 363 chrome/browser/sync/test/integration/two_client_apps_sync_test.cc syncer::StringOrdinal second_page = initial_page.CreateAfter(); syncer 383 chrome/browser/sync/test/integration/two_client_apps_sync_test.cc syncer::StringOrdinal initial_position = syncer 386 chrome/browser/sync/test/integration/two_client_apps_sync_test.cc syncer::StringOrdinal second_position = initial_position.CreateAfter(); syncer 401 chrome/browser/sync/test/integration/two_client_apps_sync_test.cc syncer::StringOrdinal cws_app_launch_ordinal = syncer 417 chrome/browser/sync/test/integration/two_client_apps_sync_test.cc syncer::StringOrdinal cws_page_ordinal = syncer 359 chrome/browser/sync/test/integration/two_client_autofill_sync_test.cc ASSERT_TRUE(GetClient(0)->DisableSyncForDatatype(syncer::AUTOFILL)); syncer 367 chrome/browser/sync/test/integration/two_client_autofill_sync_test.cc ASSERT_TRUE(GetClient(0)->EnableSyncForDatatype(syncer::AUTOFILL)); syncer 1557 chrome/browser/sync/test/integration/two_client_bookmarks_sync_test.cc ASSERT_TRUE(GetClient(1)->DisableSyncForDatatype(syncer::BOOKMARKS)); syncer 1562 chrome/browser/sync/test/integration/two_client_bookmarks_sync_test.cc ASSERT_TRUE(GetClient(1)->EnableSyncForDatatype(syncer::BOOKMARKS)); syncer 1612 chrome/browser/sync/test/integration/two_client_bookmarks_sync_test.cc ASSERT_TRUE(GetClient(1)->DisableSyncForDatatype(syncer::BOOKMARKS)); syncer 1633 chrome/browser/sync/test/integration/two_client_bookmarks_sync_test.cc ASSERT_TRUE(GetClient(1)->EnableSyncForDatatype(syncer::BOOKMARKS)); syncer 249 chrome/browser/sync/test/integration/two_client_extensions_sync_test.cc ASSERT_TRUE(GetClient(1)->DisableSyncForDatatype(syncer::EXTENSIONS)); syncer 256 chrome/browser/sync/test/integration/two_client_extensions_sync_test.cc ASSERT_TRUE(GetClient(1)->EnableSyncForDatatype(syncer::EXTENSIONS)); syncer 80 chrome/browser/sync/test/integration/two_client_passwords_sync_test.cc ASSERT_TRUE(GetClient(1)->DisableSyncForDatatype(syncer::PASSWORDS)); syncer 91 chrome/browser/sync/test/integration/two_client_passwords_sync_test.cc ASSERT_TRUE(GetClient(1)->EnableSyncForDatatype(syncer::PASSWORDS)); syncer 257 chrome/browser/sync/test/integration/two_client_passwords_sync_test.cc syncer::ModelSafeRoutingInfo routes; syncer 259 chrome/browser/sync/test/integration/two_client_passwords_sync_test.cc ASSERT_EQ(syncer::GROUP_PASSWORD, routes[syncer::PASSWORDS]); syncer 262 chrome/browser/sync/test/integration/two_client_passwords_sync_test.cc ASSERT_EQ(syncer::GROUP_PASSWORD, routes[syncer::PASSWORDS]); syncer 85 chrome/browser/sync/test/integration/two_client_preferences_sync_test.cc GetClient(0)->DisableSyncForDatatype(syncer::THEMES); syncer 98 chrome/browser/sync/test/integration/two_client_preferences_sync_test.cc GetClient(1)->DisableSyncForDatatype(syncer::PREFERENCES); syncer 103 chrome/browser/sync/test/integration/two_client_preferences_sync_test.cc GetClient(1)->EnableSyncForDatatype(syncer::PREFERENCES); syncer 144 chrome/browser/sync/test/integration/two_client_preferences_sync_test.cc GetClient(0)->DisableSyncForDatatype(syncer::PREFERENCES); syncer 145 chrome/browser/sync/test/integration/two_client_preferences_sync_test.cc GetClient(1)->EnableSyncForDatatype(syncer::PREFERENCES); syncer 146 chrome/browser/sync/test/integration/two_client_preferences_sync_test.cc GetClient(0)->DisableSyncForDatatype(syncer::AUTOFILL); syncer 147 chrome/browser/sync/test/integration/two_client_preferences_sync_test.cc GetClient(1)->EnableSyncForDatatype(syncer::AUTOFILL); syncer 148 chrome/browser/sync/test/integration/two_client_preferences_sync_test.cc GetClient(0)->DisableSyncForDatatype(syncer::BOOKMARKS); syncer 149 chrome/browser/sync/test/integration/two_client_preferences_sync_test.cc GetClient(1)->EnableSyncForDatatype(syncer::BOOKMARKS); syncer 150 chrome/browser/sync/test/integration/two_client_preferences_sync_test.cc GetClient(0)->DisableSyncForDatatype(syncer::EXTENSIONS); syncer 151 chrome/browser/sync/test/integration/two_client_preferences_sync_test.cc GetClient(1)->EnableSyncForDatatype(syncer::EXTENSIONS); syncer 152 chrome/browser/sync/test/integration/two_client_preferences_sync_test.cc GetClient(0)->DisableSyncForDatatype(syncer::THEMES); syncer 153 chrome/browser/sync/test/integration/two_client_preferences_sync_test.cc GetClient(1)->EnableSyncForDatatype(syncer::THEMES); syncer 206 chrome/browser/sync/test/integration/two_client_themes_sync_test.cc ASSERT_TRUE(GetClient(1)->DisableSyncForDatatype(syncer::THEMES)); syncer 215 chrome/browser/sync/test/integration/two_client_themes_sync_test.cc ASSERT_TRUE(GetClient(1)->EnableSyncForDatatype(syncer::THEMES)); syncer 199 chrome/browser/sync/test/integration/two_client_typed_urls_sync_test.cc GetClient(0)->DisableSyncForDatatype(syncer::TYPED_URLS); syncer 218 chrome/browser/sync/test/integration/two_client_typed_urls_sync_test.cc GetClient(0)->EnableSyncForDatatype(syncer::TYPED_URLS); syncer 38 chrome/browser/sync/test/integration/updated_progress_marker_checker.cc const syncer::sessions::SyncSessionSnapshot& snap = syncer 36 chrome/browser/sync/test/test_http_bridge_factory.cc syncer::HttpPostProviderInterface* TestHttpBridgeFactory::Create() { syncer 40 chrome/browser/sync/test/test_http_bridge_factory.cc void TestHttpBridgeFactory::Destroy(syncer::HttpPostProviderInterface* http) { syncer 14 chrome/browser/sync/test/test_http_bridge_factory.h class TestHttpBridge : public syncer::HttpPostProviderInterface { syncer 39 chrome/browser/sync/test/test_http_bridge_factory.h class TestHttpBridgeFactory : public syncer::HttpPostProviderFactory { syncer 46 chrome/browser/sync/test/test_http_bridge_factory.h virtual syncer::HttpPostProviderInterface* Create() OVERRIDE; syncer 47 chrome/browser/sync/test/test_http_bridge_factory.h virtual void Destroy(syncer::HttpPostProviderInterface* http) OVERRIDE; syncer 26 chrome/browser/sync/test_profile_sync_service.cc using syncer::InternalComponentsFactory; syncer 27 chrome/browser/sync/test_profile_sync_service.cc using syncer::TestInternalComponentsFactory; syncer 28 chrome/browser/sync/test_profile_sync_service.cc using syncer::UserShare; syncer 46 chrome/browser/sync/test_profile_sync_service.cc scoped_ptr<syncer::HttpPostProviderFactory>( syncer 49 chrome/browser/sync/test_profile_sync_service.cc new syncer::SyncManagerFactoryForProfileSyncTest(callback_)); syncer 61 chrome/browser/sync/test_profile_sync_service.cc syncer::STORAGE_IN_MEMORY)); syncer 67 chrome/browser/sync/test_profile_sync_service.cc syncer::ConfigureReason reason, syncer 68 chrome/browser/sync/test_profile_sync_service.cc syncer::ModelTypeSet to_download, syncer 69 chrome/browser/sync/test_profile_sync_service.cc syncer::ModelTypeSet to_purge, syncer 70 chrome/browser/sync/test_profile_sync_service.cc syncer::ModelTypeSet to_journal, syncer 71 chrome/browser/sync/test_profile_sync_service.cc syncer::ModelTypeSet to_unapply, syncer 72 chrome/browser/sync/test_profile_sync_service.cc syncer::ModelTypeSet to_ignore, syncer 73 chrome/browser/sync/test_profile_sync_service.cc const syncer::ModelSafeRoutingInfo& routing_info, syncer 74 chrome/browser/sync/test_profile_sync_service.cc const base::Callback<void(syncer::ModelTypeSet, syncer 75 chrome/browser/sync/test_profile_sync_service.cc syncer::ModelTypeSet)>& ready_task, syncer 77 chrome/browser/sync/test_profile_sync_service.cc syncer::ModelTypeSet failed_configuration_types; syncer 84 chrome/browser/sync/test_profile_sync_service.cc syncer::Difference(to_download, failed_configuration_types), syncer 85 chrome/browser/sync/test_profile_sync_service.cc syncer::Difference(to_download, failed_configuration_types), syncer 92 chrome/browser/sync/test_profile_sync_service.cc syncer::TestIdFactory* TestProfileSyncService::id_factory() { syncer 96 chrome/browser/sync/test_profile_sync_service.cc syncer::WeakHandle<syncer::JsEventHandler> syncer 98 chrome/browser/sync/test_profile_sync_service.cc return syncer::WeakHandle<syncer::JsEventHandler>(); syncer 46 chrome/browser/sync/test_profile_sync_service.h syncer::ConfigureReason reason, syncer 47 chrome/browser/sync/test_profile_sync_service.h syncer::ModelTypeSet to_download, syncer 48 chrome/browser/sync/test_profile_sync_service.h syncer::ModelTypeSet to_purge, syncer 49 chrome/browser/sync/test_profile_sync_service.h syncer::ModelTypeSet to_journal, syncer 50 chrome/browser/sync/test_profile_sync_service.h syncer::ModelTypeSet to_unapply, syncer 51 chrome/browser/sync/test_profile_sync_service.h syncer::ModelTypeSet to_ignore, syncer 52 chrome/browser/sync/test_profile_sync_service.h const syncer::ModelSafeRoutingInfo& routing_info, syncer 53 chrome/browser/sync/test_profile_sync_service.h const base::Callback<void(syncer::ModelTypeSet, syncer 54 chrome/browser/sync/test_profile_sync_service.h syncer::ModelTypeSet)>& ready_task, syncer 86 chrome/browser/sync/test_profile_sync_service.h virtual syncer::UserShare* GetUserShare() const OVERRIDE; syncer 93 chrome/browser/sync/test_profile_sync_service.h syncer::TestIdFactory* id_factory(); syncer 101 chrome/browser/sync/test_profile_sync_service.h virtual syncer::WeakHandle<syncer::JsEventHandler> GetJsEventHandler() syncer 105 chrome/browser/sync/test_profile_sync_service.h syncer::TestIdFactory id_factory_; syncer 187 chrome/browser/sync_file_system/drive_backend/conflict_resolver_unittest.cc scoped_ptr<RemoteToLocalSyncer> syncer( syncer 189 chrome/browser/sync_file_system/drive_backend/conflict_resolver_unittest.cc syncer->RunExclusive(CreateResultReceiver(&status)); syncer 201 chrome/browser/sync_file_system/drive_backend/conflict_resolver_unittest.cc scoped_ptr<LocalToRemoteSyncer> syncer(new LocalToRemoteSyncer( syncer 205 chrome/browser/sync_file_system/drive_backend/conflict_resolver_unittest.cc syncer->RunExclusive(CreateResultReceiver(&status)); syncer 168 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer_unittest.cc scoped_ptr<LocalToRemoteSyncer> syncer(new LocalToRemoteSyncer( syncer 172 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer_unittest.cc syncer->RunExclusive(CreateResultReceiver(&status)); syncer 191 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer_unittest.cc syncer(new RemoteToLocalSyncer(context_.get())); syncer 192 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer_unittest.cc syncer->RunExclusive(CreateResultReceiver(&status)); syncer 183 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer_unittest.cc syncer(new RemoteToLocalSyncer(context_.get())); syncer 184 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer_unittest.cc syncer->RunExclusive(CreateResultReceiver(&status)); syncer 238 chrome/browser/sync_file_system/drive_backend/sync_engine.cc RemoteToLocalSyncer* syncer = new RemoteToLocalSyncer(context_.get()); syncer 241 chrome/browser/sync_file_system/drive_backend/sync_engine.cc scoped_ptr<SyncTask>(syncer), syncer 245 chrome/browser/sync_file_system/drive_backend/sync_engine.cc syncer, callback)); syncer 372 chrome/browser/sync_file_system/drive_backend/sync_engine.cc LocalToRemoteSyncer* syncer = new LocalToRemoteSyncer( syncer 376 chrome/browser/sync_file_system/drive_backend/sync_engine.cc scoped_ptr<SyncTask>(syncer), syncer 380 chrome/browser/sync_file_system/drive_backend/sync_engine.cc syncer, callback)); syncer 550 chrome/browser/sync_file_system/drive_backend/sync_engine.cc void SyncEngine::DidProcessRemoteChange(RemoteToLocalSyncer* syncer, syncer 553 chrome/browser/sync_file_system/drive_backend/sync_engine.cc if (syncer->is_sync_root_deletion()) { syncer 556 chrome/browser/sync_file_system/drive_backend/sync_engine.cc callback.Run(status, syncer->url()); syncer 561 chrome/browser/sync_file_system/drive_backend/sync_engine.cc if (syncer->sync_action() != SYNC_ACTION_NONE && syncer 562 chrome/browser/sync_file_system/drive_backend/sync_engine.cc syncer->url().is_valid()) { syncer 565 chrome/browser/sync_file_system/drive_backend/sync_engine.cc OnFileStatusChanged(syncer->url(), syncer 567 chrome/browser/sync_file_system/drive_backend/sync_engine.cc syncer->sync_action(), syncer 571 chrome/browser/sync_file_system/drive_backend/sync_engine.cc if (syncer->sync_action() == SYNC_ACTION_DELETED && syncer 572 chrome/browser/sync_file_system/drive_backend/sync_engine.cc syncer->url().is_valid() && syncer 573 chrome/browser/sync_file_system/drive_backend/sync_engine.cc fileapi::VirtualPath::IsRootPath(syncer->url().path())) { syncer 574 chrome/browser/sync_file_system/drive_backend/sync_engine.cc RegisterOrigin(syncer->url().origin(), base::Bind(&EmptyStatusCallback)); syncer 578 chrome/browser/sync_file_system/drive_backend/sync_engine.cc callback.Run(status, syncer->url()); syncer 581 chrome/browser/sync_file_system/drive_backend/sync_engine.cc void SyncEngine::DidApplyLocalChange(LocalToRemoteSyncer* syncer, syncer 585 chrome/browser/sync_file_system/drive_backend/sync_engine.cc syncer->url().is_valid() && syncer 586 chrome/browser/sync_file_system/drive_backend/sync_engine.cc syncer->sync_action() != SYNC_ACTION_NONE) { syncer 587 chrome/browser/sync_file_system/drive_backend/sync_engine.cc fileapi::FileSystemURL updated_url = syncer->url(); syncer 588 chrome/browser/sync_file_system/drive_backend/sync_engine.cc if (!syncer->target_path().empty()) { syncer 589 chrome/browser/sync_file_system/drive_backend/sync_engine.cc updated_url = CreateSyncableFileSystemURL(syncer->url().origin(), syncer 590 chrome/browser/sync_file_system/drive_backend/sync_engine.cc syncer->target_path()); syncer 596 chrome/browser/sync_file_system/drive_backend/sync_engine.cc syncer->sync_action(), syncer 600 chrome/browser/sync_file_system/drive_backend/sync_engine.cc if (status == SYNC_STATUS_UNKNOWN_ORIGIN && syncer->url().is_valid()) { syncer 601 chrome/browser/sync_file_system/drive_backend/sync_engine.cc RegisterOrigin(syncer->url().origin(), syncer 605 chrome/browser/sync_file_system/drive_backend/sync_engine.cc if (syncer->needs_remote_change_listing() && syncer 171 chrome/browser/sync_file_system/drive_backend/sync_engine.h void DidProcessRemoteChange(RemoteToLocalSyncer* syncer, syncer 174 chrome/browser/sync_file_system/drive_backend/sync_engine.h void DidApplyLocalChange(LocalToRemoteSyncer* syncer, syncer 741 chrome/browser/sync_file_system/sync_file_system_service.cc syncer::APPS); syncer 58 chrome/browser/themes/theme_syncable_service.cc ProcessNewTheme(syncer::SyncChange::ACTION_UPDATE, current_specifics); syncer 64 chrome/browser/themes/theme_syncable_service.cc syncer::SyncMergeResult ThemeSyncableService::MergeDataAndStartSyncing( syncer 65 chrome/browser/themes/theme_syncable_service.cc syncer::ModelType type, syncer 66 chrome/browser/themes/theme_syncable_service.cc const syncer::SyncDataList& initial_sync_data, syncer 67 chrome/browser/themes/theme_syncable_service.cc scoped_ptr<syncer::SyncChangeProcessor> sync_processor, syncer 68 chrome/browser/themes/theme_syncable_service.cc scoped_ptr<syncer::SyncErrorFactory> error_handler) { syncer 74 chrome/browser/themes/theme_syncable_service.cc syncer::SyncMergeResult merge_result(type); syncer 94 chrome/browser/themes/theme_syncable_service.cc for (syncer::SyncDataList::const_reverse_iterator sync_data = syncer 105 chrome/browser/themes/theme_syncable_service.cc syncer::SyncChange::ACTION_ADD, current_specifics)); syncer 109 chrome/browser/themes/theme_syncable_service.cc void ThemeSyncableService::StopSyncing(syncer::ModelType type) { syncer 111 chrome/browser/themes/theme_syncable_service.cc DCHECK_EQ(type, syncer::THEMES); syncer 117 chrome/browser/themes/theme_syncable_service.cc syncer::SyncDataList ThemeSyncableService::GetAllSyncData( syncer 118 chrome/browser/themes/theme_syncable_service.cc syncer::ModelType type) const { syncer 120 chrome/browser/themes/theme_syncable_service.cc DCHECK_EQ(type, syncer::THEMES); syncer 122 chrome/browser/themes/theme_syncable_service.cc syncer::SyncDataList list; syncer 125 chrome/browser/themes/theme_syncable_service.cc list.push_back(syncer::SyncData::CreateLocalData(kCurrentThemeClientTag, syncer 132 chrome/browser/themes/theme_syncable_service.cc syncer::SyncError ThemeSyncableService::ProcessSyncChanges( syncer 134 chrome/browser/themes/theme_syncable_service.cc const syncer::SyncChangeList& change_list) { syncer 138 chrome/browser/themes/theme_syncable_service.cc return syncer::SyncError(FROM_HERE, syncer 139 chrome/browser/themes/theme_syncable_service.cc syncer::SyncError::DATATYPE_ERROR, syncer 141 chrome/browser/themes/theme_syncable_service.cc syncer::THEMES); syncer 157 chrome/browser/themes/theme_syncable_service.cc syncer::SyncChange::ACTION_ADD syncer 159 chrome/browser/themes/theme_syncable_service.cc syncer::SyncChange::ACTION_UPDATE) { syncer 168 chrome/browser/themes/theme_syncable_service.cc return syncer::SyncError(); syncer 173 chrome/browser/themes/theme_syncable_service.cc for (syncer::SyncChangeList::const_reverse_iterator theme_change = syncer 177 chrome/browser/themes/theme_syncable_service.cc (theme_change->change_type() == syncer::SyncChange::ACTION_ADD || syncer 178 chrome/browser/themes/theme_syncable_service.cc theme_change->change_type() == syncer::SyncChange::ACTION_UPDATE)) { syncer 180 chrome/browser/themes/theme_syncable_service.cc return syncer::SyncError(); syncer 184 chrome/browser/themes/theme_syncable_service.cc return syncer::SyncError(FROM_HERE, syncer 185 chrome/browser/themes/theme_syncable_service.cc syncer::SyncError::DATATYPE_ERROR, syncer 187 chrome/browser/themes/theme_syncable_service.cc syncer::THEMES); syncer 192 chrome/browser/themes/theme_syncable_service.cc const syncer::SyncData& sync_data) { syncer 327 chrome/browser/themes/theme_syncable_service.cc syncer::SyncError ThemeSyncableService::ProcessNewTheme( syncer 328 chrome/browser/themes/theme_syncable_service.cc syncer::SyncChange::SyncChangeType change_type, syncer 330 chrome/browser/themes/theme_syncable_service.cc syncer::SyncChangeList changes; syncer 335 chrome/browser/themes/theme_syncable_service.cc syncer::SyncChange(FROM_HERE, change_type, syncer 336 chrome/browser/themes/theme_syncable_service.cc syncer::SyncData::CreateLocalData( syncer 24 chrome/browser/themes/theme_syncable_service.h class ThemeSyncableService : public syncer::SyncableService { syncer 30 chrome/browser/themes/theme_syncable_service.h static syncer::ModelType model_type() { return syncer::THEMES; } syncer 36 chrome/browser/themes/theme_syncable_service.h virtual syncer::SyncMergeResult MergeDataAndStartSyncing( syncer 37 chrome/browser/themes/theme_syncable_service.h syncer::ModelType type, syncer 38 chrome/browser/themes/theme_syncable_service.h const syncer::SyncDataList& initial_sync_data, syncer 39 chrome/browser/themes/theme_syncable_service.h scoped_ptr<syncer::SyncChangeProcessor> sync_processor, syncer 40 chrome/browser/themes/theme_syncable_service.h scoped_ptr<syncer::SyncErrorFactory> error_handler) OVERRIDE; syncer 41 chrome/browser/themes/theme_syncable_service.h virtual void StopSyncing(syncer::ModelType type) OVERRIDE; syncer 42 chrome/browser/themes/theme_syncable_service.h virtual syncer::SyncDataList GetAllSyncData( syncer 43 chrome/browser/themes/theme_syncable_service.h syncer::ModelType type) const OVERRIDE; syncer 44 chrome/browser/themes/theme_syncable_service.h virtual syncer::SyncError ProcessSyncChanges( syncer 46 chrome/browser/themes/theme_syncable_service.h const syncer::SyncChangeList& change_list) OVERRIDE; syncer 61 chrome/browser/themes/theme_syncable_service.h const syncer::SyncData& sync_data); syncer 73 chrome/browser/themes/theme_syncable_service.h syncer::SyncError ProcessNewTheme( syncer 74 chrome/browser/themes/theme_syncable_service.h syncer::SyncChange::SyncChangeType change_type, syncer 80 chrome/browser/themes/theme_syncable_service.h scoped_ptr<syncer::SyncChangeProcessor> sync_processor_; syncer 81 chrome/browser/themes/theme_syncable_service.h scoped_ptr<syncer::SyncErrorFactory> sync_error_handler_; syncer 157 chrome/browser/themes/theme_syncable_service_unittest.cc fake_change_processor_.reset(new syncer::FakeSyncChangeProcessor); syncer 206 chrome/browser/themes/theme_syncable_service_unittest.cc syncer::SyncDataList MakeThemeDataList( syncer 208 chrome/browser/themes/theme_syncable_service_unittest.cc syncer::SyncDataList list; syncer 211 chrome/browser/themes/theme_syncable_service_unittest.cc list.push_back(syncer::SyncData::CreateLocalData( syncer 233 chrome/browser/themes/theme_syncable_service_unittest.cc scoped_ptr<syncer::FakeSyncChangeProcessor> fake_change_processor_; syncer 295 chrome/browser/themes/theme_syncable_service_unittest.cc syncer::SyncError error = syncer 298 chrome/browser/themes/theme_syncable_service_unittest.cc syncer::THEMES, syncer 300 chrome/browser/themes/theme_syncable_service_unittest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 301 chrome/browser/themes/theme_syncable_service_unittest.cc new syncer::SyncChangeProcessorWrapperForTest( syncer 303 chrome/browser/themes/theme_syncable_service_unittest.cc scoped_ptr<syncer::SyncErrorFactory>( syncer 304 chrome/browser/themes/theme_syncable_service_unittest.cc new syncer::SyncErrorFactoryMock())) syncer 316 chrome/browser/themes/theme_syncable_service_unittest.cc syncer::SyncError error = syncer 319 chrome/browser/themes/theme_syncable_service_unittest.cc syncer::THEMES, syncer 321 chrome/browser/themes/theme_syncable_service_unittest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 322 chrome/browser/themes/theme_syncable_service_unittest.cc new syncer::SyncChangeProcessorWrapperForTest( syncer 324 chrome/browser/themes/theme_syncable_service_unittest.cc scoped_ptr<syncer::SyncErrorFactory>( syncer 325 chrome/browser/themes/theme_syncable_service_unittest.cc new syncer::SyncErrorFactoryMock())) syncer 340 chrome/browser/themes/theme_syncable_service_unittest.cc syncer::SyncError error = syncer 343 chrome/browser/themes/theme_syncable_service_unittest.cc syncer::THEMES, syncer 345 chrome/browser/themes/theme_syncable_service_unittest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 346 chrome/browser/themes/theme_syncable_service_unittest.cc new syncer::SyncChangeProcessorWrapperForTest( syncer 348 chrome/browser/themes/theme_syncable_service_unittest.cc scoped_ptr<syncer::SyncErrorFactory>( syncer 349 chrome/browser/themes/theme_syncable_service_unittest.cc new syncer::SyncErrorFactoryMock())) syncer 359 chrome/browser/themes/theme_syncable_service_unittest.cc syncer::SyncError error = syncer 362 chrome/browser/themes/theme_syncable_service_unittest.cc syncer::THEMES, syncer 364 chrome/browser/themes/theme_syncable_service_unittest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 365 chrome/browser/themes/theme_syncable_service_unittest.cc new syncer::SyncChangeProcessorWrapperForTest( syncer 367 chrome/browser/themes/theme_syncable_service_unittest.cc scoped_ptr<syncer::SyncErrorFactory>( syncer 368 chrome/browser/themes/theme_syncable_service_unittest.cc new syncer::SyncErrorFactoryMock())) syncer 378 chrome/browser/themes/theme_syncable_service_unittest.cc syncer::SyncError error = syncer 381 chrome/browser/themes/theme_syncable_service_unittest.cc syncer::THEMES, syncer 382 chrome/browser/themes/theme_syncable_service_unittest.cc syncer::SyncDataList(), syncer 383 chrome/browser/themes/theme_syncable_service_unittest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 384 chrome/browser/themes/theme_syncable_service_unittest.cc new syncer::SyncChangeProcessorWrapperForTest( syncer 386 chrome/browser/themes/theme_syncable_service_unittest.cc scoped_ptr<syncer::SyncErrorFactory>( syncer 387 chrome/browser/themes/theme_syncable_service_unittest.cc new syncer::SyncErrorFactoryMock())) syncer 390 chrome/browser/themes/theme_syncable_service_unittest.cc const syncer::SyncChangeList& changes = fake_change_processor_->changes(); syncer 393 chrome/browser/themes/theme_syncable_service_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_ADD, changes[0].change_type()); syncer 394 chrome/browser/themes/theme_syncable_service_unittest.cc EXPECT_EQ(syncer::THEMES, changes[0].sync_data().GetDataType()); syncer 410 chrome/browser/themes/theme_syncable_service_unittest.cc syncer::SyncDataList data_list = syncer 411 chrome/browser/themes/theme_syncable_service_unittest.cc theme_sync_service_->GetAllSyncData(syncer::THEMES); syncer 430 chrome/browser/themes/theme_syncable_service_unittest.cc syncer::SyncError error = syncer 433 chrome/browser/themes/theme_syncable_service_unittest.cc syncer::THEMES, syncer 435 chrome/browser/themes/theme_syncable_service_unittest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 436 chrome/browser/themes/theme_syncable_service_unittest.cc new syncer::SyncChangeProcessorWrapperForTest( syncer 438 chrome/browser/themes/theme_syncable_service_unittest.cc scoped_ptr<syncer::SyncErrorFactory>( syncer 439 chrome/browser/themes/theme_syncable_service_unittest.cc new syncer::SyncErrorFactoryMock())) syncer 453 chrome/browser/themes/theme_syncable_service_unittest.cc syncer::SyncChangeList change_list; syncer 454 chrome/browser/themes/theme_syncable_service_unittest.cc change_list.push_back(syncer::SyncChange( syncer 456 chrome/browser/themes/theme_syncable_service_unittest.cc syncer::SyncChange::ACTION_UPDATE, syncer 457 chrome/browser/themes/theme_syncable_service_unittest.cc syncer::SyncData::CreateRemoteData( syncer 469 chrome/browser/themes/theme_syncable_service_unittest.cc syncer::SyncError error = syncer 472 chrome/browser/themes/theme_syncable_service_unittest.cc syncer::THEMES, syncer 474 chrome/browser/themes/theme_syncable_service_unittest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 475 chrome/browser/themes/theme_syncable_service_unittest.cc new syncer::SyncChangeProcessorWrapperForTest( syncer 477 chrome/browser/themes/theme_syncable_service_unittest.cc scoped_ptr<syncer::SyncErrorFactory>( syncer 478 chrome/browser/themes/theme_syncable_service_unittest.cc new syncer::SyncErrorFactoryMock())) syncer 481 chrome/browser/themes/theme_syncable_service_unittest.cc const syncer::SyncChangeList& changes = fake_change_processor_->changes(); syncer 503 chrome/browser/themes/theme_syncable_service_unittest.cc syncer::SyncError error = syncer 506 chrome/browser/themes/theme_syncable_service_unittest.cc syncer::THEMES, syncer 508 chrome/browser/themes/theme_syncable_service_unittest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 509 chrome/browser/themes/theme_syncable_service_unittest.cc new syncer::SyncChangeProcessorWrapperForTest( syncer 511 chrome/browser/themes/theme_syncable_service_unittest.cc scoped_ptr<syncer::SyncErrorFactory>( syncer 512 chrome/browser/themes/theme_syncable_service_unittest.cc new syncer::SyncErrorFactoryMock())) syncer 515 chrome/browser/themes/theme_syncable_service_unittest.cc const syncer::SyncChangeList& changes = fake_change_processor_->changes(); syncer 519 chrome/browser/themes/theme_syncable_service_unittest.cc theme_sync_service_->StopSyncing(syncer::THEMES); syncer 530 chrome/browser/themes/theme_syncable_service_unittest.cc EXPECT_EQ(syncer::THEMES, error.model_type()); syncer 541 chrome/browser/themes/theme_syncable_service_unittest.cc syncer::SyncError error = syncer 544 chrome/browser/themes/theme_syncable_service_unittest.cc syncer::THEMES, syncer 546 chrome/browser/themes/theme_syncable_service_unittest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 547 chrome/browser/themes/theme_syncable_service_unittest.cc new syncer::SyncChangeProcessorWrapperForTest( syncer 549 chrome/browser/themes/theme_syncable_service_unittest.cc scoped_ptr<syncer::SyncErrorFactory>( syncer 550 chrome/browser/themes/theme_syncable_service_unittest.cc new syncer::SyncErrorFactoryMock())) syncer 557 chrome/browser/themes/theme_syncable_service_unittest.cc const syncer::SyncChangeList& changes = fake_change_processor_->changes(); syncer 572 chrome/browser/themes/theme_syncable_service_unittest.cc syncer::SyncError error = syncer 575 chrome/browser/themes/theme_syncable_service_unittest.cc syncer::THEMES, syncer 577 chrome/browser/themes/theme_syncable_service_unittest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 578 chrome/browser/themes/theme_syncable_service_unittest.cc new syncer::SyncChangeProcessorWrapperForTest( syncer 580 chrome/browser/themes/theme_syncable_service_unittest.cc scoped_ptr<syncer::SyncErrorFactory>( syncer 581 chrome/browser/themes/theme_syncable_service_unittest.cc new syncer::SyncErrorFactoryMock())) syncer 589 chrome/browser/themes/theme_syncable_service_unittest.cc syncer::SyncChangeList& changes = fake_change_processor_->changes(); syncer 624 chrome/browser/themes/theme_syncable_service_unittest.cc syncer::SyncError error = syncer 627 chrome/browser/themes/theme_syncable_service_unittest.cc syncer::THEMES, syncer 629 chrome/browser/themes/theme_syncable_service_unittest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 630 chrome/browser/themes/theme_syncable_service_unittest.cc new syncer::SyncChangeProcessorWrapperForTest( syncer 632 chrome/browser/themes/theme_syncable_service_unittest.cc scoped_ptr<syncer::SyncErrorFactory>( syncer 633 chrome/browser/themes/theme_syncable_service_unittest.cc new syncer::SyncErrorFactoryMock())) syncer 641 chrome/browser/themes/theme_syncable_service_unittest.cc const syncer::SyncChangeList& changes = fake_change_processor_->changes(); syncer 654 chrome/browser/themes/theme_syncable_service_unittest.cc syncer::SyncDataList data_list = syncer 655 chrome/browser/themes/theme_syncable_service_unittest.cc theme_sync_service_->GetAllSyncData(syncer::THEMES); syncer 31 chrome/browser/ui/app_list/app_list_syncable_service.cc using syncer::SyncChange; syncer 46 chrome/browser/ui/app_list/app_list_syncable_service.cc item->page_ordinal = syncer::StringOrdinal(specifics.page_ordinal()); syncer 48 chrome/browser/ui/app_list/app_list_syncable_service.cc item->item_ordinal = syncer::StringOrdinal(specifics.item_ordinal()); syncer 86 chrome/browser/ui/app_list/app_list_syncable_service.cc syncer::SyncData GetSyncDataFromSyncItem( syncer 90 chrome/browser/ui/app_list/app_list_syncable_service.cc return syncer::SyncData::CreateLocalData(item->item_id, syncer 350 chrome/browser/ui/app_list/app_list_syncable_service.cc FROM_HERE, syncer::SyncChangeList(1, sync_change)); syncer 433 chrome/browser/ui/app_list/app_list_syncable_service.cc model_->SetItemPosition(app_item, syncer::StringOrdinal()); syncer 460 chrome/browser/ui/app_list/app_list_syncable_service.cc syncer::SyncMergeResult AppListSyncableService::MergeDataAndStartSyncing( syncer 461 chrome/browser/ui/app_list/app_list_syncable_service.cc syncer::ModelType type, syncer 462 chrome/browser/ui/app_list/app_list_syncable_service.cc const syncer::SyncDataList& initial_sync_data, syncer 463 chrome/browser/ui/app_list/app_list_syncable_service.cc scoped_ptr<syncer::SyncChangeProcessor> sync_processor, syncer 464 chrome/browser/ui/app_list/app_list_syncable_service.cc scoped_ptr<syncer::SyncErrorFactory> error_handler) { syncer 472 chrome/browser/ui/app_list/app_list_syncable_service.cc syncer::SyncMergeResult result = syncer::SyncMergeResult(type); syncer 487 chrome/browser/ui/app_list/app_list_syncable_service.cc for (syncer::SyncDataList::const_iterator iter = initial_sync_data.begin(); syncer 489 chrome/browser/ui/app_list/app_list_syncable_service.cc const syncer::SyncData& data = *iter; syncer 493 chrome/browser/ui/app_list/app_list_syncable_service.cc DCHECK_EQ(syncer::APP_LIST, data.GetDataType()); syncer 509 chrome/browser/ui/app_list/app_list_syncable_service.cc syncer::SyncChangeList change_list; syncer 531 chrome/browser/ui/app_list/app_list_syncable_service.cc void AppListSyncableService::StopSyncing(syncer::ModelType type) { syncer 532 chrome/browser/ui/app_list/app_list_syncable_service.cc DCHECK_EQ(type, syncer::APP_LIST); syncer 538 chrome/browser/ui/app_list/app_list_syncable_service.cc syncer::SyncDataList AppListSyncableService::GetAllSyncData( syncer 539 chrome/browser/ui/app_list/app_list_syncable_service.cc syncer::ModelType type) const { syncer 540 chrome/browser/ui/app_list/app_list_syncable_service.cc DCHECK_EQ(syncer::APP_LIST, type); syncer 543 chrome/browser/ui/app_list/app_list_syncable_service.cc syncer::SyncDataList list; syncer 552 chrome/browser/ui/app_list/app_list_syncable_service.cc syncer::SyncError AppListSyncableService::ProcessSyncChanges( syncer 554 chrome/browser/ui/app_list/app_list_syncable_service.cc const syncer::SyncChangeList& change_list) { syncer 556 chrome/browser/ui/app_list/app_list_syncable_service.cc return syncer::SyncError(FROM_HERE, syncer 557 chrome/browser/ui/app_list/app_list_syncable_service.cc syncer::SyncError::DATATYPE_ERROR, syncer 559 chrome/browser/ui/app_list/app_list_syncable_service.cc syncer::APP_LIST); syncer 566 chrome/browser/ui/app_list/app_list_syncable_service.cc for (syncer::SyncChangeList::const_iterator iter = change_list.begin(); syncer 585 chrome/browser/ui/app_list/app_list_syncable_service.cc return syncer::SyncError(); syncer 702 chrome/browser/ui/app_list/app_list_syncable_service.cc flare_.Run(syncer::APP_LIST); syncer 722 chrome/browser/ui/app_list/app_list_syncable_service.cc FROM_HERE, syncer::SyncChangeList(1, sync_change)); syncer 40 chrome/browser/ui/app_list/app_list_syncable_service.h class AppListSyncableService : public syncer::SyncableService, syncer 52 chrome/browser/ui/app_list/app_list_syncable_service.h syncer::StringOrdinal page_ordinal; syncer 53 chrome/browser/ui/app_list/app_list_syncable_service.h syncer::StringOrdinal item_ordinal; syncer 88 chrome/browser/ui/app_list/app_list_syncable_service.h virtual syncer::SyncMergeResult MergeDataAndStartSyncing( syncer 89 chrome/browser/ui/app_list/app_list_syncable_service.h syncer::ModelType type, syncer 90 chrome/browser/ui/app_list/app_list_syncable_service.h const syncer::SyncDataList& initial_sync_data, syncer 91 chrome/browser/ui/app_list/app_list_syncable_service.h scoped_ptr<syncer::SyncChangeProcessor> sync_processor, syncer 92 chrome/browser/ui/app_list/app_list_syncable_service.h scoped_ptr<syncer::SyncErrorFactory> error_handler) OVERRIDE; syncer 93 chrome/browser/ui/app_list/app_list_syncable_service.h virtual void StopSyncing(syncer::ModelType type) OVERRIDE; syncer 94 chrome/browser/ui/app_list/app_list_syncable_service.h virtual syncer::SyncDataList GetAllSyncData( syncer 95 chrome/browser/ui/app_list/app_list_syncable_service.h syncer::ModelType type) const OVERRIDE; syncer 96 chrome/browser/ui/app_list/app_list_syncable_service.h virtual syncer::SyncError ProcessSyncChanges( syncer 98 chrome/browser/ui/app_list/app_list_syncable_service.h const syncer::SyncChangeList& change_list) OVERRIDE; syncer 166 chrome/browser/ui/app_list/app_list_syncable_service.h syncer::SyncChange::SyncChangeType sync_change_type); syncer 193 chrome/browser/ui/app_list/app_list_syncable_service.h scoped_ptr<syncer::SyncChangeProcessor> sync_processor_; syncer 194 chrome/browser/ui/app_list/app_list_syncable_service.h scoped_ptr<syncer::SyncErrorFactory> sync_error_handler_; syncer 196 chrome/browser/ui/app_list/app_list_syncable_service.h syncer::SyncableService::StartSyncFlare flare_; syncer 141 chrome/browser/ui/app_list/extension_app_item.cc syncer::StringOrdinal()); syncer 214 chrome/browser/ui/app_list/extension_app_item.cc syncer::StringOrdinal page; syncer 348 chrome/browser/ui/app_list/extension_app_item.cc const syncer::StringOrdinal& page = syncer 350 chrome/browser/ui/app_list/extension_app_item.cc const syncer::StringOrdinal& launch = syncer 352 chrome/browser/ui/app_list/extension_app_item.cc set_position(syncer::StringOrdinal( syncer 256 chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc syncer::StringOrdinal package_app_page = syncer 263 chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc syncer::StringOrdinal app1_ordinal = syncer 265 chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc syncer::StringOrdinal app2_ordinal = syncer 317 chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc syncer::StringOrdinal conflict_ordinal = syncer 318 chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc syncer::StringOrdinal::CreateInitialOrdinal(); syncer 573 chrome/browser/ui/panels/base_panel_browser_test.cc syncer::StringOrdinal(), syncer 327 chrome/browser/ui/sync/one_click_signin_helper_unittest.cc .WillByDefault(Return(syncer::ModelTypeSet())); syncer 184 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc syncer::SyncChangeList changes; syncer 195 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc changes.push_back(syncer::SyncChange( syncer 196 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc FROM_HERE, syncer::SyncChange::ACTION_ADD, syncer 197 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc syncer::SyncData::CreateRemoteData( syncer 201 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc changes.push_back(syncer::SyncChange( syncer 202 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc FROM_HERE, syncer::SyncChange::ACTION_ADD, syncer 203 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc syncer::SyncData::CreateRemoteData(1, session_entity, syncer 126 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc syncer::SESSIONS, syncer 127 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc syncer::SyncDataList(), syncer 128 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc scoped_ptr<syncer::SyncChangeProcessor>( syncer 129 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc new syncer::FakeSyncChangeProcessor), syncer 130 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc scoped_ptr<syncer::SyncErrorFactory>( syncer 131 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc new syncer::SyncErrorFactoryMock)); syncer 83 chrome/browser/ui/webui/invalidations_message_handler.cc const syncer::InvalidatorState& new_state) { syncer 84 chrome/browser/ui/webui/invalidations_message_handler.cc std::string state(syncer::InvalidatorStateToString(new_state)); syncer 91 chrome/browser/ui/webui/invalidations_message_handler.cc const syncer::ObjectIdCountMap& ids) { syncer 93 chrome/browser/ui/webui/invalidations_message_handler.cc for (syncer::ObjectIdCountMap::const_iterator it = ids.begin(); syncer 110 chrome/browser/ui/webui/invalidations_message_handler.cc const syncer::ObjectIdInvalidationMap& new_invalidations) { syncer 22 chrome/browser/ui/webui/invalidations_message_handler.h namespace syncer { syncer 37 chrome/browser/ui/webui/invalidations_message_handler.h virtual void OnStateChange(const syncer::InvalidatorState& new_state) syncer 40 chrome/browser/ui/webui/invalidations_message_handler.h const syncer::ObjectIdCountMap& ids_set) OVERRIDE; syncer 43 chrome/browser/ui/webui/invalidations_message_handler.h const syncer::ObjectIdInvalidationMap& new_invalidations) OVERRIDE; syncer 173 chrome/browser/ui/webui/ntp/app_launcher_handler.cc syncer::StringOrdinal page_ordinal = sorting->GetPageOrdinal(extension->id()); syncer 185 chrome/browser/ui/webui/ntp/app_launcher_handler.cc syncer::StringOrdinal app_launch_ordinal = syncer 666 chrome/browser/ui/webui/ntp/app_launcher_handler.cc const syncer::StringOrdinal& page_ordinal = syncer 700 chrome/browser/ui/webui/ntp/app_launcher_handler.cc const syncer::StringOrdinal& page_ordinal = syncer 116 chrome/browser/ui/webui/ntp/app_launcher_handler.h syncer::StringOrdinal page_ordinal; syncer 217 chrome/browser/ui/webui/ntp/foreign_session_handler.cc return service && service->GetActiveDataTypes().Has(syncer::PROXY_TABS); syncer 21 chrome/browser/ui/webui/sync_internals_message_handler.cc using syncer::JsArgList; syncer 22 chrome/browser/ui/webui/sync_internals_message_handler.cc using syncer::JsEventDetails; syncer 23 chrome/browser/ui/webui/sync_internals_message_handler.cc using syncer::JsReplyHandler; syncer 24 chrome/browser/ui/webui/sync_internals_message_handler.cc using syncer::ModelTypeSet; syncer 25 chrome/browser/ui/webui/sync_internals_message_handler.cc using syncer::WeakHandle; syncer 86 chrome/browser/ui/webui/sync_internals_message_handler.cc ModelTypeSet protocol_types = syncer::ProtocolTypes(); syncer 113 chrome/browser/ui/webui/sync_internals_message_handler.cc const syncer::ProtocolEvent& event) { syncer 115 chrome/browser/ui/webui/sync_internals_message_handler.cc syncer::ProtocolEvent::ToValue(event)); syncer 27 chrome/browser/ui/webui/sync_internals_message_handler.h public syncer::JsEventHandler, syncer 28 chrome/browser/ui/webui/sync_internals_message_handler.h public syncer::JsReplyHandler, syncer 52 chrome/browser/ui/webui/sync_internals_message_handler.h const syncer::JsEventDetails& details) OVERRIDE; syncer 57 chrome/browser/ui/webui/sync_internals_message_handler.h const syncer::JsArgList& args) OVERRIDE; syncer 63 chrome/browser/ui/webui/sync_internals_message_handler.h virtual void OnProtocolEvent(const syncer::ProtocolEvent& e) OVERRIDE; syncer 75 chrome/browser/ui/webui/sync_internals_message_handler.h base::WeakPtr<syncer::JsController> js_controller_; syncer 74 chrome/browser/ui/webui/sync_setup_handler.cc syncer::ModelTypeSet data_types; syncer 102 chrome/browser/ui/webui/sync_setup_handler.cc COMPILE_ASSERT(32 == syncer::MODEL_TYPE_COUNT, syncer 105 chrome/browser/ui/webui/sync_setup_handler.cc typedef std::map<syncer::ModelType, const char*> ModelTypeNameMap; syncer 109 chrome/browser/ui/webui/sync_setup_handler.cc syncer::ModelTypeSet type_set = syncer::UserSelectableTypes(); syncer 110 chrome/browser/ui/webui/sync_setup_handler.cc syncer::ModelTypeSet::Iterator it = type_set.First(); syncer 343 chrome/browser/ui/webui/sync_setup_handler.cc const syncer::ModelTypeSet registered_types = syncer 345 chrome/browser/ui/webui/sync_setup_handler.cc const syncer::ModelTypeSet preferred_types = syncer 350 chrome/browser/ui/webui/sync_setup_handler.cc syncer::ModelType sync_type = it->first; syncer 371 chrome/browser/ui/webui/sync_setup_handler.cc service->GetPassphraseType() == syncer::CUSTOM_PASSPHRASE); syncer 373 chrome/browser/ui/webui/sync_setup_handler.cc syncer::PassphraseType passphrase_type = service->GetPassphraseType(); syncer 386 chrome/browser/ui/webui/sync_setup_handler.cc case syncer::FROZEN_IMPLICIT_PASSPHRASE: syncer 392 chrome/browser/ui/webui/sync_setup_handler.cc case syncer::CUSTOM_PASSPHRASE: syncer 404 chrome/browser/ui/webui/sync_setup_handler.cc } else if (passphrase_type == syncer::CUSTOM_PASSPHRASE) { syncer 54 chrome/browser/ui/webui/sync_setup_handler_unittest.cc syncer::ModelTypeSet GetAllTypes() { syncer 55 chrome/browser/ui/webui/sync_setup_handler_unittest.cc return syncer::UserSelectableTypes(); syncer 74 chrome/browser/ui/webui/sync_setup_handler_unittest.cc syncer::ModelTypeSet types, syncer 87 chrome/browser/ui/webui/sync_setup_handler_unittest.cc result.SetBoolean("appsSynced", types.Has(syncer::APPS)); syncer 88 chrome/browser/ui/webui/sync_setup_handler_unittest.cc result.SetBoolean("autofillSynced", types.Has(syncer::AUTOFILL)); syncer 89 chrome/browser/ui/webui/sync_setup_handler_unittest.cc result.SetBoolean("bookmarksSynced", types.Has(syncer::BOOKMARKS)); syncer 90 chrome/browser/ui/webui/sync_setup_handler_unittest.cc result.SetBoolean("extensionsSynced", types.Has(syncer::EXTENSIONS)); syncer 91 chrome/browser/ui/webui/sync_setup_handler_unittest.cc result.SetBoolean("passwordsSynced", types.Has(syncer::PASSWORDS)); syncer 92 chrome/browser/ui/webui/sync_setup_handler_unittest.cc result.SetBoolean("preferencesSynced", types.Has(syncer::PREFERENCES)); syncer 93 chrome/browser/ui/webui/sync_setup_handler_unittest.cc result.SetBoolean("tabsSynced", types.Has(syncer::PROXY_TABS)); syncer 94 chrome/browser/ui/webui/sync_setup_handler_unittest.cc result.SetBoolean("themesSynced", types.Has(syncer::THEMES)); syncer 95 chrome/browser/ui/webui/sync_setup_handler_unittest.cc result.SetBoolean("typedUrlsSynced", types.Has(syncer::TYPED_URLS)); syncer 131 chrome/browser/ui/webui/sync_setup_handler_unittest.cc syncer::ModelTypeSet types) { syncer 134 chrome/browser/ui/webui/sync_setup_handler_unittest.cc CheckBool(dictionary, "appsSynced", types.Has(syncer::APPS)); syncer 135 chrome/browser/ui/webui/sync_setup_handler_unittest.cc CheckBool(dictionary, "autofillSynced", types.Has(syncer::AUTOFILL)); syncer 136 chrome/browser/ui/webui/sync_setup_handler_unittest.cc CheckBool(dictionary, "bookmarksSynced", types.Has(syncer::BOOKMARKS)); syncer 137 chrome/browser/ui/webui/sync_setup_handler_unittest.cc CheckBool(dictionary, "extensionsSynced", types.Has(syncer::EXTENSIONS)); syncer 138 chrome/browser/ui/webui/sync_setup_handler_unittest.cc CheckBool(dictionary, "passwordsSynced", types.Has(syncer::PASSWORDS)); syncer 139 chrome/browser/ui/webui/sync_setup_handler_unittest.cc CheckBool(dictionary, "preferencesSynced", types.Has(syncer::PREFERENCES)); syncer 140 chrome/browser/ui/webui/sync_setup_handler_unittest.cc CheckBool(dictionary, "tabsSynced", types.Has(syncer::PROXY_TABS)); syncer 141 chrome/browser/ui/webui/sync_setup_handler_unittest.cc CheckBool(dictionary, "themesSynced", types.Has(syncer::THEMES)); syncer 142 chrome/browser/ui/webui/sync_setup_handler_unittest.cc CheckBool(dictionary, "typedUrlsSynced", types.Has(syncer::TYPED_URLS)); syncer 302 chrome/browser/ui/webui/sync_setup_handler_unittest.cc Return(syncer::IMPLICIT_PASSPHRASE)); syncer 308 chrome/browser/ui/webui/sync_setup_handler_unittest.cc .WillByDefault(Return(syncer::ModelTypeSet())); syncer 799 chrome/browser/ui/webui/sync_setup_handler_unittest.cc syncer::ModelTypeSet user_selectable_types = GetAllTypes(); syncer 800 chrome/browser/ui/webui/sync_setup_handler_unittest.cc syncer::ModelTypeSet::Iterator it; syncer 802 chrome/browser/ui/webui/sync_setup_handler_unittest.cc syncer::ModelTypeSet type_to_set; syncer 956 chrome/browser/ui/webui/sync_setup_handler_unittest.cc syncer::ModelTypeSet user_selectable_types = GetAllTypes(); syncer 957 chrome/browser/ui/webui/sync_setup_handler_unittest.cc syncer::ModelTypeSet::Iterator it; syncer 967 chrome/browser/ui/webui/sync_setup_handler_unittest.cc syncer::ModelTypeSet types; syncer 1015 chrome/browser/ui/webui/sync_setup_handler_unittest.cc .WillRepeatedly(Return(syncer::CUSTOM_PASSPHRASE)); syncer 107 chrome/browser/webdata/autocomplete_syncable_service.cc const syncer::SyncableService::StartSyncFlare& flare) { syncer 111 chrome/browser/webdata/autocomplete_syncable_service.cc syncer::SyncMergeResult AutocompleteSyncableService::MergeDataAndStartSyncing( syncer 112 chrome/browser/webdata/autocomplete_syncable_service.cc syncer::ModelType type, syncer 113 chrome/browser/webdata/autocomplete_syncable_service.cc const syncer::SyncDataList& initial_sync_data, syncer 114 chrome/browser/webdata/autocomplete_syncable_service.cc scoped_ptr<syncer::SyncChangeProcessor> sync_processor, syncer 115 chrome/browser/webdata/autocomplete_syncable_service.cc scoped_ptr<syncer::SyncErrorFactory> error_handler) { syncer 121 chrome/browser/webdata/autocomplete_syncable_service.cc syncer::SyncMergeResult merge_result(type); syncer 135 chrome/browser/webdata/autocomplete_syncable_service.cc std::make_pair(syncer::SyncChange::ACTION_ADD, it); syncer 144 chrome/browser/webdata/autocomplete_syncable_service.cc for (syncer::SyncDataList::const_iterator it = initial_sync_data.begin(); syncer 158 chrome/browser/webdata/autocomplete_syncable_service.cc syncer::SyncChangeList new_changes; syncer 162 chrome/browser/webdata/autocomplete_syncable_service.cc syncer::SyncChange(FROM_HERE, syncer 180 chrome/browser/webdata/autocomplete_syncable_service.cc void AutocompleteSyncableService::StopSyncing(syncer::ModelType type) { syncer 182 chrome/browser/webdata/autocomplete_syncable_service.cc DCHECK_EQ(syncer::AUTOFILL, type); syncer 188 chrome/browser/webdata/autocomplete_syncable_service.cc syncer::SyncDataList AutocompleteSyncableService::GetAllSyncData( syncer 189 chrome/browser/webdata/autocomplete_syncable_service.cc syncer::ModelType type) const { syncer 192 chrome/browser/webdata/autocomplete_syncable_service.cc DCHECK_EQ(type, syncer::AUTOFILL); syncer 194 chrome/browser/webdata/autocomplete_syncable_service.cc syncer::SyncDataList current_data; syncer 208 chrome/browser/webdata/autocomplete_syncable_service.cc syncer::SyncError AutocompleteSyncableService::ProcessSyncChanges( syncer 210 chrome/browser/webdata/autocomplete_syncable_service.cc const syncer::SyncChangeList& change_list) { syncer 215 chrome/browser/webdata/autocomplete_syncable_service.cc syncer::SyncError error(FROM_HERE, syncer 216 chrome/browser/webdata/autocomplete_syncable_service.cc syncer::SyncError::DATATYPE_ERROR, syncer 218 chrome/browser/webdata/autocomplete_syncable_service.cc syncer::AUTOFILL); syncer 227 chrome/browser/webdata/autocomplete_syncable_service.cc syncer::SyncError list_processing_error; syncer 229 chrome/browser/webdata/autocomplete_syncable_service.cc for (syncer::SyncChangeList::const_iterator i = change_list.begin(); syncer 233 chrome/browser/webdata/autocomplete_syncable_service.cc case syncer::SyncChange::ACTION_ADD: syncer 234 chrome/browser/webdata/autocomplete_syncable_service.cc case syncer::SyncChange::ACTION_UPDATE: syncer 245 chrome/browser/webdata/autocomplete_syncable_service.cc std::make_pair(syncer::SyncChange::ACTION_ADD, it); syncer 251 chrome/browser/webdata/autocomplete_syncable_service.cc case syncer::SyncChange::ACTION_DELETE: { syncer 268 chrome/browser/webdata/autocomplete_syncable_service.cc syncer::SyncChange::ChangeTypeToString(i->change_type())); syncer 296 chrome/browser/webdata/autocomplete_syncable_service.cc flare_.Run(syncer::AUTOFILL); syncer 322 chrome/browser/webdata/autocomplete_syncable_service.cc const syncer::SyncData& data, syncer 357 chrome/browser/webdata/autocomplete_syncable_service.cc it->second.first = syncer::SyncChange::ACTION_UPDATE; syncer 376 chrome/browser/webdata/autocomplete_syncable_service.cc syncer::SyncError AutocompleteSyncableService::AutofillEntryDelete( syncer 386 chrome/browser/webdata/autocomplete_syncable_service.cc return syncer::SyncError(); syncer 392 chrome/browser/webdata/autocomplete_syncable_service.cc syncer::SyncChangeList new_changes; syncer 407 chrome/browser/webdata/autocomplete_syncable_service.cc syncer::SyncChange::SyncChangeType change_type = syncer 409 chrome/browser/webdata/autocomplete_syncable_service.cc syncer::SyncChange::ACTION_ADD : syncer 410 chrome/browser/webdata/autocomplete_syncable_service.cc syncer::SyncChange::ACTION_UPDATE; syncer 411 chrome/browser/webdata/autocomplete_syncable_service.cc new_changes.push_back(syncer::SyncChange(FROM_HERE, syncer 420 chrome/browser/webdata/autocomplete_syncable_service.cc syncer::SyncChange(FROM_HERE, syncer 421 chrome/browser/webdata/autocomplete_syncable_service.cc syncer::SyncChange::ACTION_DELETE, syncer 430 chrome/browser/webdata/autocomplete_syncable_service.cc syncer::SyncError error = syncer 438 chrome/browser/webdata/autocomplete_syncable_service.cc syncer::SyncData AutocompleteSyncableService::CreateSyncData( syncer 444 chrome/browser/webdata/autocomplete_syncable_service.cc return syncer::SyncData::CreateLocalData(tag, tag, autofill_specifics); syncer 31 chrome/browser/webdata/autocomplete_syncable_service.h namespace syncer { syncer 45 chrome/browser/webdata/autocomplete_syncable_service.h public syncer::SyncableService, syncer 61 chrome/browser/webdata/autocomplete_syncable_service.h static syncer::ModelType model_type() { return syncer::AUTOFILL; } syncer 64 chrome/browser/webdata/autocomplete_syncable_service.h virtual syncer::SyncMergeResult MergeDataAndStartSyncing( syncer 65 chrome/browser/webdata/autocomplete_syncable_service.h syncer::ModelType type, syncer 66 chrome/browser/webdata/autocomplete_syncable_service.h const syncer::SyncDataList& initial_sync_data, syncer 67 chrome/browser/webdata/autocomplete_syncable_service.h scoped_ptr<syncer::SyncChangeProcessor> sync_processor, syncer 68 chrome/browser/webdata/autocomplete_syncable_service.h scoped_ptr<syncer::SyncErrorFactory> error_handler) OVERRIDE; syncer 69 chrome/browser/webdata/autocomplete_syncable_service.h virtual void StopSyncing(syncer::ModelType type) OVERRIDE; syncer 70 chrome/browser/webdata/autocomplete_syncable_service.h virtual syncer::SyncDataList GetAllSyncData( syncer 71 chrome/browser/webdata/autocomplete_syncable_service.h syncer::ModelType type) const OVERRIDE; syncer 72 chrome/browser/webdata/autocomplete_syncable_service.h virtual syncer::SyncError ProcessSyncChanges( syncer 74 chrome/browser/webdata/autocomplete_syncable_service.h const syncer::SyncChangeList& change_list) OVERRIDE; syncer 83 chrome/browser/webdata/autocomplete_syncable_service.h const syncer::SyncableService::StartSyncFlare& flare); syncer 116 chrome/browser/webdata/autocomplete_syncable_service.h std::pair<syncer::SyncChange::SyncChangeType, syncer 126 chrome/browser/webdata/autocomplete_syncable_service.h void CreateOrUpdateEntry(const syncer::SyncData& data, syncer 135 chrome/browser/webdata/autocomplete_syncable_service.h syncer::SyncError AutofillEntryDelete( syncer 138 chrome/browser/webdata/autocomplete_syncable_service.h syncer::SyncData CreateSyncData(const autofill::AutofillEntry& entry) const; syncer 148 chrome/browser/webdata/autocomplete_syncable_service.h void set_sync_processor(syncer::SyncChangeProcessor* sync_processor) { syncer 161 chrome/browser/webdata/autocomplete_syncable_service.h scoped_ptr<syncer::SyncChangeProcessor> sync_processor_; syncer 165 chrome/browser/webdata/autocomplete_syncable_service.h scoped_ptr<syncer::SyncErrorFactory> error_handler_; syncer 167 chrome/browser/webdata/autocomplete_syncable_service.h syncer::SyncableService::StartSyncFlare flare_; syncer 85 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc syncer::SyncMergeResult syncer 87 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc syncer::ModelType type, syncer 88 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc const syncer::SyncDataList& initial_sync_data, syncer 89 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc scoped_ptr<syncer::SyncChangeProcessor> sync_processor, syncer 90 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc scoped_ptr<syncer::SyncErrorFactory> sync_error_factory) { syncer 97 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc syncer::SyncMergeResult merge_result(type); syncer 126 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc for (syncer::SyncDataList::const_iterator sync_iter = syncer 168 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc syncer::SyncChangeList new_changes; syncer 172 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc syncer::SyncChange(FROM_HERE, syncer 173 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc syncer::SyncChange::ACTION_ADD, syncer 180 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc syncer::SyncChange(FROM_HERE, syncer 181 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc syncer::SyncChange::ACTION_UPDATE, syncer 196 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc void AutofillProfileSyncableService::StopSyncing(syncer::ModelType type) { syncer 198 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc DCHECK_EQ(type, syncer::AUTOFILL_PROFILE); syncer 206 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc syncer::SyncDataList AutofillProfileSyncableService::GetAllSyncData( syncer 207 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc syncer::ModelType type) const { syncer 210 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc DCHECK_EQ(type, syncer::AUTOFILL_PROFILE); syncer 212 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc syncer::SyncDataList current_data; syncer 221 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc syncer::SyncError AutofillProfileSyncableService::ProcessSyncChanges( syncer 223 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc const syncer::SyncChangeList& change_list) { syncer 226 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc syncer::SyncError error(FROM_HERE, syncer 227 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc syncer::SyncError::DATATYPE_ERROR, syncer 229 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc syncer::AUTOFILL_PROFILE); syncer 235 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc for (syncer::SyncChangeList::const_iterator i = change_list.begin(); syncer 239 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc case syncer::SyncChange::ACTION_ADD: syncer 240 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc case syncer::SyncChange::ACTION_UPDATE: syncer 243 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc case syncer::SyncChange::ACTION_DELETE: { syncer 254 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc syncer::SyncChange::ChangeTypeToString(i->change_type())); syncer 267 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc return syncer::SyncError(); syncer 279 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc flare_.Run(syncer::AUTOFILL_PROFILE); syncer 460 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc const syncer::SyncData& data, syncer 466 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc DCHECK_EQ(syncer::AUTOFILL_PROFILE, data.GetDataType()); syncer 533 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc syncer::SyncChangeList new_changes; syncer 538 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc syncer::SyncChange(FROM_HERE, syncer 539 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc syncer::SyncChange::ACTION_ADD, syncer 552 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc syncer::SyncChange(FROM_HERE, syncer 553 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc syncer::SyncChange::ACTION_UPDATE, syncer 560 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc syncer::SyncChange(FROM_HERE, syncer 561 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc syncer::SyncChange::ACTION_DELETE, syncer 569 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc syncer::SyncError error = syncer 580 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc syncer::SyncData AutofillProfileSyncableService::CreateData( syncer 585 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc syncer::SyncData::CreateLocalData( syncer 638 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc const syncer::SyncableService::StartSyncFlare& flare) { syncer 51 components/autofill/core/browser/webdata/autofill_profile_syncable_service.h public syncer::SyncableService, syncer 69 components/autofill/core/browser/webdata/autofill_profile_syncable_service.h static syncer::ModelType model_type() { return syncer::AUTOFILL_PROFILE; } syncer 72 components/autofill/core/browser/webdata/autofill_profile_syncable_service.h virtual syncer::SyncMergeResult MergeDataAndStartSyncing( syncer 73 components/autofill/core/browser/webdata/autofill_profile_syncable_service.h syncer::ModelType type, syncer 74 components/autofill/core/browser/webdata/autofill_profile_syncable_service.h const syncer::SyncDataList& initial_sync_data, syncer 75 components/autofill/core/browser/webdata/autofill_profile_syncable_service.h scoped_ptr<syncer::SyncChangeProcessor> sync_processor, syncer 76 components/autofill/core/browser/webdata/autofill_profile_syncable_service.h scoped_ptr<syncer::SyncErrorFactory> sync_error_factory) OVERRIDE; syncer 77 components/autofill/core/browser/webdata/autofill_profile_syncable_service.h virtual void StopSyncing(syncer::ModelType type) OVERRIDE; syncer 78 components/autofill/core/browser/webdata/autofill_profile_syncable_service.h virtual syncer::SyncDataList GetAllSyncData( syncer 79 components/autofill/core/browser/webdata/autofill_profile_syncable_service.h syncer::ModelType type) const OVERRIDE; syncer 80 components/autofill/core/browser/webdata/autofill_profile_syncable_service.h virtual syncer::SyncError ProcessSyncChanges( syncer 82 components/autofill/core/browser/webdata/autofill_profile_syncable_service.h const syncer::SyncChangeList& change_list) OVERRIDE; syncer 91 components/autofill/core/browser/webdata/autofill_profile_syncable_service.h const syncer::SyncableService::StartSyncFlare& flare); syncer 115 components/autofill/core/browser/webdata/autofill_profile_syncable_service.h void set_sync_processor(syncer::SyncChangeProcessor* sync_processor) { syncer 121 components/autofill/core/browser/webdata/autofill_profile_syncable_service.h static syncer::SyncData CreateData(const AutofillProfile& profile); syncer 157 components/autofill/core/browser/webdata/autofill_profile_syncable_service.h const syncer::SyncData& data, syncer 197 components/autofill/core/browser/webdata/autofill_profile_syncable_service.h scoped_ptr<syncer::SyncChangeProcessor> sync_processor_; syncer 199 components/autofill/core/browser/webdata/autofill_profile_syncable_service.h scoped_ptr<syncer::SyncErrorFactory> sync_error_factory_; syncer 201 components/autofill/core/browser/webdata/autofill_profile_syncable_service.h syncer::SyncableService::StartSyncFlare flare_; syncer 60 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc syncer::SyncChangeList::const_iterator passed, expected; syncer 95 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc class MockSyncChangeProcessor : public syncer::SyncChangeProcessor { syncer 101 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc syncer::SyncError(const tracked_objects::Location&, syncer 102 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc const syncer::SyncChangeList&)); syncer 103 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc virtual syncer::SyncDataList GetAllSyncData(syncer::ModelType type) syncer 104 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc const OVERRIDE { return syncer::SyncDataList(); } syncer 107 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc class TestSyncChangeProcessor : public syncer::SyncChangeProcessor { syncer 112 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc virtual syncer::SyncError ProcessSyncChanges( syncer 114 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc const syncer::SyncChangeList& changes) OVERRIDE { syncer 116 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc return syncer::SyncError(); syncer 119 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc virtual syncer::SyncDataList GetAllSyncData(syncer::ModelType type) const syncer 121 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc return syncer::SyncDataList(); syncer 124 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc const syncer::SyncChangeList& changes() { return changes_; } syncer 127 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc syncer::SyncChangeList changes_; syncer 171 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc syncer::SyncData ConstructCompleteSyncData() { syncer 206 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc return syncer::SyncData::CreateLocalData(kGuid1, kGuid1, entity_specifics); syncer 223 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc const syncer::SyncDataList& data_list, syncer 225 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc const syncer::SyncChangeList& expected_change_list) { syncer 237 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc .WillByDefault(Return(syncer::SyncError())); syncer 241 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc .WillOnce(Return(syncer::SyncError())); syncer 246 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc syncer::AUTOFILL_PROFILE, data_list, syncer 247 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc sync_processor_.PassAs<syncer::SyncChangeProcessor>(), syncer 248 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc scoped_ptr<syncer::SyncErrorFactory>( syncer 249 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc new syncer::SyncErrorFactoryMock())); syncer 280 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc syncer::SyncDataList data_list; syncer 292 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc syncer::SyncChangeList expected_change_list; syncer 294 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc syncer::SyncChange(FROM_HERE, syncer 295 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc syncer::SyncChange::ACTION_ADD, syncer 306 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc autofill_syncable_service_.StopSyncing(syncer::AUTOFILL_PROFILE); syncer 333 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc syncer::SyncDataList data_list; syncer 345 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc syncer::SyncChangeList expected_change_list; syncer 347 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc syncer::SyncChange(FROM_HERE, syncer 348 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc syncer::SyncChange::ACTION_UPDATE, syncer 360 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc autofill_syncable_service_.StopSyncing(syncer::AUTOFILL_PROFILE); syncer 387 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc syncer::SyncDataList data_list; syncer 404 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc syncer::SyncChangeList expected_change_list; syncer 406 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc syncer::SyncChange(FROM_HERE, syncer 407 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc syncer::SyncChange::ACTION_ADD, syncer 411 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc syncer::SyncChange(FROM_HERE, syncer 412 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc syncer::SyncChange::ACTION_UPDATE, syncer 423 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc autofill_syncable_service_.StopSyncing(syncer::AUTOFILL_PROFILE); syncer 452 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc syncer::SyncDataList data_list; syncer 454 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc syncer::SyncData::CreateLocalData( syncer 458 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc syncer::SyncChangeList expected_change_list; syncer 461 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc autofill_syncable_service_.StopSyncing(syncer::AUTOFILL_PROFILE); syncer 476 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc syncer::SyncChangeList expected_change_list; syncer 478 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc syncer::SyncChange(FROM_HERE, syncer 479 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc syncer::SyncChange::ACTION_ADD, syncer 483 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc syncer::SyncChange(FROM_HERE, syncer 484 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc syncer::SyncChange::ACTION_ADD, syncer 489 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc syncer::SyncDataList data_list; syncer 493 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc syncer::SyncDataList data = syncer 494 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc autofill_syncable_service_.GetAllSyncData(syncer::AUTOFILL_PROFILE); syncer 502 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc autofill_syncable_service_.StopSyncing(syncer::AUTOFILL_PROFILE); syncer 510 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc syncer::SyncChangeList change_list; syncer 514 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc syncer::SyncChange( syncer 516 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc syncer::SyncChange::ACTION_ADD, syncer 520 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc syncer::SyncChange( syncer 522 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc syncer::SyncChange::ACTION_DELETE, syncer 535 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc syncer::SyncError error = autofill_syncable_service_.ProcessSyncChanges( syncer 553 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc syncer::SyncChange result = sync_change_processor->changes()[0]; syncer 554 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_ADD, result.change_type()); syncer 573 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc syncer::SyncChange result = sync_change_processor->changes()[0]; syncer 574 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc EXPECT_EQ(syncer::SyncChange::ACTION_DELETE, result.change_type()); syncer 743 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc syncer::SyncChangeList expected_change_list; syncer 745 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc syncer::SyncChange(FROM_HERE, syncer 746 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc syncer::SyncChange::ACTION_ADD, syncer 750 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc syncer::SyncDataList data_list; syncer 753 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc autofill_syncable_service_.StopSyncing(syncer::AUTOFILL_PROFILE); syncer 760 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc syncer::SyncDataList data_list; syncer 765 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc syncer::SyncChangeList expected_change_list; syncer 774 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc autofill_syncable_service_.StopSyncing(syncer::AUTOFILL_PROFILE); syncer 799 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc syncer::SyncDataList data_list; syncer 801 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc syncer::SyncData::CreateLocalData(kGuid1, kGuid1, specifics)); syncer 805 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc syncer::SyncChangeList expected_change_list; syncer 821 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc autofill_syncable_service_.StopSyncing(syncer::AUTOFILL_PROFILE); syncer 859 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc syncer::SyncDataList data_list; syncer 861 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc syncer::SyncData::CreateLocalData( syncer 865 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc syncer::SyncChangeList expected_change_list; syncer 868 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc autofill_syncable_service_.StopSyncing(syncer::AUTOFILL_PROFILE); syncer 38 components/dom_distiller/content/dom_distiller_viewer_source_unittest.cc MOCK_CONST_METHOD0(GetSyncableService, syncer::SyncableService*()); syncer 49 components/dom_distiller/core/article_entry.cc ArticleEntry GetEntryFromChange(const syncer::SyncChange& change) { syncer 55 components/dom_distiller/core/article_entry.cc std::string GetEntryIdFromSyncData(const syncer::SyncData& data) { syncer 63 components/dom_distiller/core/article_entry.cc syncer::SyncData CreateLocalData(const ArticleEntry& entry) { syncer 66 components/dom_distiller/core/article_entry.cc return syncer::SyncData::CreateLocalData(entry_id, entry_id, specifics); syncer 14 components/dom_distiller/core/article_entry.h namespace syncer { syncer 31 components/dom_distiller/core/article_entry.h ArticleEntry GetEntryFromChange(const syncer::SyncChange& change); syncer 32 components/dom_distiller/core/article_entry.h std::string GetEntryIdFromSyncData(const syncer::SyncData& data); syncer 33 components/dom_distiller/core/article_entry.h syncer::SyncData CreateLocalData(const ArticleEntry& entry); syncer 9 components/dom_distiller/core/dom_distiller_model.cc using syncer::SyncChange; syncer 10 components/dom_distiller/core/dom_distiller_model.cc using syncer::SyncChangeList; syncer 11 components/dom_distiller/core/dom_distiller_model.cc using syncer::SyncData; syncer 12 components/dom_distiller/core/dom_distiller_model.cc using syncer::SyncDataList; syncer 40 components/dom_distiller/core/dom_distiller_model.h syncer::SyncDataList GetAllSyncData() const; syncer 45 components/dom_distiller/core/dom_distiller_model.h void CalculateChangesForMerge(const syncer::SyncDataList& data, syncer 46 components/dom_distiller/core/dom_distiller_model.h syncer::SyncChangeList* changes_to_apply, syncer 47 components/dom_distiller/core/dom_distiller_model.h syncer::SyncChangeList* changes_missing); syncer 55 components/dom_distiller/core/dom_distiller_model.h void ApplyChangesToModel(const syncer::SyncChangeList& change_list, syncer 56 components/dom_distiller/core/dom_distiller_model.h syncer::SyncChangeList* changes_applied, syncer 57 components/dom_distiller/core/dom_distiller_model.h syncer::SyncChangeList* changes_missing); syncer 76 components/dom_distiller/core/dom_distiller_model.h void ApplyChangeToModel(const syncer::SyncChange& change, syncer 77 components/dom_distiller/core/dom_distiller_model.h syncer::SyncChangeList* changes_applied, syncer 78 components/dom_distiller/core/dom_distiller_model.h syncer::SyncChangeList* changes_missing); syncer 112 components/dom_distiller/core/dom_distiller_model_unittest.cc syncer::SyncChangeList changes_to_apply; syncer 113 components/dom_distiller/core/dom_distiller_model_unittest.cc syncer::SyncChangeList changes_applied; syncer 114 components/dom_distiller/core/dom_distiller_model_unittest.cc syncer::SyncChangeList changes_missing; syncer 117 components/dom_distiller/core/dom_distiller_model_unittest.cc changes_to_apply.push_back(syncer::SyncChange( syncer 118 components/dom_distiller/core/dom_distiller_model_unittest.cc FROM_HERE, syncer::SyncChange::ACTION_UPDATE, CreateLocalData(entry2))); syncer 45 components/dom_distiller/core/dom_distiller_service.cc syncer::SyncableService* DomDistillerService::GetSyncableService() const { syncer 19 components/dom_distiller/core/dom_distiller_service.h namespace syncer { syncer 41 components/dom_distiller/core/dom_distiller_service.h virtual syncer::SyncableService* GetSyncableService() const = 0; syncer 86 components/dom_distiller/core/dom_distiller_service.h virtual syncer::SyncableService* GetSyncableService() const OVERRIDE; syncer 16 components/dom_distiller/core/dom_distiller_store.cc using syncer::ModelType; syncer 17 components/dom_distiller/core/dom_distiller_store.cc using syncer::SyncChange; syncer 18 components/dom_distiller/core/dom_distiller_store.cc using syncer::SyncChangeList; syncer 19 components/dom_distiller/core/dom_distiller_store.cc using syncer::SyncData; syncer 20 components/dom_distiller/core/dom_distiller_store.cc using syncer::SyncDataList; syncer 21 components/dom_distiller/core/dom_distiller_store.cc using syncer::SyncError; syncer 22 components/dom_distiller/core/dom_distiller_store.cc using syncer::SyncMergeResult; syncer 53 components/dom_distiller/core/dom_distiller_store.cc syncer::SyncableService* DomDistillerStore::GetSyncableService() { syncer 170 components/dom_distiller/core/dom_distiller_store.cc scoped_ptr<syncer::SyncChangeProcessor> sync_processor, syncer 171 components/dom_distiller/core/dom_distiller_store.cc scoped_ptr<syncer::SyncErrorFactory> error_handler) { syncer 172 components/dom_distiller/core/dom_distiller_store.cc DCHECK_EQ(syncer::ARTICLES, type); syncer 209 components/dom_distiller/core/dom_distiller_store.cc void DomDistillerStore::NotifyObservers(const syncer::SyncChangeList& changes) { syncer 286 components/dom_distiller/core/dom_distiller_store.cc StopSyncing(syncer::ARTICLES); syncer 302 components/dom_distiller/core/dom_distiller_store.cc StopSyncing(syncer::ARTICLES); syncer 341 components/dom_distiller/core/dom_distiller_store.cc SyncMergeResult result(syncer::ARTICLES); syncer 38 components/dom_distiller/core/dom_distiller_store.h virtual syncer::SyncableService* GetSyncableService() = 0; syncer 76 components/dom_distiller/core/dom_distiller_store.h class DomDistillerStore : public syncer::SyncableService, syncer 94 components/dom_distiller/core/dom_distiller_store.h virtual syncer::SyncableService* GetSyncableService() OVERRIDE; syncer 106 components/dom_distiller/core/dom_distiller_store.h virtual syncer::SyncMergeResult MergeDataAndStartSyncing( syncer 107 components/dom_distiller/core/dom_distiller_store.h syncer::ModelType type, syncer 108 components/dom_distiller/core/dom_distiller_store.h const syncer::SyncDataList& initial_sync_data, syncer 109 components/dom_distiller/core/dom_distiller_store.h scoped_ptr<syncer::SyncChangeProcessor> sync_processor, syncer 110 components/dom_distiller/core/dom_distiller_store.h scoped_ptr<syncer::SyncErrorFactory> error_handler) OVERRIDE; syncer 111 components/dom_distiller/core/dom_distiller_store.h virtual void StopSyncing(syncer::ModelType type) OVERRIDE; syncer 112 components/dom_distiller/core/dom_distiller_store.h virtual syncer::SyncDataList GetAllSyncData(syncer::ModelType type) const syncer 114 components/dom_distiller/core/dom_distiller_store.h virtual syncer::SyncError ProcessSyncChanges( syncer 116 components/dom_distiller/core/dom_distiller_store.h const syncer::SyncChangeList& change_list) OVERRIDE; syncer 122 components/dom_distiller/core/dom_distiller_store.h syncer::SyncMergeResult MergeDataWithModel( syncer 123 components/dom_distiller/core/dom_distiller_store.h const syncer::SyncDataList& data, syncer 124 components/dom_distiller/core/dom_distiller_store.h syncer::SyncChangeList* changes_applied, syncer 125 components/dom_distiller/core/dom_distiller_store.h syncer::SyncChangeList* changes_missing); syncer 130 components/dom_distiller/core/dom_distiller_store.h void CalculateChangesForMerge(const syncer::SyncDataList& data, syncer 131 components/dom_distiller/core/dom_distiller_store.h syncer::SyncChangeList* changes_to_apply, syncer 132 components/dom_distiller/core/dom_distiller_store.h syncer::SyncChangeList* changes_missing); syncer 135 components/dom_distiller/core/dom_distiller_store.h const syncer::SyncChangeList& change_list); syncer 136 components/dom_distiller/core/dom_distiller_store.h bool ApplyChangesToDatabase(const syncer::SyncChangeList& change_list); syncer 140 components/dom_distiller/core/dom_distiller_store.h void ApplyChangesToModel(const syncer::SyncChangeList& change_list, syncer 141 components/dom_distiller/core/dom_distiller_store.h syncer::SyncChangeList* changes_applied, syncer 142 components/dom_distiller/core/dom_distiller_store.h syncer::SyncChangeList* changes_missing); syncer 144 components/dom_distiller/core/dom_distiller_store.h void NotifyObservers(const syncer::SyncChangeList& changes); syncer 146 components/dom_distiller/core/dom_distiller_store.h scoped_ptr<syncer::SyncChangeProcessor> sync_processor_; syncer 147 components/dom_distiller/core/dom_distiller_store.h scoped_ptr<syncer::SyncErrorFactory> error_factory_; syncer 22 components/dom_distiller/core/dom_distiller_store_unittest.cc using syncer::ModelType; syncer 23 components/dom_distiller/core/dom_distiller_store_unittest.cc using syncer::SyncChange; syncer 24 components/dom_distiller/core/dom_distiller_store_unittest.cc using syncer::SyncChangeList; syncer 25 components/dom_distiller/core/dom_distiller_store_unittest.cc using syncer::SyncChangeProcessor; syncer 26 components/dom_distiller/core/dom_distiller_store_unittest.cc using syncer::SyncData; syncer 27 components/dom_distiller/core/dom_distiller_store_unittest.cc using syncer::SyncDataList; syncer 28 components/dom_distiller/core/dom_distiller_store_unittest.cc using syncer::SyncError; syncer 29 components/dom_distiller/core/dom_distiller_store_unittest.cc using syncer::SyncErrorFactory; syncer 38 components/dom_distiller/core/dom_distiller_store_unittest.cc const ModelType kDomDistillerModelType = syncer::ARTICLES; syncer 46 components/dom_distiller/core/dom_distiller_store_unittest.cc class FakeSyncErrorFactory : public syncer::SyncErrorFactory { syncer 48 components/dom_distiller/core/dom_distiller_store_unittest.cc virtual syncer::SyncError CreateAndUploadError( syncer 51 components/dom_distiller/core/dom_distiller_store_unittest.cc return syncer::SyncError(); syncer 55 components/dom_distiller/core/dom_distiller_store_unittest.cc class FakeSyncChangeProcessor : public syncer::SyncChangeProcessor { syncer 59 components/dom_distiller/core/dom_distiller_store_unittest.cc virtual syncer::SyncDataList GetAllSyncData(syncer::ModelType type) const syncer 62 components/dom_distiller/core/dom_distiller_store_unittest.cc return syncer::SyncDataList(); syncer 67 components/dom_distiller/core/dom_distiller_store_unittest.cc const syncer::SyncChangeList& changes) OVERRIDE { syncer 390 components/password_manager/core/browser/password_form_manager_unittest.cc CHECK(password_store->Init(syncer::SyncableService::StartSyncFlare())); syncer 98 components/password_manager/core/browser/password_manager_unittest.cc CHECK(store_->Init(syncer::SyncableService::StartSyncFlare())); syncer 79 components/password_manager/core/browser/password_store.cc bool PasswordStore::Init(const syncer::SyncableService::StartSyncFlare& flare) { syncer 172 components/password_manager/core/browser/password_store.cc base::WeakPtr<syncer::SyncableService> syncer 244 components/password_manager/core/browser/password_store.cc const syncer::SyncableService::StartSyncFlare& flare) { syncer 43 components/password_manager/core/browser/password_store.h namespace syncer { syncer 117 components/password_manager/core/browser/password_store.h virtual bool Init(const syncer::SyncableService::StartSyncFlare& flare); syncer 168 components/password_manager/core/browser/password_store.h base::WeakPtr<syncer::SyncableService> GetPasswordSyncableService(); syncer 288 components/password_manager/core/browser/password_store.h const syncer::SyncableService::StartSyncFlare& flare); syncer 74 components/password_manager/core/browser/password_store_default_unittest.cc store->Init(syncer::SyncableService::StartSyncFlare()); syncer 120 components/password_manager/core/browser/password_store_default_unittest.cc store->Init(syncer::SyncableService::StartSyncFlare()); syncer 37 components/password_manager/core/browser/password_store_unittest.cc MOCK_METHOD1(StartSyncFlare, void(syncer::ModelType)); syncer 69 components/password_manager/core/browser/password_store_unittest.cc store->Init(syncer::SyncableService::StartSyncFlare()); syncer 204 components/password_manager/core/browser/password_store_unittest.cc EXPECT_CALL(mock, StartSyncFlare(syncer::PASSWORDS)); syncer 85 components/password_manager/core/browser/password_syncable_service.cc syncer::SyncChange::SyncChangeType GetSyncChangeType( syncer 89 components/password_manager/core/browser/password_syncable_service.cc return syncer::SyncChange::ACTION_ADD; syncer 91 components/password_manager/core/browser/password_syncable_service.cc return syncer::SyncChange::ACTION_UPDATE; syncer 93 components/password_manager/core/browser/password_syncable_service.cc return syncer::SyncChange::ACTION_DELETE; syncer 96 components/password_manager/core/browser/password_syncable_service.cc return syncer::SyncChange::ACTION_INVALID; syncer 115 components/password_manager/core/browser/password_syncable_service.cc syncer::SyncMergeResult PasswordSyncableService::MergeDataAndStartSyncing( syncer 116 components/password_manager/core/browser/password_syncable_service.cc syncer::ModelType type, syncer 117 components/password_manager/core/browser/password_syncable_service.cc const syncer::SyncDataList& initial_sync_data, syncer 118 components/password_manager/core/browser/password_syncable_service.cc scoped_ptr<syncer::SyncChangeProcessor> sync_processor, syncer 119 components/password_manager/core/browser/password_syncable_service.cc scoped_ptr<syncer::SyncErrorFactory> sync_error_factory) { syncer 121 components/password_manager/core/browser/password_syncable_service.cc DCHECK_EQ(syncer::PASSWORDS, type); syncer 123 components/password_manager/core/browser/password_syncable_service.cc syncer::SyncMergeResult merge_result(type); syncer 150 components/password_manager/core/browser/password_syncable_service.cc syncer::SyncChangeList updated_db_entries; syncer 151 components/password_manager/core/browser/password_syncable_service.cc for (syncer::SyncDataList::const_iterator sync_iter = syncer 176 components/password_manager/core/browser/password_syncable_service.cc syncer::SyncChange(FROM_HERE, syncer 177 components/password_manager/core/browser/password_syncable_service.cc syncer::SyncChange::ACTION_ADD, syncer 186 components/password_manager/core/browser/password_syncable_service.cc void PasswordSyncableService::StopSyncing(syncer::ModelType type) { syncer 188 components/password_manager/core/browser/password_syncable_service.cc DCHECK_EQ(syncer::PASSWORDS, type); syncer 194 components/password_manager/core/browser/password_syncable_service.cc syncer::SyncDataList PasswordSyncableService::GetAllSyncData( syncer 195 components/password_manager/core/browser/password_syncable_service.cc syncer::ModelType type) const { syncer 197 components/password_manager/core/browser/password_syncable_service.cc DCHECK_EQ(syncer::PASSWORDS, type); syncer 201 components/password_manager/core/browser/password_syncable_service.cc syncer::SyncDataList sync_data; syncer 209 components/password_manager/core/browser/password_syncable_service.cc syncer::SyncError PasswordSyncableService::ProcessSyncChanges( syncer 211 components/password_manager/core/browser/password_syncable_service.cc const syncer::SyncChangeList& change_list) { syncer 223 components/password_manager/core/browser/password_syncable_service.cc for (syncer::SyncChangeList::const_iterator it = change_list.begin(); syncer 227 components/password_manager/core/browser/password_syncable_service.cc case syncer::SyncChange::ACTION_ADD: { syncer 235 components/password_manager/core/browser/password_syncable_service.cc case syncer::SyncChange::ACTION_UPDATE: { syncer 246 components/password_manager/core/browser/password_syncable_service.cc syncer::SyncChangeList sync_changes; syncer 257 components/password_manager/core/browser/password_syncable_service.cc case syncer::SyncChange::ACTION_DELETE: { syncer 266 components/password_manager/core/browser/password_syncable_service.cc case syncer::SyncChange::ACTION_INVALID: syncer 275 components/password_manager/core/browser/password_syncable_service.cc return syncer::SyncError(); syncer 284 components/password_manager/core/browser/password_syncable_service.cc flare_.Run(syncer::PASSWORDS); syncer 294 components/password_manager/core/browser/password_syncable_service.cc syncer::SyncChangeList sync_changes; syncer 299 components/password_manager/core/browser/password_syncable_service.cc syncer::SyncChange(FROM_HERE, syncer 307 components/password_manager/core/browser/password_syncable_service.cc const syncer::SyncableService::StartSyncFlare& flare) { syncer 321 components/password_manager/core/browser/password_syncable_service.cc ModelTypeToHistogramInt(syncer::PASSWORDS), syncer 322 components/password_manager/core/browser/password_syncable_service.cc syncer::MODEL_TYPE_COUNT); syncer 376 components/password_manager/core/browser/password_syncable_service.cc const syncer::SyncData& data, syncer 380 components/password_manager/core/browser/password_syncable_service.cc syncer::SyncChangeList* updated_db_entries) { syncer 409 components/password_manager/core/browser/password_syncable_service.cc syncer::SyncChange(FROM_HERE, syncer 410 components/password_manager/core/browser/password_syncable_service.cc syncer::SyncChange::ACTION_UPDATE, syncer 421 components/password_manager/core/browser/password_syncable_service.cc syncer::SyncData SyncDataFromPassword( syncer 445 components/password_manager/core/browser/password_syncable_service.cc return syncer::SyncData::CreateLocalData(tag, tag, password_data); syncer 29 components/password_manager/core/browser/password_syncable_service.h namespace syncer { syncer 35 components/password_manager/core/browser/password_syncable_service.h class PasswordSyncableService : public syncer::SyncableService, syncer 43 components/password_manager/core/browser/password_syncable_service.h virtual syncer::SyncMergeResult MergeDataAndStartSyncing( syncer 44 components/password_manager/core/browser/password_syncable_service.h syncer::ModelType type, syncer 45 components/password_manager/core/browser/password_syncable_service.h const syncer::SyncDataList& initial_sync_data, syncer 46 components/password_manager/core/browser/password_syncable_service.h scoped_ptr<syncer::SyncChangeProcessor> sync_processor, syncer 47 components/password_manager/core/browser/password_syncable_service.h scoped_ptr<syncer::SyncErrorFactory> error_handler) OVERRIDE; syncer 48 components/password_manager/core/browser/password_syncable_service.h virtual void StopSyncing(syncer::ModelType type) OVERRIDE; syncer 49 components/password_manager/core/browser/password_syncable_service.h virtual syncer::SyncDataList GetAllSyncData( syncer 50 components/password_manager/core/browser/password_syncable_service.h syncer::ModelType type) const OVERRIDE; syncer 51 components/password_manager/core/browser/password_syncable_service.h virtual syncer::SyncError ProcessSyncChanges( syncer 53 components/password_manager/core/browser/password_syncable_service.h const syncer::SyncChangeList& change_list) OVERRIDE; syncer 61 components/password_manager/core/browser/password_syncable_service.h const syncer::SyncableService::StartSyncFlare& flare); syncer 94 components/password_manager/core/browser/password_syncable_service.h const syncer::SyncData& data, syncer 98 components/password_manager/core/browser/password_syncable_service.h syncer::SyncChangeList* updated_db_entries); syncer 102 components/password_manager/core/browser/password_syncable_service.h scoped_ptr<syncer::SyncErrorFactory> sync_error_factory_; syncer 105 components/password_manager/core/browser/password_syncable_service.h scoped_ptr<syncer::SyncChangeProcessor> sync_processor_; syncer 111 components/password_manager/core/browser/password_syncable_service.h syncer::SyncableService::StartSyncFlare flare_; syncer 120 components/password_manager/core/browser/password_syncable_service.h syncer::SyncData SyncDataFromPassword(const autofill::PasswordForm& password); syncer 22 components/password_manager/core/browser/password_syncable_service_unittest.cc using syncer::SyncChange; syncer 23 components/password_manager/core/browser/password_syncable_service_unittest.cc using syncer::SyncData; syncer 24 components/password_manager/core/browser/password_syncable_service_unittest.cc using syncer::SyncDataList; syncer 25 components/password_manager/core/browser/password_syncable_service_unittest.cc using syncer::SyncError; syncer 36 components/password_manager/core/browser/password_syncable_service_unittest.cc const syncer::SyncData& sync_data) { syncer 70 components/password_manager/core/browser/password_syncable_service_unittest.cc return syncer::SyncData::CreateLocalData(tag, tag, password_data); syncer 90 components/password_manager/core/browser/password_syncable_service_unittest.cc MOCK_METHOD1(StartSyncFlare, void(syncer::ModelType)); syncer 156 components/password_manager/core/browser/password_syncable_service_unittest.cc : public syncer::SyncChangeProcessor { syncer 168 components/password_manager/core/browser/password_syncable_service_unittest.cc virtual SyncDataList GetAllSyncData(syncer::ModelType type) const OVERRIDE { syncer 292 components/password_manager/core/browser/password_syncable_service_unittest.cc scoped_ptr<syncer::SyncChangeProcessor> ReleaseSyncableService() { syncer 293 components/password_manager/core/browser/password_syncable_service_unittest.cc return service_.PassAs<syncer::SyncChangeProcessor>(); syncer 300 components/password_manager/core/browser/password_syncable_service_unittest.cc scoped_ptr<syncer::SyncChangeProcessor> CreateSyncChangeProcessor() { syncer 301 components/password_manager/core/browser/password_syncable_service_unittest.cc return make_scoped_ptr<syncer::SyncChangeProcessor>( syncer 370 components/password_manager/core/browser/password_syncable_service_unittest.cc service()->MergeDataAndStartSyncing(syncer::PASSWORDS, syncer 373 components/password_manager/core/browser/password_syncable_service_unittest.cc scoped_ptr<syncer::SyncErrorFactory>()); syncer 392 components/password_manager/core/browser/password_syncable_service_unittest.cc service()->MergeDataAndStartSyncing(syncer::PASSWORDS, syncer 395 components/password_manager/core/browser/password_syncable_service_unittest.cc scoped_ptr<syncer::SyncErrorFactory>()); syncer 415 components/password_manager/core/browser/password_syncable_service_unittest.cc service()->MergeDataAndStartSyncing(syncer::PASSWORDS, syncer 418 components/password_manager/core/browser/password_syncable_service_unittest.cc scoped_ptr<syncer::SyncErrorFactory>()); syncer 437 components/password_manager/core/browser/password_syncable_service_unittest.cc service()->MergeDataAndStartSyncing(syncer::PASSWORDS, syncer 440 components/password_manager/core/browser/password_syncable_service_unittest.cc scoped_ptr<syncer::SyncErrorFactory>()); syncer 464 components/password_manager/core/browser/password_syncable_service_unittest.cc service()->MergeDataAndStartSyncing(syncer::PASSWORDS, syncer 467 components/password_manager/core/browser/password_syncable_service_unittest.cc scoped_ptr<syncer::SyncErrorFactory>()); syncer 478 components/password_manager/core/browser/password_syncable_service_unittest.cc service_->MergeDataAndStartSyncing(syncer::PASSWORDS, syncer 481 components/password_manager/core/browser/password_syncable_service_unittest.cc scoped_ptr<syncer::SyncErrorFactory>()); syncer 534 components/password_manager/core/browser/password_syncable_service_unittest.cc syncer::SyncChange::ACTION_ADD, syncer 537 components/password_manager/core/browser/password_syncable_service_unittest.cc syncer::SyncChange::ACTION_UPDATE, syncer 540 components/password_manager/core/browser/password_syncable_service_unittest.cc syncer::SyncChange::ACTION_DELETE)); syncer 567 components/password_manager/core/browser/password_syncable_service_unittest.cc SyncDataList actual_list = service()->GetAllSyncData(syncer::PASSWORDS); syncer 588 components/password_manager/core/browser/password_syncable_service_unittest.cc syncer::SyncData form2_sync_data = SyncDataFromPassword(*form2); syncer 606 components/password_manager/core/browser/password_syncable_service_unittest.cc syncer::SyncDataList other_service_data = syncer 607 components/password_manager/core/browser/password_syncable_service_unittest.cc other_service_wrapper.service()->GetAllSyncData(syncer::PASSWORDS); syncer 609 components/password_manager/core/browser/password_syncable_service_unittest.cc syncer::PASSWORDS, syncer 612 components/password_manager/core/browser/password_syncable_service_unittest.cc scoped_ptr<syncer::SyncErrorFactory>()); syncer 630 components/password_manager/core/browser/password_syncable_service_unittest.cc EXPECT_CALL(*service(), StartSyncFlare(syncer::PASSWORDS)); syncer 458 components/sessions/serialized_navigation_entry.cc sync_data.set_timestamp_msec(syncer::TimeToProtoTime(timestamp_)); syncer 48 components/sessions/serialized_navigation_entry_unittest.cc const base::Time kTimestamp = syncer::ProtoTimeToTime(100); syncer 87 components/sessions/serialized_navigation_entry_unittest.cc sync_data.set_timestamp_msec(syncer::TimeToProtoTime(kTimestamp)); syncer 260 components/sessions/serialized_navigation_entry_unittest.cc EXPECT_EQ(syncer::TimeToProtoTime(kTimestamp), sync_data.timestamp_msec()); syncer 11 components/sync_driver/backend_data_type_configurer.cc syncer::ModelTypeSet syncer 14 components/sync_driver/backend_data_type_configurer.cc syncer::ModelTypeSet types; syncer 25 components/sync_driver/backend_data_type_configurer.cc DataTypeConfigState state, syncer::ModelTypeSet types, syncer 27 components/sync_driver/backend_data_type_configurer.cc for (syncer::ModelTypeSet::Iterator it = types.First(); it.Good(); it.Inc()) { syncer 33 components/sync_driver/backend_data_type_configurer.h typedef std::map<syncer::ModelType, DataTypeConfigState> syncer 48 components/sync_driver/backend_data_type_configurer.h syncer::ConfigureReason reason, syncer 50 components/sync_driver/backend_data_type_configurer.h const base::Callback<void(syncer::ModelTypeSet, syncer 51 components/sync_driver/backend_data_type_configurer.h syncer::ModelTypeSet)>& ready_task, syncer 55 components/sync_driver/backend_data_type_configurer.h static syncer::ModelTypeSet GetDataTypesInState( syncer 60 components/sync_driver/backend_data_type_configurer.h syncer::ModelTypeSet types, syncer 29 components/sync_driver/data_type_controller.cc syncer::SyncError DataTypeController::CreateAndUploadError( syncer 32 components/sync_driver/data_type_controller.cc syncer::ModelType type) { syncer 35 components/sync_driver/data_type_controller.cc return syncer::SyncError(location, syncer 36 components/sync_driver/data_type_controller.cc syncer::SyncError::DATATYPE_ERROR, syncer 50 components/sync_driver/data_type_controller.cc syncer::MODEL_TYPE_COUNT); syncer 54 components/sync_driver/data_type_controller.cc if ((type() != syncer::SEARCH_ENGINES) && (!error_callback_.is_null())) syncer 22 components/sync_driver/data_type_controller.h namespace syncer { syncer 65 components/sync_driver/data_type_controller.h const syncer::SyncMergeResult&, syncer 66 components/sync_driver/data_type_controller.h const syncer::SyncMergeResult&)> StartCallback; syncer 68 components/sync_driver/data_type_controller.h typedef base::Callback<void(syncer::ModelType, syncer 69 components/sync_driver/data_type_controller.h syncer::SyncError)> ModelLoadCallback; syncer 71 components/sync_driver/data_type_controller.h typedef std::map<syncer::ModelType, syncer 73 components/sync_driver/data_type_controller.h typedef std::map<syncer::ModelType, DataTypeController::State> StateMap; syncer 100 components/sync_driver/data_type_controller.h virtual syncer::ModelType type() const = 0; syncer 108 components/sync_driver/data_type_controller.h virtual syncer::ModelSafeGroup model_safe_group() const = 0; syncer 115 components/sync_driver/data_type_controller.h virtual syncer::SyncError CreateAndUploadError( syncer 118 components/sync_driver/data_type_controller.h syncer::ModelType type) OVERRIDE; syncer 20 components/sync_driver/data_type_controller_mock.h const syncer::SyncMergeResult& local_merge_result, syncer 21 components/sync_driver/data_type_controller_mock.h const syncer::SyncMergeResult& syncer_merge_result)); syncer 29 components/sync_driver/data_type_controller_mock.h MOCK_METHOD2(Run, void(syncer::ModelType, syncer::SyncError)); syncer 24 components/sync_driver/data_type_encryption_handler.h virtual syncer::ModelTypeSet GetEncryptedDataTypes() const = 0; syncer 28 components/sync_driver/data_type_error_handler.h virtual syncer::SyncError CreateAndUploadError( syncer 31 components/sync_driver/data_type_error_handler.h syncer::ModelType type) = 0; syncer 20 components/sync_driver/data_type_error_handler_mock.h syncer::SyncError(const tracked_objects::Location&, syncer 22 components/sync_driver/data_type_error_handler_mock.h syncer::ModelType)); syncer 14 components/sync_driver/data_type_manager.cc syncer::ModelTypeSet syncer 23 components/sync_driver/data_type_manager.cc syncer::ModelTypeSet requested_types, syncer 24 components/sync_driver/data_type_manager.cc std::map<syncer::ModelType, syncer::SyncError> failed_data_types, syncer 25 components/sync_driver/data_type_manager.cc syncer::ModelTypeSet unfinished_data_types, syncer 26 components/sync_driver/data_type_manager.cc syncer::ModelTypeSet needs_crypto) syncer 51 components/sync_driver/data_type_manager.h syncer::ModelTypeSet requested_types); syncer 53 components/sync_driver/data_type_manager.h syncer::ModelTypeSet requested_types, syncer 54 components/sync_driver/data_type_manager.h std::map<syncer::ModelType, syncer::SyncError> syncer 56 components/sync_driver/data_type_manager.h syncer::ModelTypeSet unfinished_data_types, syncer 57 components/sync_driver/data_type_manager.h syncer::ModelTypeSet needs_crypto); syncer 60 components/sync_driver/data_type_manager.h syncer::ModelTypeSet requested_types; syncer 63 components/sync_driver/data_type_manager.h std::map<syncer::ModelType, syncer::SyncError> failed_data_types; syncer 69 components/sync_driver/data_type_manager.h syncer::ModelTypeSet unfinished_data_types; syncer 73 components/sync_driver/data_type_manager.h syncer::ModelTypeSet needs_crypto; syncer 93 components/sync_driver/data_type_manager.h virtual void Configure(syncer::ModelTypeSet desired_types, syncer 94 components/sync_driver/data_type_manager.h syncer::ConfigureReason reason) = 0; syncer 96 components/sync_driver/data_type_manager.h virtual void PurgeForMigration(syncer::ModelTypeSet undesired_types, syncer 97 components/sync_driver/data_type_manager.h syncer::ConfigureReason reason) = 0; syncer 11 components/sync_driver/data_type_manager_mock.cc : result_(OK, syncer::ModelTypeSet()) { syncer 19 components/sync_driver/data_type_manager_mock.h MOCK_METHOD2(Configure, void(syncer::ModelTypeSet, syncer::ConfigureReason)); syncer 20 components/sync_driver/data_type_manager_mock.h MOCK_METHOD2(PurgeForMigration, void(syncer::ModelTypeSet, syncer 21 components/sync_driver/data_type_manager_mock.h syncer::ConfigureReason)); syncer 14 components/sync_driver/failed_data_types_handler.cc syncer::ModelTypeSet GetTypesFromErrorMap( syncer 16 components/sync_driver/failed_data_types_handler.cc syncer::ModelTypeSet result; syncer 39 components/sync_driver/failed_data_types_handler.cc syncer::SyncError::ErrorType failure_type = iter->second.error_type(); syncer 41 components/sync_driver/failed_data_types_handler.cc case syncer::SyncError::UNRECOVERABLE_ERROR: syncer 42 components/sync_driver/failed_data_types_handler.cc case syncer::SyncError::DATATYPE_ERROR: syncer 45 components/sync_driver/failed_data_types_handler.cc case syncer::SyncError::CRYPTO_ERROR: syncer 48 components/sync_driver/failed_data_types_handler.cc case syncer::SyncError::PERSISTENCE_ERROR: syncer 69 components/sync_driver/failed_data_types_handler.cc syncer::ModelTypeSet purged_types) { syncer 70 components/sync_driver/failed_data_types_handler.cc for (syncer::ModelTypeSet::Iterator iter = purged_types.First(); iter.Good(); syncer 88 components/sync_driver/failed_data_types_handler.cc syncer::ModelTypeSet FailedDataTypesHandler::GetFailedTypes() const { syncer 89 components/sync_driver/failed_data_types_handler.cc syncer::ModelTypeSet result = GetFatalErrorTypes(); syncer 94 components/sync_driver/failed_data_types_handler.cc syncer::ModelTypeSet FailedDataTypesHandler::GetFatalErrorTypes() const { syncer 98 components/sync_driver/failed_data_types_handler.cc syncer::ModelTypeSet FailedDataTypesHandler::GetCryptoErrorTypes() const { syncer 99 components/sync_driver/failed_data_types_handler.cc syncer::ModelTypeSet result = GetTypesFromErrorMap(crypto_errors_); syncer 103 components/sync_driver/failed_data_types_handler.cc syncer::ModelTypeSet FailedDataTypesHandler::GetPersistenceErrorTypes() const { syncer 104 components/sync_driver/failed_data_types_handler.cc syncer::ModelTypeSet result = GetTypesFromErrorMap(persistence_errors_); syncer 17 components/sync_driver/failed_data_types_handler.h typedef std::map<syncer::ModelType, syncer::SyncError> TypeErrorMap; syncer 33 components/sync_driver/failed_data_types_handler.h void ResetPersistenceErrorsFrom(syncer::ModelTypeSet purged_types); syncer 39 components/sync_driver/failed_data_types_handler.h syncer::ModelTypeSet GetFailedTypes() const; syncer 42 components/sync_driver/failed_data_types_handler.h syncer::ModelTypeSet GetFatalErrorTypes() const; syncer 45 components/sync_driver/failed_data_types_handler.h syncer::ModelTypeSet GetCryptoErrorTypes() const; syncer 48 components/sync_driver/failed_data_types_handler.h syncer::ModelTypeSet GetPersistenceErrorTypes() const; syncer 10 components/sync_driver/fake_data_type_controller.cc using syncer::ModelType; syncer 63 components/sync_driver/fake_data_type_controller.cc syncer::SyncMergeResult local_merge_result(type()); syncer 64 components/sync_driver/fake_data_type_controller.cc syncer::SyncMergeResult syncer_merge_result(type()); syncer 70 components/sync_driver/fake_data_type_controller.cc syncer::SyncError(FROM_HERE, syncer 71 components/sync_driver/fake_data_type_controller.cc syncer::SyncError::DATATYPE_ERROR, syncer 77 components/sync_driver/fake_data_type_controller.cc syncer::SyncError(FROM_HERE, syncer 78 components/sync_driver/fake_data_type_controller.cc syncer::SyncError::DATATYPE_ERROR, syncer 101 components/sync_driver/fake_data_type_controller.cc syncer::SyncError error(FROM_HERE, syncer 102 components/sync_driver/fake_data_type_controller.cc syncer::SyncError::DATATYPE_ERROR, syncer 105 components/sync_driver/fake_data_type_controller.cc syncer::SyncMergeResult local_merge_result(type_); syncer 109 components/sync_driver/fake_data_type_controller.cc syncer::SyncMergeResult(type_)); syncer 122 components/sync_driver/fake_data_type_controller.cc syncer::ModelSafeGroup FakeDataTypeController::model_safe_group() const { syncer 124 components/sync_driver/fake_data_type_controller.cc return syncer::GROUP_PASSIVE; syncer 147 components/sync_driver/fake_data_type_controller.cc void FakeDataTypeController::SetModelLoadError(syncer::SyncError error) { syncer 23 components/sync_driver/fake_data_type_controller.h explicit FakeDataTypeController(syncer::ModelType type); syncer 36 components/sync_driver/fake_data_type_controller.h virtual syncer::ModelType type() const OVERRIDE; syncer 40 components/sync_driver/fake_data_type_controller.h virtual syncer::ModelSafeGroup model_safe_group() const OVERRIDE; syncer 54 components/sync_driver/fake_data_type_controller.h void SetModelLoadError(syncer::SyncError error); syncer 64 components/sync_driver/fake_data_type_controller.h syncer::ModelType type_; syncer 67 components/sync_driver/fake_data_type_controller.h syncer::SyncError load_error_; syncer 16 components/sync_driver/model_association_manager.cc using syncer::ModelTypeSet; syncer 22 components/sync_driver/model_association_manager.cc static const syncer::ModelType kStartOrder[] = { syncer 23 components/sync_driver/model_association_manager.cc syncer::NIGORI, // Listed for completeness. syncer 24 components/sync_driver/model_association_manager.cc syncer::DEVICE_INFO, // Listed for completeness. syncer 25 components/sync_driver/model_association_manager.cc syncer::EXPERIMENTS, // Listed for completeness. syncer 26 components/sync_driver/model_association_manager.cc syncer::PROXY_TABS, // Listed for completeness. syncer 30 components/sync_driver/model_association_manager.cc syncer::PASSWORDS, syncer 31 components/sync_driver/model_association_manager.cc syncer::AUTOFILL, syncer 32 components/sync_driver/model_association_manager.cc syncer::AUTOFILL_PROFILE, syncer 33 components/sync_driver/model_association_manager.cc syncer::EXTENSION_SETTINGS, syncer 34 components/sync_driver/model_association_manager.cc syncer::APP_SETTINGS, syncer 35 components/sync_driver/model_association_manager.cc syncer::TYPED_URLS, syncer 36 components/sync_driver/model_association_manager.cc syncer::HISTORY_DELETE_DIRECTIVES, syncer 37 components/sync_driver/model_association_manager.cc syncer::SYNCED_NOTIFICATIONS, syncer 38 components/sync_driver/model_association_manager.cc syncer::SYNCED_NOTIFICATION_APP_INFO, syncer 41 components/sync_driver/model_association_manager.cc syncer::BOOKMARKS, syncer 42 components/sync_driver/model_association_manager.cc syncer::MANAGED_USERS, // Syncing managed users on initial login might syncer 45 components/sync_driver/model_association_manager.cc syncer::PREFERENCES, syncer 46 components/sync_driver/model_association_manager.cc syncer::PRIORITY_PREFERENCES, syncer 47 components/sync_driver/model_association_manager.cc syncer::EXTENSIONS, syncer 48 components/sync_driver/model_association_manager.cc syncer::APPS, syncer 49 components/sync_driver/model_association_manager.cc syncer::APP_LIST, syncer 50 components/sync_driver/model_association_manager.cc syncer::THEMES, syncer 51 components/sync_driver/model_association_manager.cc syncer::SEARCH_ENGINES, syncer 52 components/sync_driver/model_association_manager.cc syncer::SESSIONS, syncer 53 components/sync_driver/model_association_manager.cc syncer::APP_NOTIFICATIONS, syncer 54 components/sync_driver/model_association_manager.cc syncer::DICTIONARY, syncer 55 components/sync_driver/model_association_manager.cc syncer::FAVICON_IMAGES, syncer 56 components/sync_driver/model_association_manager.cc syncer::FAVICON_TRACKING, syncer 57 components/sync_driver/model_association_manager.cc syncer::MANAGED_USER_SETTINGS, syncer 58 components/sync_driver/model_association_manager.cc syncer::MANAGED_USER_SHARED_SETTINGS, syncer 59 components/sync_driver/model_association_manager.cc syncer::ARTICLES, syncer 63 components/sync_driver/model_association_manager.cc syncer::MODEL_TYPE_COUNT - syncer::FIRST_REAL_MODEL_TYPE, syncer 71 components/sync_driver/model_association_manager.cc syncer::DataTypeAssociationStats BuildAssociationStatsFromMergeResults( syncer 72 components/sync_driver/model_association_manager.cc const syncer::SyncMergeResult& local_merge_result, syncer 73 components/sync_driver/model_association_manager.cc const syncer::SyncMergeResult& syncer_merge_result, syncer 77 components/sync_driver/model_association_manager.cc syncer::DataTypeAssociationStats stats; syncer 129 components/sync_driver/model_association_manager.cc void ModelAssociationManager::Initialize(syncer::ModelTypeSet desired_types) { syncer 138 components/sync_driver/model_association_manager.cc for (syncer::ModelTypeSet::Iterator it = desired_types.First(); syncer 145 components/sync_driver/model_association_manager.cc << syncer::ModelTypeSetToString(desired_types_); syncer 173 components/sync_driver/model_association_manager.cc syncer::ModelType type = kStartOrder[i]; syncer 189 components/sync_driver/model_association_manager.cc const syncer::ModelTypeSet& types_to_associate) { syncer 205 components/sync_driver/model_association_manager.cc for (std::map<syncer::ModelType, syncer::SyncError>::const_iterator it = syncer 224 components/sync_driver/model_association_manager.cc syncer::ModelType type = kStartOrder[i]; syncer 287 components/sync_driver/model_association_manager.cc const syncer::SyncError& error) { syncer 290 components/sync_driver/model_association_manager.cc << syncer::ModelTypeToString(error.model_type()); syncer 293 components/sync_driver/model_association_manager.cc syncer::MODEL_TYPE_COUNT); syncer 296 components/sync_driver/model_association_manager.cc void ModelAssociationManager::ModelLoadCallback(syncer::ModelType type, syncer 297 components/sync_driver/model_association_manager.cc syncer::SyncError error) { syncer 299 components/sync_driver/model_association_manager.cc << syncer::ModelTypeToString(type); syncer 311 components/sync_driver/model_association_manager.cc syncer::SyncMergeResult local_merge_result(type); syncer 317 components/sync_driver/model_association_manager.cc syncer::SyncMergeResult(type)); syncer 332 components/sync_driver/model_association_manager.cc syncer::ModelType type, syncer 335 components/sync_driver/model_association_manager.cc const syncer::SyncMergeResult& local_merge_result, syncer 336 components/sync_driver/model_association_manager.cc const syncer::SyncMergeResult& syncer_merge_result) { syncer 382 components/sync_driver/model_association_manager.cc syncer::ProtocolTypes().Has(type)) { syncer 387 components/sync_driver/model_association_manager.cc syncer::DataTypeAssociationStats stats = syncer 417 components/sync_driver/model_association_manager.cc for (syncer::ModelTypeSet::Iterator it = associating_types_.First(); syncer 420 components/sync_driver/model_association_manager.cc syncer::SyncError(FROM_HERE, syncer::SyncError::DATATYPE_ERROR, syncer 31 components/sync_driver/model_association_manager.h syncer::ModelType type, syncer 32 components/sync_driver/model_association_manager.h const syncer::DataTypeAssociationStats& association_stats) = 0; syncer 51 components/sync_driver/model_association_manager.h void Initialize(syncer::ModelTypeSet desired_types); syncer 59 components/sync_driver/model_association_manager.h void StartAssociationAsync(const syncer::ModelTypeSet& types_to_associate); syncer 89 components/sync_driver/model_association_manager.h void TypeStartCallback(syncer::ModelType type, syncer 92 components/sync_driver/model_association_manager.h const syncer::SyncMergeResult& local_merge_result, syncer 93 components/sync_driver/model_association_manager.h const syncer::SyncMergeResult& syncer_merge_result); syncer 97 components/sync_driver/model_association_manager.h void ModelLoadCallback(syncer::ModelType type, syncer::SyncError error); syncer 101 components/sync_driver/model_association_manager.h void AppendToFailedDatatypesAndLogError(const syncer::SyncError& error); syncer 110 components/sync_driver/model_association_manager.h syncer::ModelTypeSet desired_types_; syncer 113 components/sync_driver/model_association_manager.h syncer::ModelTypeSet requested_types_; syncer 117 components/sync_driver/model_association_manager.h syncer::ModelTypeSet associating_types_; syncer 120 components/sync_driver/model_association_manager.h syncer::ModelTypeSet loaded_types_; syncer 124 components/sync_driver/model_association_manager.h syncer::ModelTypeSet associated_types_; syncer 128 components/sync_driver/model_association_manager.h syncer::ModelTypeSet slow_types_; syncer 133 components/sync_driver/model_association_manager.h std::map<syncer::ModelType, syncer::SyncError> failed_data_types_info_; syncer 136 components/sync_driver/model_association_manager.h syncer::ModelTypeSet needs_crypto_types_; syncer 20 components/sync_driver/model_association_manager_unittest.cc void(syncer::ModelType type, syncer 21 components/sync_driver/model_association_manager_unittest.cc const syncer::DataTypeAssociationStats& association_stats)); syncer 28 components/sync_driver/model_association_manager_unittest.cc syncer::ModelType model_type) { syncer 45 components/sync_driver/model_association_manager_unittest.cc std::map<syncer::ModelType, syncer::SyncError>::const_iterator it1, it2; syncer 72 components/sync_driver/model_association_manager_unittest.cc controllers_[syncer::BOOKMARKS] = syncer 73 components/sync_driver/model_association_manager_unittest.cc new FakeDataTypeController(syncer::BOOKMARKS); syncer 74 components/sync_driver/model_association_manager_unittest.cc controllers_[syncer::APPS] = syncer 75 components/sync_driver/model_association_manager_unittest.cc new FakeDataTypeController(syncer::APPS); syncer 78 components/sync_driver/model_association_manager_unittest.cc syncer::ModelTypeSet types(syncer::BOOKMARKS, syncer::APPS); syncer 82 components/sync_driver/model_association_manager_unittest.cc std::map<syncer::ModelType, syncer::SyncError>(), syncer 83 components/sync_driver/model_association_manager_unittest.cc syncer::ModelTypeSet(), syncer 84 components/sync_driver/model_association_manager_unittest.cc syncer::ModelTypeSet()); syncer 88 components/sync_driver/model_association_manager_unittest.cc EXPECT_EQ(GetController(controllers_, syncer::BOOKMARKS)->state(), syncer 90 components/sync_driver/model_association_manager_unittest.cc EXPECT_EQ(GetController(controllers_, syncer::APPS)->state(), syncer 96 components/sync_driver/model_association_manager_unittest.cc EXPECT_EQ(GetController(controllers_, syncer::BOOKMARKS)->state(), syncer 98 components/sync_driver/model_association_manager_unittest.cc EXPECT_EQ(GetController(controllers_, syncer::APPS)->state(), syncer 103 components/sync_driver/model_association_manager_unittest.cc EXPECT_EQ(GetController(controllers_, syncer::BOOKMARKS)->state(), syncer 105 components/sync_driver/model_association_manager_unittest.cc EXPECT_EQ(GetController(controllers_, syncer::APPS)->state(), syncer 107 components/sync_driver/model_association_manager_unittest.cc GetController(controllers_, syncer::BOOKMARKS)->FinishStart( syncer 109 components/sync_driver/model_association_manager_unittest.cc GetController(controllers_, syncer::APPS)->FinishStart( syncer 115 components/sync_driver/model_association_manager_unittest.cc controllers_[syncer::BOOKMARKS] = syncer 116 components/sync_driver/model_association_manager_unittest.cc new FakeDataTypeController(syncer::BOOKMARKS); syncer 121 components/sync_driver/model_association_manager_unittest.cc syncer::ModelTypeSet types; syncer 122 components/sync_driver/model_association_manager_unittest.cc types.Put(syncer::BOOKMARKS); syncer 124 components/sync_driver/model_association_manager_unittest.cc std::map<syncer::ModelType, syncer::SyncError> errors; syncer 125 components/sync_driver/model_association_manager_unittest.cc syncer::SyncError error(FROM_HERE, syncer 126 components/sync_driver/model_association_manager_unittest.cc syncer::SyncError::DATATYPE_ERROR, syncer 128 components/sync_driver/model_association_manager_unittest.cc syncer::BOOKMARKS); syncer 129 components/sync_driver/model_association_manager_unittest.cc errors[syncer::BOOKMARKS] = error; syncer 135 components/sync_driver/model_association_manager_unittest.cc syncer::ModelTypeSet(syncer::BOOKMARKS), syncer 136 components/sync_driver/model_association_manager_unittest.cc syncer::ModelTypeSet()); syncer 144 components/sync_driver/model_association_manager_unittest.cc EXPECT_EQ(GetController(controllers_, syncer::BOOKMARKS)->state(), syncer 147 components/sync_driver/model_association_manager_unittest.cc EXPECT_EQ(GetController(controllers_, syncer::BOOKMARKS)->state(), syncer 153 components/sync_driver/model_association_manager_unittest.cc controllers_[syncer::BOOKMARKS] = syncer 154 components/sync_driver/model_association_manager_unittest.cc new FakeDataTypeController(syncer::BOOKMARKS); syncer 158 components/sync_driver/model_association_manager_unittest.cc syncer::ModelTypeSet types; syncer 159 components/sync_driver/model_association_manager_unittest.cc types.Put(syncer::BOOKMARKS); syncer 163 components/sync_driver/model_association_manager_unittest.cc std::map<syncer::ModelType, syncer::SyncError>(), syncer 164 components/sync_driver/model_association_manager_unittest.cc syncer::ModelTypeSet(), syncer 165 components/sync_driver/model_association_manager_unittest.cc syncer::ModelTypeSet()); syncer 172 components/sync_driver/model_association_manager_unittest.cc EXPECT_EQ(GetController(controllers_, syncer::BOOKMARKS)->state(), syncer 174 components/sync_driver/model_association_manager_unittest.cc GetController(controllers_, syncer::BOOKMARKS)->FinishStart( syncer 178 components/sync_driver/model_association_manager_unittest.cc EXPECT_EQ(GetController(controllers_, syncer::BOOKMARKS)->state(), syncer 184 components/sync_driver/model_association_manager_unittest.cc controllers_[syncer::BOOKMARKS] = syncer 185 components/sync_driver/model_association_manager_unittest.cc new FakeDataTypeController(syncer::BOOKMARKS); syncer 189 components/sync_driver/model_association_manager_unittest.cc syncer::ModelTypeSet types; syncer 190 components/sync_driver/model_association_manager_unittest.cc types.Put(syncer::BOOKMARKS); syncer 191 components/sync_driver/model_association_manager_unittest.cc std::map<syncer::ModelType, syncer::SyncError> errors; syncer 192 components/sync_driver/model_association_manager_unittest.cc syncer::SyncError error(FROM_HERE, syncer 193 components/sync_driver/model_association_manager_unittest.cc syncer::SyncError::DATATYPE_ERROR, syncer 195 components/sync_driver/model_association_manager_unittest.cc syncer::BOOKMARKS); syncer 196 components/sync_driver/model_association_manager_unittest.cc errors[syncer::BOOKMARKS] = error; syncer 201 components/sync_driver/model_association_manager_unittest.cc syncer::ModelTypeSet(), syncer 202 components/sync_driver/model_association_manager_unittest.cc syncer::ModelTypeSet()); syncer 209 components/sync_driver/model_association_manager_unittest.cc EXPECT_EQ(GetController(controllers_, syncer::BOOKMARKS)->state(), syncer 211 components/sync_driver/model_association_manager_unittest.cc GetController(controllers_, syncer::BOOKMARKS)->FinishStart( syncer 213 components/sync_driver/model_association_manager_unittest.cc EXPECT_EQ(GetController(controllers_, syncer::BOOKMARKS)->state(), syncer 219 components/sync_driver/model_association_manager_unittest.cc controllers_[syncer::BOOKMARKS] = syncer 220 components/sync_driver/model_association_manager_unittest.cc new FakeDataTypeController(syncer::BOOKMARKS); syncer 224 components/sync_driver/model_association_manager_unittest.cc syncer::ModelTypeSet types; syncer 225 components/sync_driver/model_association_manager_unittest.cc types.Put(syncer::BOOKMARKS); syncer 226 components/sync_driver/model_association_manager_unittest.cc std::map<syncer::ModelType, syncer::SyncError> errors; syncer 227 components/sync_driver/model_association_manager_unittest.cc syncer::SyncError error(FROM_HERE, syncer 228 components/sync_driver/model_association_manager_unittest.cc syncer::SyncError::DATATYPE_ERROR, syncer 230 components/sync_driver/model_association_manager_unittest.cc syncer::BOOKMARKS); syncer 231 components/sync_driver/model_association_manager_unittest.cc errors[syncer::BOOKMARKS] = error; syncer 236 components/sync_driver/model_association_manager_unittest.cc syncer::ModelTypeSet(), syncer 237 components/sync_driver/model_association_manager_unittest.cc syncer::ModelTypeSet()); syncer 245 components/sync_driver/model_association_manager_unittest.cc EXPECT_EQ(GetController(controllers_, syncer::BOOKMARKS)->state(), syncer 247 components/sync_driver/model_association_manager_unittest.cc GetController(controllers_, syncer::BOOKMARKS)->FinishStart( syncer 252 components/sync_driver/model_association_manager_unittest.cc controllers_[syncer::BOOKMARKS] = syncer 253 components/sync_driver/model_association_manager_unittest.cc new FakeDataTypeController(syncer::BOOKMARKS); syncer 254 components/sync_driver/model_association_manager_unittest.cc controllers_[syncer::APPS] = syncer 255 components/sync_driver/model_association_manager_unittest.cc new FakeDataTypeController(syncer::APPS); syncer 256 components/sync_driver/model_association_manager_unittest.cc GetController(controllers_, syncer::BOOKMARKS)->SetDelayModelLoad(); syncer 259 components/sync_driver/model_association_manager_unittest.cc syncer::ModelTypeSet types; syncer 260 components/sync_driver/model_association_manager_unittest.cc types.Put(syncer::BOOKMARKS); syncer 261 components/sync_driver/model_association_manager_unittest.cc types.Put(syncer::APPS); syncer 263 components/sync_driver/model_association_manager_unittest.cc std::map<syncer::ModelType, syncer::SyncError> errors; syncer 264 components/sync_driver/model_association_manager_unittest.cc syncer::SyncError error(FROM_HERE, syncer 265 components/sync_driver/model_association_manager_unittest.cc syncer::SyncError::DATATYPE_ERROR, syncer 267 components/sync_driver/model_association_manager_unittest.cc syncer::BOOKMARKS); syncer 268 components/sync_driver/model_association_manager_unittest.cc errors[syncer::BOOKMARKS] = error; syncer 270 components/sync_driver/model_association_manager_unittest.cc syncer::ModelTypeSet expected_types_unfinished; syncer 271 components/sync_driver/model_association_manager_unittest.cc expected_types_unfinished.Put(syncer::BOOKMARKS); syncer 277 components/sync_driver/model_association_manager_unittest.cc syncer::ModelTypeSet()); syncer 284 components/sync_driver/model_association_manager_unittest.cc GetController(controllers_, syncer::APPS)->FinishStart( syncer 290 components/sync_driver/model_association_manager_unittest.cc GetController(controllers_, syncer::BOOKMARKS)->state()); syncer 294 components/sync_driver/model_association_manager_unittest.cc controllers_[syncer::BOOKMARKS] = syncer 295 components/sync_driver/model_association_manager_unittest.cc new FakeDataTypeController(syncer::BOOKMARKS); syncer 296 components/sync_driver/model_association_manager_unittest.cc controllers_[syncer::APPS] = syncer 297 components/sync_driver/model_association_manager_unittest.cc new FakeDataTypeController(syncer::APPS); syncer 300 components/sync_driver/model_association_manager_unittest.cc syncer::ModelTypeSet types; syncer 301 components/sync_driver/model_association_manager_unittest.cc types.Put(syncer::BOOKMARKS); syncer 302 components/sync_driver/model_association_manager_unittest.cc types.Put(syncer::APPS); syncer 306 components/sync_driver/model_association_manager_unittest.cc syncer::ModelTypeSet(syncer::BOOKMARKS), syncer 307 components/sync_driver/model_association_manager_unittest.cc std::map<syncer::ModelType, syncer::SyncError>(), syncer 308 components/sync_driver/model_association_manager_unittest.cc syncer::ModelTypeSet(), syncer 309 components/sync_driver/model_association_manager_unittest.cc syncer::ModelTypeSet()); syncer 312 components/sync_driver/model_association_manager_unittest.cc syncer::ModelTypeSet(syncer::APPS), syncer 313 components/sync_driver/model_association_manager_unittest.cc std::map<syncer::ModelType, syncer::SyncError>(), syncer 314 components/sync_driver/model_association_manager_unittest.cc syncer::ModelTypeSet(), syncer 315 components/sync_driver/model_association_manager_unittest.cc syncer::ModelTypeSet()); syncer 325 components/sync_driver/model_association_manager_unittest.cc syncer::ModelTypeSet(syncer::BOOKMARKS)); syncer 326 components/sync_driver/model_association_manager_unittest.cc EXPECT_EQ(GetController(controllers_, syncer::BOOKMARKS)->state(), syncer 328 components/sync_driver/model_association_manager_unittest.cc EXPECT_EQ(GetController(controllers_, syncer::APPS)->state(), syncer 332 components/sync_driver/model_association_manager_unittest.cc GetController(controllers_, syncer::BOOKMARKS)->FinishStart( syncer 334 components/sync_driver/model_association_manager_unittest.cc EXPECT_EQ(GetController(controllers_, syncer::BOOKMARKS)->state(), syncer 336 components/sync_driver/model_association_manager_unittest.cc EXPECT_EQ(GetController(controllers_, syncer::APPS)->state(), syncer 341 components/sync_driver/model_association_manager_unittest.cc syncer::ModelTypeSet(syncer::APPS)); syncer 342 components/sync_driver/model_association_manager_unittest.cc EXPECT_EQ(GetController(controllers_, syncer::APPS)->state(), syncer 344 components/sync_driver/model_association_manager_unittest.cc GetController(controllers_, syncer::APPS)->FinishStart( syncer 346 components/sync_driver/model_association_manager_unittest.cc EXPECT_EQ(GetController(controllers_, syncer::APPS)->state(), syncer 353 components/sync_driver/model_association_manager_unittest.cc controllers_[syncer::BOOKMARKS] = syncer 354 components/sync_driver/model_association_manager_unittest.cc new FakeDataTypeController(syncer::BOOKMARKS); syncer 355 components/sync_driver/model_association_manager_unittest.cc GetController(controllers_, syncer::BOOKMARKS)->SetModelLoadError( syncer 356 components/sync_driver/model_association_manager_unittest.cc syncer::SyncError(FROM_HERE, syncer::SyncError::DATATYPE_ERROR, syncer 357 components/sync_driver/model_association_manager_unittest.cc "", syncer::BOOKMARKS)); syncer 361 components/sync_driver/model_association_manager_unittest.cc syncer::ModelTypeSet types; syncer 362 components/sync_driver/model_association_manager_unittest.cc types.Put(syncer::BOOKMARKS); syncer 363 components/sync_driver/model_association_manager_unittest.cc std::map<syncer::ModelType, syncer::SyncError> errors; syncer 364 components/sync_driver/model_association_manager_unittest.cc syncer::SyncError error(FROM_HERE, syncer 365 components/sync_driver/model_association_manager_unittest.cc syncer::SyncError::DATATYPE_ERROR, syncer 367 components/sync_driver/model_association_manager_unittest.cc syncer::BOOKMARKS); syncer 368 components/sync_driver/model_association_manager_unittest.cc errors[syncer::BOOKMARKS] = error; syncer 373 components/sync_driver/model_association_manager_unittest.cc syncer::ModelTypeSet(), syncer 374 components/sync_driver/model_association_manager_unittest.cc syncer::ModelTypeSet()); syncer 380 components/sync_driver/model_association_manager_unittest.cc GetController(controllers_, syncer::BOOKMARKS)->state()); syncer 383 components/sync_driver/model_association_manager_unittest.cc GetController(controllers_, syncer::BOOKMARKS)->state()); syncer 13 components/sync_driver/model_associator.h namespace syncer { syncer 32 components/sync_driver/model_associator.h virtual syncer::SyncError AssociateModels( syncer 33 components/sync_driver/model_associator.h syncer::SyncMergeResult* local_merge_result, syncer 34 components/sync_driver/model_associator.h syncer::SyncMergeResult* syncer_merge_result) = 0; syncer 37 components/sync_driver/model_associator.h virtual syncer::SyncError DisassociateModels() = 0; syncer 84 components/sync_driver/model_associator.h syncer::BaseNode* sync_node) = 0; syncer 25 components/sync_driver/model_associator_mock.h syncer::SyncError(syncer::SyncMergeResult*, syncer 26 components/sync_driver/model_associator_mock.h syncer::SyncMergeResult*)); syncer 27 components/sync_driver/model_associator_mock.h MOCK_METHOD0(DisassociateModels, syncer::SyncError()); syncer 11 components/sync_driver/proxy_data_type_controller.cc syncer::ModelType type) syncer 15 components/sync_driver/proxy_data_type_controller.cc DCHECK(syncer::ProxyTypes().Has(type_)); syncer 24 components/sync_driver/proxy_data_type_controller.cc model_load_callback.Run(type(), syncer::SyncError()); syncer 29 components/sync_driver/proxy_data_type_controller.cc syncer::SyncMergeResult local_merge_result(type_); syncer 30 components/sync_driver/proxy_data_type_controller.cc syncer::SyncMergeResult syncer_merge_result(type_); syncer 41 components/sync_driver/proxy_data_type_controller.cc syncer::ModelType ProxyDataTypeController::type() const { syncer 42 components/sync_driver/proxy_data_type_controller.cc DCHECK(syncer::ProxyTypes().Has(type_)); syncer 46 components/sync_driver/proxy_data_type_controller.cc syncer::ModelSafeGroup ProxyDataTypeController::model_safe_group() const { syncer 47 components/sync_driver/proxy_data_type_controller.cc DCHECK(syncer::ProxyTypes().Has(type_)); syncer 48 components/sync_driver/proxy_data_type_controller.cc return syncer::GROUP_PASSIVE; syncer 53 components/sync_driver/proxy_data_type_controller.cc return syncer::ModelTypeToString(type()); syncer 21 components/sync_driver/proxy_data_type_controller.h syncer::ModelType type); syncer 28 components/sync_driver/proxy_data_type_controller.h virtual syncer::ModelType type() const OVERRIDE; syncer 29 components/sync_driver/proxy_data_type_controller.h virtual syncer::ModelSafeGroup model_safe_group() const OVERRIDE; syncer 49 components/sync_driver/proxy_data_type_controller.h syncer::ModelType type_; syncer 15 components/sync_driver/sync_frontend.h namespace syncer { syncer 45 components/sync_driver/sync_frontend.h const syncer::WeakHandle<syncer::JsBackend>& js_backend, syncer 46 components/sync_driver/sync_frontend.h const syncer::WeakHandle<syncer::DataTypeDebugInfoListener>& syncer 63 components/sync_driver/sync_frontend.h virtual void OnProtocolEvent(const syncer::ProtocolEvent& event) = 0; syncer 67 components/sync_driver/sync_frontend.h syncer::ConnectionStatus status) = 0; syncer 76 components/sync_driver/sync_frontend.h syncer::PassphraseRequiredReason reason, syncer 97 components/sync_driver/sync_frontend.h syncer::ModelTypeSet encrypted_types, syncer 105 components/sync_driver/sync_frontend.h virtual void OnMigrationNeededForTypes(syncer::ModelTypeSet types) = 0; syncer 109 components/sync_driver/sync_frontend.h const syncer::Experiments& experiments) = 0; syncer 112 components/sync_driver/sync_frontend.h virtual void OnActionableError(const syncer::SyncProtocolError& error) = 0; syncer 58 components/sync_driver/sync_prefs.cc syncer::ModelTypeSet user_types = syncer::UserTypes(); syncer 62 components/sync_driver/sync_prefs.cc user_types.PutAll(syncer::ProxyTypes()); syncer 65 components/sync_driver/sync_prefs.cc RegisterDataTypePreferredPref(registry, syncer::BOOKMARKS, true); syncer 66 components/sync_driver/sync_prefs.cc user_types.Remove(syncer::BOOKMARKS); syncer 83 components/sync_driver/sync_prefs.cc for (syncer::ModelTypeSet::Iterator it = user_types.First(); it.Good(); syncer 120 components/sync_driver/sync_prefs.cc syncer::ModelTypeSet model_set; syncer 121 components/sync_driver/sync_prefs.cc model_set.Put(syncer::BOOKMARKS); syncer 122 components/sync_driver/sync_prefs.cc model_set.Put(syncer::PREFERENCES); syncer 123 components/sync_driver/sync_prefs.cc model_set.Put(syncer::PASSWORDS); syncer 124 components/sync_driver/sync_prefs.cc model_set.Put(syncer::AUTOFILL_PROFILE); syncer 125 components/sync_driver/sync_prefs.cc model_set.Put(syncer::AUTOFILL); syncer 126 components/sync_driver/sync_prefs.cc model_set.Put(syncer::THEMES); syncer 127 components/sync_driver/sync_prefs.cc model_set.Put(syncer::EXTENSIONS); syncer 128 components/sync_driver/sync_prefs.cc model_set.Put(syncer::NIGORI); syncer 129 components/sync_driver/sync_prefs.cc model_set.Put(syncer::SEARCH_ENGINES); syncer 130 components/sync_driver/sync_prefs.cc model_set.Put(syncer::APPS); syncer 131 components/sync_driver/sync_prefs.cc model_set.Put(syncer::APP_LIST); syncer 132 components/sync_driver/sync_prefs.cc model_set.Put(syncer::TYPED_URLS); syncer 133 components/sync_driver/sync_prefs.cc model_set.Put(syncer::SESSIONS); syncer 134 components/sync_driver/sync_prefs.cc model_set.Put(syncer::ARTICLES); syncer 136 components/sync_driver/sync_prefs.cc syncer::ModelTypeSetToValue(model_set), syncer 214 components/sync_driver/sync_prefs.cc syncer::ModelTypeSet SyncPrefs::GetPreferredDataTypes( syncer 215 components/sync_driver/sync_prefs.cc syncer::ModelTypeSet registered_types) const { syncer 222 components/sync_driver/sync_prefs.cc syncer::ModelTypeSet preferred_types; syncer 223 components/sync_driver/sync_prefs.cc for (syncer::ModelTypeSet::Iterator it = registered_types.First(); it.Good(); syncer 232 components/sync_driver/sync_prefs.cc void SyncPrefs::SetPreferredDataTypes(syncer::ModelTypeSet registered_types, syncer 233 components/sync_driver/sync_prefs.cc syncer::ModelTypeSet preferred_types) { syncer 237 components/sync_driver/sync_prefs.cc for (syncer::ModelTypeSet::Iterator i = registered_types.First(); i.Good(); syncer 279 components/sync_driver/sync_prefs.cc const char* SyncPrefs::GetPrefNameForDataType(syncer::ModelType data_type) { syncer 281 components/sync_driver/sync_prefs.cc case syncer::BOOKMARKS: syncer 283 components/sync_driver/sync_prefs.cc case syncer::PASSWORDS: syncer 285 components/sync_driver/sync_prefs.cc case syncer::PREFERENCES: syncer 287 components/sync_driver/sync_prefs.cc case syncer::AUTOFILL: syncer 289 components/sync_driver/sync_prefs.cc case syncer::AUTOFILL_PROFILE: syncer 291 components/sync_driver/sync_prefs.cc case syncer::THEMES: syncer 293 components/sync_driver/sync_prefs.cc case syncer::TYPED_URLS: syncer 295 components/sync_driver/sync_prefs.cc case syncer::EXTENSION_SETTINGS: syncer 297 components/sync_driver/sync_prefs.cc case syncer::EXTENSIONS: syncer 299 components/sync_driver/sync_prefs.cc case syncer::APP_LIST: syncer 301 components/sync_driver/sync_prefs.cc case syncer::APP_SETTINGS: syncer 303 components/sync_driver/sync_prefs.cc case syncer::APPS: syncer 305 components/sync_driver/sync_prefs.cc case syncer::SEARCH_ENGINES: syncer 307 components/sync_driver/sync_prefs.cc case syncer::SESSIONS: syncer 309 components/sync_driver/sync_prefs.cc case syncer::APP_NOTIFICATIONS: syncer 311 components/sync_driver/sync_prefs.cc case syncer::HISTORY_DELETE_DIRECTIVES: syncer 313 components/sync_driver/sync_prefs.cc case syncer::SYNCED_NOTIFICATIONS: syncer 315 components/sync_driver/sync_prefs.cc case syncer::SYNCED_NOTIFICATION_APP_INFO: syncer 317 components/sync_driver/sync_prefs.cc case syncer::DICTIONARY: syncer 319 components/sync_driver/sync_prefs.cc case syncer::FAVICON_IMAGES: syncer 321 components/sync_driver/sync_prefs.cc case syncer::FAVICON_TRACKING: syncer 323 components/sync_driver/sync_prefs.cc case syncer::MANAGED_USER_SETTINGS: syncer 325 components/sync_driver/sync_prefs.cc case syncer::PROXY_TABS: syncer 327 components/sync_driver/sync_prefs.cc case syncer::PRIORITY_PREFERENCES: syncer 329 components/sync_driver/sync_prefs.cc case syncer::MANAGED_USERS: syncer 331 components/sync_driver/sync_prefs.cc case syncer::ARTICLES: syncer 333 components/sync_driver/sync_prefs.cc case syncer::MANAGED_USER_SHARED_SETTINGS: syncer 354 components/sync_driver/sync_prefs.cc void SyncPrefs::AcknowledgeSyncedTypes(syncer::ModelTypeSet types) { syncer 358 components/sync_driver/sync_prefs.cc const syncer::ModelTypeSet acknowledged_types = syncer 360 components/sync_driver/sync_prefs.cc syncer::ModelTypeSetFromValue( syncer 364 components/sync_driver/sync_prefs.cc syncer::ModelTypeSetToValue(acknowledged_types)); syncer 380 components/sync_driver/sync_prefs.cc syncer::ModelTypeSet SyncPrefs::GetAcknowledgeSyncedTypesForTest() const { syncer 382 components/sync_driver/sync_prefs.cc return syncer::ModelTypeSetFromValue( syncer 387 components/sync_driver/sync_prefs.cc pref_groups_[syncer::APPS].Put(syncer::APP_NOTIFICATIONS); syncer 388 components/sync_driver/sync_prefs.cc pref_groups_[syncer::APPS].Put(syncer::APP_SETTINGS); syncer 389 components/sync_driver/sync_prefs.cc pref_groups_[syncer::APPS].Put(syncer::APP_LIST); syncer 391 components/sync_driver/sync_prefs.cc pref_groups_[syncer::AUTOFILL].Put(syncer::AUTOFILL_PROFILE); syncer 393 components/sync_driver/sync_prefs.cc pref_groups_[syncer::EXTENSIONS].Put(syncer::EXTENSION_SETTINGS); syncer 395 components/sync_driver/sync_prefs.cc pref_groups_[syncer::PREFERENCES].Put(syncer::DICTIONARY); syncer 396 components/sync_driver/sync_prefs.cc pref_groups_[syncer::PREFERENCES].Put(syncer::PRIORITY_PREFERENCES); syncer 397 components/sync_driver/sync_prefs.cc pref_groups_[syncer::PREFERENCES].Put(syncer::SEARCH_ENGINES); syncer 399 components/sync_driver/sync_prefs.cc pref_groups_[syncer::TYPED_URLS].Put(syncer::HISTORY_DELETE_DIRECTIVES); syncer 400 components/sync_driver/sync_prefs.cc pref_groups_[syncer::TYPED_URLS].Put(syncer::SESSIONS); syncer 401 components/sync_driver/sync_prefs.cc pref_groups_[syncer::TYPED_URLS].Put(syncer::FAVICON_IMAGES); syncer 402 components/sync_driver/sync_prefs.cc pref_groups_[syncer::TYPED_URLS].Put(syncer::FAVICON_TRACKING); syncer 404 components/sync_driver/sync_prefs.cc pref_groups_[syncer::PROXY_TABS].Put(syncer::SESSIONS); syncer 405 components/sync_driver/sync_prefs.cc pref_groups_[syncer::PROXY_TABS].Put(syncer::FAVICON_IMAGES); syncer 406 components/sync_driver/sync_prefs.cc pref_groups_[syncer::PROXY_TABS].Put(syncer::FAVICON_TRACKING); syncer 408 components/sync_driver/sync_prefs.cc pref_groups_[syncer::MANAGED_USER_SETTINGS].Put(syncer::SESSIONS); syncer 417 components/sync_driver/sync_prefs.cc syncer::ModelType type, syncer 430 components/sync_driver/sync_prefs.cc bool SyncPrefs::GetDataTypePreferred(syncer::ModelType type) const { syncer 437 components/sync_driver/sync_prefs.cc if (type == syncer::PROXY_TABS && syncer 442 components/sync_driver/sync_prefs.cc pref_name = GetPrefNameForDataType(syncer::SESSIONS); syncer 448 components/sync_driver/sync_prefs.cc void SyncPrefs::SetDataTypePreferred(syncer::ModelType type, syncer 459 components/sync_driver/sync_prefs.cc syncer::ModelTypeSet SyncPrefs::ResolvePrefGroups( syncer 460 components/sync_driver/sync_prefs.cc syncer::ModelTypeSet registered_types, syncer 461 components/sync_driver/sync_prefs.cc syncer::ModelTypeSet types) const { syncer 463 components/sync_driver/sync_prefs.cc syncer::ModelTypeSet types_with_groups = types; syncer 87 components/sync_driver/sync_prefs.h syncer::ModelTypeSet GetPreferredDataTypes( syncer 88 components/sync_driver/sync_prefs.h syncer::ModelTypeSet registered_types) const; syncer 95 components/sync_driver/sync_prefs.h void SetPreferredDataTypes(syncer::ModelTypeSet registered_types, syncer 96 components/sync_driver/sync_prefs.h syncer::ModelTypeSet preferred_types); syncer 115 components/sync_driver/sync_prefs.h static const char* GetPrefNameForDataType(syncer::ModelType data_type); syncer 125 components/sync_driver/sync_prefs.h void AcknowledgeSyncedTypes(syncer::ModelTypeSet types); syncer 130 components/sync_driver/sync_prefs.h syncer::ModelTypeSet GetAcknowledgeSyncedTypesForTest() const; syncer 137 components/sync_driver/sync_prefs.h syncer::ModelType type, syncer 139 components/sync_driver/sync_prefs.h bool GetDataTypePreferred(syncer::ModelType type) const; syncer 140 components/sync_driver/sync_prefs.h void SetDataTypePreferred(syncer::ModelType type, bool is_preferred); syncer 144 components/sync_driver/sync_prefs.h syncer::ModelTypeSet ResolvePrefGroups(syncer::ModelTypeSet registered_types, syncer 145 components/sync_driver/sync_prefs.h syncer::ModelTypeSet types) const; syncer 165 components/sync_driver/sync_prefs.h typedef std::map<syncer::ModelType, syncer::ModelTypeSet> PrefGroupsMap; syncer 128 components/sync_driver/sync_prefs_unittest.cc syncer::ModelTypeSet preferred_types = syncer 129 components/sync_driver/sync_prefs_unittest.cc sync_prefs.GetPreferredDataTypes(syncer::UserTypes()); syncer 130 components/sync_driver/sync_prefs_unittest.cc EXPECT_TRUE(preferred_types.Equals(syncer::ModelTypeSet(syncer::BOOKMARKS))); syncer 135 components/sync_driver/sync_prefs_unittest.cc syncer::ModelTypeSet registered_types = syncer::UserTypes(); syncer 136 components/sync_driver/sync_prefs_unittest.cc registered_types.Remove(syncer::PROXY_TABS); syncer 137 components/sync_driver/sync_prefs_unittest.cc registered_types.Remove(syncer::TYPED_URLS); syncer 138 components/sync_driver/sync_prefs_unittest.cc registered_types.Remove(syncer::SESSIONS); syncer 139 components/sync_driver/sync_prefs_unittest.cc registered_types.Remove(syncer::HISTORY_DELETE_DIRECTIVES); syncer 149 components/sync_driver/sync_prefs_unittest.cc preferred_types = sync_prefs.GetPreferredDataTypes(syncer::UserTypes()); syncer 150 components/sync_driver/sync_prefs_unittest.cc EXPECT_FALSE(preferred_types.Has(syncer::PROXY_TABS)); syncer 151 components/sync_driver/sync_prefs_unittest.cc EXPECT_TRUE(preferred_types.Has(syncer::HISTORY_DELETE_DIRECTIVES)); syncer 158 components/sync_driver/sync_prefs_unittest.cc preferred_types = sync_prefs.GetPreferredDataTypes(syncer::UserTypes()); syncer 159 components/sync_driver/sync_prefs_unittest.cc EXPECT_TRUE(preferred_types.Has(syncer::PROXY_TABS)); syncer 160 components/sync_driver/sync_prefs_unittest.cc EXPECT_FALSE(preferred_types.Has(syncer::HISTORY_DELETE_DIRECTIVES)); syncer 168 components/sync_driver/sync_prefs_unittest.cc const syncer::ModelTypeSet user_types = syncer::UserTypes(); syncer 170 components/sync_driver/sync_prefs_unittest.cc const syncer::ModelTypeSet user_visible_types = syncer::UserSelectableTypes(); syncer 171 components/sync_driver/sync_prefs_unittest.cc for (syncer::ModelTypeSet::Iterator it = user_visible_types.First(); syncer 174 components/sync_driver/sync_prefs_unittest.cc syncer::ModelTypeSet preferred_types; syncer 187 components/sync_driver/sync_prefs_unittest.cc const syncer::ModelTypeSet user_types = syncer::UserTypes(); syncer 189 components/sync_driver/sync_prefs_unittest.cc const syncer::ModelTypeSet user_visible_types = syncer::UserSelectableTypes(); syncer 190 components/sync_driver/sync_prefs_unittest.cc for (syncer::ModelTypeSet::Iterator it = user_visible_types.First(); syncer 193 components/sync_driver/sync_prefs_unittest.cc syncer::ModelTypeSet preferred_types; syncer 195 components/sync_driver/sync_prefs_unittest.cc syncer::ModelTypeSet expected_preferred_types(preferred_types); syncer 196 components/sync_driver/sync_prefs_unittest.cc if (it.Get() == syncer::AUTOFILL) { syncer 197 components/sync_driver/sync_prefs_unittest.cc expected_preferred_types.Put(syncer::AUTOFILL_PROFILE); syncer 199 components/sync_driver/sync_prefs_unittest.cc if (it.Get() == syncer::PREFERENCES) { syncer 200 components/sync_driver/sync_prefs_unittest.cc expected_preferred_types.Put(syncer::DICTIONARY); syncer 201 components/sync_driver/sync_prefs_unittest.cc expected_preferred_types.Put(syncer::PRIORITY_PREFERENCES); syncer 202 components/sync_driver/sync_prefs_unittest.cc expected_preferred_types.Put(syncer::SEARCH_ENGINES); syncer 204 components/sync_driver/sync_prefs_unittest.cc if (it.Get() == syncer::APPS) { syncer 205 components/sync_driver/sync_prefs_unittest.cc expected_preferred_types.Put(syncer::APP_LIST); syncer 206 components/sync_driver/sync_prefs_unittest.cc expected_preferred_types.Put(syncer::APP_NOTIFICATIONS); syncer 207 components/sync_driver/sync_prefs_unittest.cc expected_preferred_types.Put(syncer::APP_SETTINGS); syncer 209 components/sync_driver/sync_prefs_unittest.cc if (it.Get() == syncer::EXTENSIONS) { syncer 210 components/sync_driver/sync_prefs_unittest.cc expected_preferred_types.Put(syncer::EXTENSION_SETTINGS); syncer 212 components/sync_driver/sync_prefs_unittest.cc if (it.Get() == syncer::TYPED_URLS) { syncer 213 components/sync_driver/sync_prefs_unittest.cc expected_preferred_types.Put(syncer::HISTORY_DELETE_DIRECTIVES); syncer 214 components/sync_driver/sync_prefs_unittest.cc expected_preferred_types.Put(syncer::SESSIONS); syncer 215 components/sync_driver/sync_prefs_unittest.cc expected_preferred_types.Put(syncer::FAVICON_IMAGES); syncer 216 components/sync_driver/sync_prefs_unittest.cc expected_preferred_types.Put(syncer::FAVICON_TRACKING); syncer 218 components/sync_driver/sync_prefs_unittest.cc if (it.Get() == syncer::PROXY_TABS) { syncer 219 components/sync_driver/sync_prefs_unittest.cc expected_preferred_types.Put(syncer::SESSIONS); syncer 220 components/sync_driver/sync_prefs_unittest.cc expected_preferred_types.Put(syncer::FAVICON_IMAGES); syncer 221 components/sync_driver/sync_prefs_unittest.cc expected_preferred_types.Put(syncer::FAVICON_TRACKING); syncer 257 components/sync_driver/sync_prefs_unittest.cc syncer::ModelTypeSet expected_acknowledge_synced_types = syncer 259 components/sync_driver/sync_prefs_unittest.cc for (int i = syncer::EXTENSION_SETTINGS; i < syncer::MODEL_TYPE_COUNT; ++i) { syncer 260 components/sync_driver/sync_prefs_unittest.cc const syncer::ModelType type = syncer::ModelTypeFromInt(i); syncer 261 components/sync_driver/sync_prefs_unittest.cc syncer::ModelTypeSet acknowledge_synced_types(type); syncer 14 components/sync_driver/system_encryptor.h class SystemEncryptor : public syncer::Encryptor { syncer 47 extensions/browser/app_sorting.h const syncer::StringOrdinal& suggested_page) = 0; syncer 62 extensions/browser/app_sorting.h virtual syncer::StringOrdinal GetAppLaunchOrdinal( syncer 68 extensions/browser/app_sorting.h const syncer::StringOrdinal& new_app_launch_ordinal) = 0; syncer 72 extensions/browser/app_sorting.h virtual syncer::StringOrdinal CreateFirstAppLaunchOrdinal( syncer 73 extensions/browser/app_sorting.h const syncer::StringOrdinal& page_ordinal) const = 0; syncer 77 extensions/browser/app_sorting.h virtual syncer::StringOrdinal CreateNextAppLaunchOrdinal( syncer 78 extensions/browser/app_sorting.h const syncer::StringOrdinal& page_ordinal) const = 0; syncer 81 extensions/browser/app_sorting.h virtual syncer::StringOrdinal CreateFirstAppPageOrdinal() const = 0; syncer 86 extensions/browser/app_sorting.h virtual syncer::StringOrdinal GetNaturalAppPageOrdinal() const = 0; syncer 91 extensions/browser/app_sorting.h virtual syncer::StringOrdinal GetPageOrdinal( syncer 97 extensions/browser/app_sorting.h const syncer::StringOrdinal& new_page_ordinal) = 0; syncer 105 extensions/browser/app_sorting.h const syncer::StringOrdinal& page_ordinal) const = 0; syncer 109 extensions/browser/app_sorting.h virtual syncer::StringOrdinal PageIntegerAsStringOrdinal( syncer 1189 extensions/browser/extension_prefs.cc const syncer::StringOrdinal& page_ordinal, syncer 1421 extensions/browser/extension_prefs.cc const syncer::StringOrdinal& page_ordinal, syncer 1469 extensions/browser/extension_prefs.cc syncer::StringOrdinal suggested_page_ordinal; syncer 1473 extensions/browser/extension_prefs.cc suggested_page_ordinal = syncer::StringOrdinal(serialized_ordinal); syncer 2105 extensions/browser/extension_prefs.cc const syncer::StringOrdinal& suggested_page_ordinal, syncer 192 extensions/browser/extension_prefs.h const syncer::StringOrdinal& page_ordinal, syncer 437 extensions/browser/extension_prefs.h const syncer::StringOrdinal& page_ordinal, syncer 674 extensions/browser/extension_prefs.h const syncer::StringOrdinal& suggested_page_ordinal, syncer 18 sync/api/attachments/attachment.h namespace syncer { syncer 59 sync/api/attachments/attachment.h typedef std::vector<syncer::Attachment> AttachmentList; syncer 18 sync/api/attachments/attachment_id.h namespace syncer { syncer 15 sync/api/attachments/attachment_service.h namespace syncer { syncer 43 sync/api/attachments/attachment_service_proxy.cc base::WeakPtr<syncer::AttachmentService> wrapped) syncer 18 sync/api/attachments/attachment_service_proxy.h namespace syncer { syncer 47 sync/api/attachments/attachment_service_proxy.h base::WeakPtr<syncer::AttachmentService> wrapped); syncer 113 sync/api/attachments/attachment_service_proxy_unittest.cc SyncData::CreateLocalDelete("tag", syncer::PREFERENCES); syncer 17 sync/api/attachments/attachment_store.h namespace syncer { syncer 24 sync/api/attachments/fake_attachment_service.cc scoped_ptr<syncer::AttachmentService> FakeAttachmentService::CreateForTest() { syncer 25 sync/api/attachments/fake_attachment_service.cc scoped_ptr<syncer::AttachmentStore> attachment_store( syncer 26 sync/api/attachments/fake_attachment_service.cc new syncer::FakeAttachmentStore(scoped_refptr<base::SequencedTaskRunner>( syncer 28 sync/api/attachments/fake_attachment_service.cc scoped_ptr<syncer::AttachmentService> attachment_service( syncer 29 sync/api/attachments/fake_attachment_service.cc new syncer::FakeAttachmentService(attachment_store.Pass())); syncer 14 sync/api/attachments/fake_attachment_service.h namespace syncer { syncer 24 sync/api/attachments/fake_attachment_service.h static scoped_ptr<syncer::AttachmentService> CreateForTest(); syncer 25 sync/api/attachments/fake_attachment_store.h namespace syncer { syncer 15 sync/api/fake_sync_change_processor.cc syncer::SyncError FakeSyncChangeProcessor::ProcessSyncChanges( syncer 17 sync/api/fake_sync_change_processor.cc const syncer::SyncChangeList& change_list) { syncer 20 sync/api/fake_sync_change_processor.cc return syncer::SyncError(); syncer 23 sync/api/fake_sync_change_processor.cc syncer::SyncDataList FakeSyncChangeProcessor::GetAllSyncData( syncer 24 sync/api/fake_sync_change_processor.cc syncer::ModelType type) const { syncer 25 sync/api/fake_sync_change_processor.cc return syncer::SyncDataList(); syncer 28 sync/api/fake_sync_change_processor.cc const syncer::SyncChangeList& FakeSyncChangeProcessor::changes() const { syncer 32 sync/api/fake_sync_change_processor.cc syncer::SyncChangeList& FakeSyncChangeProcessor::changes() { syncer 10 sync/api/fake_sync_change_processor.h namespace syncer { syncer 21 sync/api/fake_sync_change_processor.h virtual syncer::SyncError ProcessSyncChanges( syncer 23 sync/api/fake_sync_change_processor.h const syncer::SyncChangeList& change_list) OVERRIDE; syncer 28 sync/api/fake_sync_change_processor.h virtual syncer::SyncDataList GetAllSyncData(syncer::ModelType type) syncer 31 sync/api/fake_sync_change_processor.h virtual const syncer::SyncChangeList& changes() const; syncer 32 sync/api/fake_sync_change_processor.h virtual syncer::SyncChangeList& changes(); syncer 35 sync/api/fake_sync_change_processor.h syncer::SyncChangeList change_list_; syncer 10 sync/api/fake_syncable_service.h namespace syncer { syncer 11 sync/api/string_ordinal.h namespace syncer { syncer 16 sync/api/sync_change.h namespace syncer { syncer 13 sync/api/sync_change_processor.cc syncer::SyncError SyncChangeProcessor::UpdateDataTypeContext( syncer 17 sync/api/sync_change_processor.cc return syncer::SyncError(); syncer 19 sync/api/sync_change_processor.h namespace syncer { syncer 70 sync/api/sync_change_processor.h virtual syncer::SyncError UpdateDataTypeContext(ModelType type, syncer 10 sync/api/sync_change_processor_wrapper_for_test.cc syncer::SyncChangeProcessor* wrapped) syncer 17 sync/api/sync_change_processor_wrapper_for_test.cc syncer::SyncError SyncChangeProcessorWrapperForTest::ProcessSyncChanges( syncer 19 sync/api/sync_change_processor_wrapper_for_test.cc const syncer::SyncChangeList& change_list) { syncer 23 sync/api/sync_change_processor_wrapper_for_test.cc syncer::SyncDataList SyncChangeProcessorWrapperForTest::GetAllSyncData( syncer 24 sync/api/sync_change_processor_wrapper_for_test.cc syncer::ModelType type) const { syncer 10 sync/api/sync_change_processor_wrapper_for_test.h namespace syncer { syncer 20 sync/api/sync_change_processor_wrapper_for_test.h syncer::SyncChangeProcessor* wrapped); syncer 24 sync/api/sync_change_processor_wrapper_for_test.h virtual syncer::SyncError ProcessSyncChanges( syncer 26 sync/api/sync_change_processor_wrapper_for_test.h const syncer::SyncChangeList& change_list) OVERRIDE; syncer 27 sync/api/sync_change_processor_wrapper_for_test.h virtual syncer::SyncDataList GetAllSyncData(syncer::ModelType type) syncer 31 sync/api/sync_change_processor_wrapper_for_test.h syncer::SyncChangeProcessor* const wrapped_; syncer 19 sync/api/sync_data.cc using syncer::Attachment; syncer 20 sync/api/sync_data.cc using syncer::AttachmentIdList; syncer 21 sync/api/sync_data.cc using syncer::AttachmentList; syncer 26 sync/api/sync_data.cc const syncer::Attachment& attachment) { syncer 31 sync/api/sync_data.cc const syncer::AttachmentId& attachment_id) { syncer 35 sync/api/sync_data.cc syncer::AttachmentId ProtoToId(const sync_pb::AttachmentIdProto& proto) { syncer 36 sync/api/sync_data.cc return syncer::AttachmentId::CreateFromProto(proto); syncer 72 sync/api/sync_data.cc const syncer::AttachmentServiceProxy& attachment_service) syncer 94 sync/api/sync_data.cc syncer::AttachmentList attachments; syncer 28 sync/api/sync_data.h namespace syncer { syncer 75 sync/api/sync_data.h const syncer::AttachmentServiceProxy& attachment_service); syncer 152 sync/api/sync_data.h const syncer::AttachmentServiceProxy& attachment_service); syncer 27 sync/api/sync_data_unittest.cc const ModelType kDatatype = syncer::PREFERENCES; syncer 19 sync/api/sync_error.h namespace syncer { syncer 14 sync/api/sync_error_factory.h namespace syncer { syncer 12 sync/api/sync_error_factory_mock.h namespace syncer { syncer 12 sync/api/sync_merge_result.h namespace syncer { syncer 21 sync/api/syncable_service.h namespace syncer { syncer 22 sync/engine/all_status.h namespace syncer { syncer 10 sync/engine/apply_control_data_updates.h namespace syncer { syncer 11 sync/engine/backoff_delay_provider.h namespace syncer { syncer 62 sync/engine/commit.cc ContributionMap::iterator it = contributions.find(syncer::BOOKMARKS); syncer 19 sync/engine/commit.h namespace syncer { syncer 13 sync/engine/commit_contribution.h namespace syncer { syncer 13 sync/engine/commit_contributor.h namespace syncer { syncer 17 sync/engine/commit_processor.h namespace syncer { syncer 82 sync/engine/commit_util.cc enabled_types.Has(syncer::PROXY_TABS)); syncer 18 sync/engine/commit_util.h namespace syncer { syncer 17 sync/engine/conflict_resolver.h namespace syncer { syncer 10 sync/engine/conflict_util.h namespace syncer { syncer 19 sync/engine/directory_commit_contribution.h namespace syncer { syncer 15 sync/engine/directory_commit_contributor.h namespace syncer { syncer 25 sync/engine/directory_update_handler.h namespace syncer { syncer 16 sync/engine/get_commit_ids.h namespace syncer { syncer 14 sync/engine/get_updates_delegate.h namespace syncer { syncer 22 sync/engine/get_updates_processor.cc typedef std::map<syncer::ModelType, SyncEntityList> TypeSyncEntityMap; syncer 24 sync/engine/get_updates_processor.h namespace syncer { syncer 109 sync/engine/get_updates_processor_unittest.cc syncer::ModelType type = GetModelTypeFromSpecificsFieldNumber( syncer 157 sync/engine/get_updates_processor_unittest.cc syncer::ModelType type = GetModelTypeFromSpecificsFieldNumber( syncer 193 sync/engine/get_updates_processor_unittest.cc syncer::ModelType type = GetModelTypeFromSpecificsFieldNumber( syncer 214 sync/engine/get_updates_processor_unittest.cc syncer::ModelType type = GetModelTypeFromSpecificsFieldNumber( syncer 245 sync/engine/get_updates_processor_unittest.cc syncer::ModelType type = GetModelTypeFromSpecificsFieldNumber( syncer 26 sync/engine/net/server_connection_manager.h namespace syncer { syncer 13 sync/engine/net/url_translator.h namespace syncer { syncer 20 sync/engine/non_blocking_type_processor_core.h namespace syncer { syncer 8 sync/engine/nudge_source.h namespace syncer { syncer 16 sync/engine/process_updates_util.h namespace syncer { syncer 11 sync/engine/sync_cycle_event.h namespace syncer { syncer 12 sync/engine/sync_engine_event_listener.h namespace syncer { syncer 22 sync/engine/sync_scheduler.h namespace syncer { syncer 157 sync/engine/sync_scheduler_impl.cc Syncer* syncer) syncer 168 sync/engine/sync_scheduler_impl.cc syncer_(syncer), syncer 32 sync/engine/sync_scheduler_impl.h namespace syncer { syncer 49 sync/engine/sync_scheduler_impl.h Syncer* syncer); syncer 93 sync/engine/sync_scheduler_impl.h virtual void OnReceivedMigrationRequest(syncer::ModelTypeSet types) OVERRIDE; syncer 284 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), NormalSyncShare(_,_,_)) syncer 294 sync/engine/sync_scheduler_unittest.cc Mock::VerifyAndClearExpectations(syncer()); syncer 300 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), NormalSyncShare(_,_,_)) syncer 313 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), ConfigureSyncShare(_,_,_)) syncer 343 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), ConfigureSyncShare(_,_,_)) syncer 368 sync/engine/sync_scheduler_unittest.cc Mock::VerifyAndClearExpectations(syncer()); syncer 370 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), ConfigureSyncShare(_,_,_)) syncer 391 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), ConfigureSyncShare(_,_,_)) syncer 422 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), ConfigureSyncShare(_,_,_)) syncer 437 sync/engine/sync_scheduler_unittest.cc Mock::VerifyAndClearExpectations(syncer()); syncer 440 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), ConfigureSyncShare(_,_,_)) syncer 448 sync/engine/sync_scheduler_unittest.cc Mock::VerifyAndClearExpectations(syncer()); syncer 452 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), ConfigureSyncShare(_,_,_)) syncer 458 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), NormalSyncShare(_,_,_)) syncer 470 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), NormalSyncShare(_,_,_)) syncer 483 sync/engine/sync_scheduler_unittest.cc Mock::VerifyAndClearExpectations(syncer()); syncer 486 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), NormalSyncShare(_,_,_)) syncer 498 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), NormalSyncShare(_,_,_)) syncer 513 sync/engine/sync_scheduler_unittest.cc Mock::VerifyAndClearExpectations(syncer()); syncer 528 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), NormalSyncShare(_,_,_)) syncer 535 sync/engine/sync_scheduler_unittest.cc Mock::VerifyAndClearExpectations(syncer()); syncer 541 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), NormalSyncShare(_,_,_)) syncer 552 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), PollSyncShare(_,_)).Times(AtLeast(kMinNumSamples)) syncer 573 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), PollSyncShare(_,_)).Times(AtLeast(kMinNumSamples)) syncer 597 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), PollSyncShare(_,_)).Times(AtLeast(kMinNumSamples)) syncer 624 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), NormalSyncShare(_,_,_)) syncer 652 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), ConfigureSyncShare(_,_,_)) syncer 688 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), PollSyncShare(_,_)) syncer 693 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), PollSyncShare(_,_)) syncer 715 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), NormalSyncShare(_,_,_)) syncer 720 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), NormalSyncShare(_,_,_)) syncer 744 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), ConfigureSyncShare(_,_,_)) syncer 749 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), ConfigureSyncShare(_,_,_)) syncer 788 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), NormalSyncShare(_,_,_)) syncer 822 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), NormalSyncShare(_,_,_)) syncer 846 sync/engine/sync_scheduler_unittest.cc Mock::VerifyAndClearExpectations(syncer()); syncer 849 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), NormalSyncShare(_,_,_)) syncer 854 sync/engine/sync_scheduler_unittest.cc Mock::VerifyAndClearExpectations(syncer()); syncer 873 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), ConfigureSyncShare(_,_,_)) syncer 890 sync/engine/sync_scheduler_unittest.cc Mock::VerifyAndClearExpectations(syncer()); syncer 895 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), NormalSyncShare(_,_,_)) syncer 905 sync/engine/sync_scheduler_unittest.cc Mock::VerifyAndClearExpectations(syncer()); syncer 925 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), NormalSyncShare(_,_,_)) syncer 934 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), NormalSyncShare(_,_,_)) syncer 946 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), NormalSyncShare(_,_,_)) syncer 958 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), NormalSyncShare(_,_,_)) syncer 971 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), ConfigureSyncShare(_,_,_)) syncer 1003 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), NormalSyncShare(_,_,_)) syncer 1017 sync/engine/sync_scheduler_unittest.cc Mock::VerifyAndClearExpectations(syncer()); syncer 1028 sync/engine/sync_scheduler_unittest.cc Mock::VerifyAndClearExpectations(syncer()); syncer 1055 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), NormalSyncShare(_,_,_)).Times(kMinNumSamples) syncer 1104 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), NormalSyncShare(_,_,_)) syncer 1109 sync/engine/sync_scheduler_unittest.cc Mock::VerifyAndClearExpectations(syncer()); syncer 1115 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), NormalSyncShare(_,_,_)) syncer 1120 sync/engine/sync_scheduler_unittest.cc Mock::VerifyAndClearExpectations(syncer()); syncer 1126 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), PollSyncShare(_,_)) syncer 1131 sync/engine/sync_scheduler_unittest.cc Mock::VerifyAndClearExpectations(syncer()); syncer 1150 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), PollSyncShare(_,_)) syncer 1172 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), NormalSyncShare(_,_,_)) syncer 1198 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), NormalSyncShare(_,_,_)) syncer 1228 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), NormalSyncShare(_,_,_)) syncer 1254 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), ConfigureSyncShare(_,_,_)) syncer 1285 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), PollSyncShare(_,_)) syncer 1299 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), PollSyncShare(_,_)) syncer 1316 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), NormalSyncShare(_,_,_)) syncer 1337 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), NormalSyncShare(_,_,_)) syncer 1346 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), NormalSyncShare(_,_,_)) syncer 1373 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), NormalSyncShare(_,_,_)) syncer 1383 sync/engine/sync_scheduler_unittest.cc EXPECT_CALL(*syncer(), NormalSyncShare(_,_,_)) syncer 47 sync/engine/syncer.cc Syncer::Syncer(syncer::CancelationSignal* cancelation_signal) syncer 22 sync/engine/syncer.h namespace syncer { syncer 92 sync/engine/syncer.h syncer::CancelationSignal* const cancelation_signal_; syncer 27 sync/engine/syncer_proto_util.h namespace syncer { syncer 10 sync/engine/syncer_types.h namespace syncer { syncer 26 sync/engine/syncer_util.h namespace syncer { syncer 17 sync/engine/traffic_logger.h namespace syncer { syncer 22 sync/engine/update_applicator.h namespace syncer { syncer 20 sync/engine/update_handler.h namespace syncer { syncer 293 sync/internal_api/base_node.cc const syncer::AttachmentIdList BaseNode::GetAttachmentIds() const { syncer 20 sync/internal_api/change_reorder_buffer.h namespace syncer { syncer 23 sync/internal_api/debug_info_event_listener.h namespace syncer { syncer 16 sync/internal_api/delete_journal.cc syncer::syncable::EntryKernelSet deleted_entries; syncer 20 sync/internal_api/delete_journal.cc for (syncer::syncable::EntryKernelSet::const_iterator i = syncer 23 sync/internal_api/delete_journal.cc delete_journal_list->back().id = (*i)->ref(syncer::syncable::META_HANDLE); syncer 24 sync/internal_api/delete_journal.cc delete_journal_list->back().is_folder = (*i)->ref(syncer::syncable::IS_DIR); syncer 27 sync/internal_api/delete_journal.cc syncer::syncable::SPECIFICS); syncer 412 sync/internal_api/http_bridge_unittest.cc syncer::HttpPostProviderFactory** bridge_factory_out, syncer 413 sync/internal_api/http_bridge_unittest.cc syncer::HttpPostProviderInterface** bridge_out, syncer 416 sync/internal_api/http_bridge_unittest.cc scoped_ptr<syncer::HttpBridgeFactory> bridge_factory( syncer 417 sync/internal_api/http_bridge_unittest.cc new syncer::HttpBridgeFactory(baseline_context_getter, syncer 444 sync/internal_api/http_bridge_unittest.cc syncer::HttpPostProviderFactory* factory = NULL; syncer 445 sync/internal_api/http_bridge_unittest.cc syncer::HttpPostProviderInterface* bridge = NULL; syncer 503 sync/internal_api/http_bridge_unittest.cc scoped_ptr<syncer::HttpBridgeFactory> factory(new HttpBridgeFactory( syncer 23 sync/internal_api/js_mutation_event_observer.h namespace syncer { syncer 21 sync/internal_api/js_sync_encryption_handler_observer.h namespace syncer { syncer 71 sync/internal_api/js_sync_manager_observer.cc bool success, syncer::ModelTypeSet restored_types) { syncer 21 sync/internal_api/js_sync_manager_observer.h namespace syncer { syncer 42 sync/internal_api/js_sync_manager_observer.h syncer::ModelTypeSet restored_types) OVERRIDE; syncer 47 sync/internal_api/js_sync_manager_observer.h syncer::ModelTypeSet types) OVERRIDE; syncer 49 sync/internal_api/js_sync_manager_observer_unittest.cc syncer::ModelTypeSet restored_types; syncer 13 sync/internal_api/protocol_event_buffer.h namespace syncer { syncer 19 sync/internal_api/public/base/ack_handle.h namespace syncer { syncer 10 sync/internal_api/public/base/cancelation_observer.h namespace syncer { syncer 11 sync/internal_api/public/base/cancelation_signal.h namespace syncer { syncer 15 sync/internal_api/public/base/enum_set.h namespace syncer { syncer 114 sync/internal_api/public/base/invalidation.cc void Invalidation::set_ack_handler(syncer::WeakHandle<AckHandler> handler) { syncer 18 sync/internal_api/public/base/invalidation.h namespace syncer { syncer 61 sync/internal_api/public/base/invalidation.h void set_ack_handler(syncer::WeakHandle<AckHandler> ack_handler); syncer 120 sync/internal_api/public/base/invalidation.h syncer::WeakHandle<AckHandler> ack_handler_; syncer 12 sync/internal_api/public/base/invalidation_test_util.h namespace syncer { syncer 30 sync/internal_api/public/base/model_type.h namespace syncer { syncer 10 sync/internal_api/public/base/model_type_test_util.cc syncer::Invalidation BuildInvalidation( syncer 14 sync/internal_api/public/base/model_type_test_util.h namespace syncer { syncer 26 sync/internal_api/public/base/model_type_test_util.h syncer::Invalidation BuildInvalidation( syncer 12 sync/internal_api/public/base/node_ordinal.h namespace syncer { syncer 61 sync/internal_api/public/base/object_id_invalidation_map_test_util.cc std::vector<syncer::Invalidation> expected_invalidations; syncer 62 sync/internal_api/public/base/object_id_invalidation_map_test_util.cc std::vector<syncer::Invalidation> actual_invalidations; syncer 67 sync/internal_api/public/base/object_id_invalidation_map_test_util.cc std::vector<syncer::Invalidation> expected_only; syncer 68 sync/internal_api/public/base/object_id_invalidation_map_test_util.cc std::vector<syncer::Invalidation> actual_only; syncer 70 sync/internal_api/public/base/object_id_invalidation_map_test_util.cc for (std::vector<syncer::Invalidation>::iterator it = syncer 81 sync/internal_api/public/base/object_id_invalidation_map_test_util.cc for (std::vector<syncer::Invalidation>::iterator it = syncer 13 sync/internal_api/public/base/object_id_invalidation_map_test_util.h namespace syncer { syncer 16 sync/internal_api/public/base/ordinal.h namespace syncer { syncer 24 sync/internal_api/public/base/progress_marker_map.h namespace syncer { syncer 17 sync/internal_api/public/base/unique_position.h namespace syncer { syncer 42 sync/internal_api/public/base_node.h namespace syncer { syncer 205 sync/internal_api/public/base_node.h const syncer::AttachmentIdList GetAttachmentIds() const; syncer 13 sync/internal_api/public/base_transaction.h namespace syncer { syncer 21 sync/internal_api/public/change_record.h namespace syncer { syncer 8 sync/internal_api/public/configure_reason.h namespace syncer { syncer 11 sync/internal_api/public/data_type_association_stats.h namespace syncer { syncer 13 sync/internal_api/public/data_type_debug_info_listener.h namespace syncer { syncer 14 sync/internal_api/public/delete_journal.h namespace syncer { syncer 25 sync/internal_api/public/engine/model_safe_worker.h namespace syncer { syncer 14 sync/internal_api/public/engine/passive_model_worker.h namespace syncer { syncer 12 sync/internal_api/public/engine/polling_constants.h namespace syncer { syncer 16 sync/internal_api/public/engine/sync_status.h namespace syncer { syncer 18 sync/internal_api/public/events/commit_request_event.h namespace syncer { syncer 18 sync/internal_api/public/events/commit_response_event.h namespace syncer { syncer 15 sync/internal_api/public/events/configure_get_updates_request_event.h namespace syncer { syncer 16 sync/internal_api/public/events/get_updates_response_event.h namespace syncer { syncer 16 sync/internal_api/public/events/normal_get_updates_request_event.h namespace syncer { syncer 16 sync/internal_api/public/events/poll_get_updates_request_event.h namespace syncer { syncer 13 sync/internal_api/public/events/protocol_event.h namespace syncer { syncer 39 sync/internal_api/public/http_bridge.h namespace syncer { syncer 17 sync/internal_api/public/http_bridge_network_resources.h namespace syncer { syncer 12 sync/internal_api/public/http_post_provider_factory.h namespace syncer { syncer 12 sync/internal_api/public/http_post_provider_interface.h namespace syncer { syncer 19 sync/internal_api/public/internal_components_factory.h namespace syncer { syncer 14 sync/internal_api/public/internal_components_factory_impl.h namespace syncer { syncer 25 sync/internal_api/public/internal_components_factory_impl.h syncer::CancelationSignal* cancelation_signal) OVERRIDE; syncer 16 sync/internal_api/public/network_resources.h namespace syncer { syncer 11 sync/internal_api/public/network_time_update_callback.h namespace syncer { syncer 17 sync/internal_api/public/non_blocking_type_processor.h namespace syncer { syncer 16 sync/internal_api/public/read_node.h namespace syncer { syncer 16 sync/internal_api/public/read_transaction.h namespace syncer { syncer 14 sync/internal_api/public/sessions/model_neutral_state.h namespace syncer { syncer 21 sync/internal_api/public/sessions/sync_session_snapshot.h namespace syncer { syncer 14 sync/internal_api/public/sync_core_proxy.h namespace syncer { syncer 39 sync/internal_api/public/sync_core_proxy.h syncer::ModelType type, syncer 18 sync/internal_api/public/sync_encryption_handler.h namespace syncer { syncer 36 sync/internal_api/public/sync_manager.h namespace syncer { syncer 82 sync/internal_api/public/sync_manager.h class SYNC_EXPORT SyncManager : public syncer::InvalidationHandler { syncer 337 sync/internal_api/public/sync_manager.h virtual base::WeakPtr<syncer::SyncCore> GetSyncCore() = 0; syncer 359 sync/internal_api/public/sync_manager.h virtual ScopedVector<syncer::ProtocolEvent> GetBufferedProtocolEvents() = 0; syncer 13 sync/internal_api/public/sync_manager_factory.h namespace syncer { syncer 20 sync/internal_api/public/test/fake_sync_manager.h namespace syncer { syncer 122 sync/internal_api/public/test/fake_sync_manager.h virtual base::WeakPtr<syncer::SyncCore> GetSyncCore() OVERRIDE; syncer 127 sync/internal_api/public/test/fake_sync_manager.h virtual ScopedVector<syncer::ProtocolEvent> syncer 14 sync/internal_api/public/test/sync_manager_factory_for_profile_sync_test.h namespace syncer { syncer 16 sync/internal_api/public/test/sync_manager_factory_for_profile_sync_test.h class SyncManagerFactoryForProfileSyncTest : public syncer::SyncManagerFactory { syncer 20 sync/internal_api/public/test/sync_manager_factory_for_profile_sync_test.h virtual scoped_ptr<syncer::SyncManager> CreateSyncManager( syncer 14 sync/internal_api/public/test/test_entry_factory.h namespace syncer { syncer 10 sync/internal_api/public/test/test_internal_components_factory.h namespace syncer { syncer 31 sync/internal_api/public/test/test_internal_components_factory.h syncer::CancelationSignal* cancelation_signal) OVERRIDE; syncer 37 sync/internal_api/public/test/test_user_share.h namespace syncer { syncer 76 sync/internal_api/public/test/test_user_share.h static bool CreateRoot(syncer::ModelType model_type, syncer 77 sync/internal_api/public/test/test_user_share.h syncer::UserShare* service); syncer 13 sync/internal_api/public/user_share.h namespace syncer { syncer 12 sync/internal_api/public/util/experiments.h namespace syncer { syncer 73 sync/internal_api/public/util/immutable.h namespace syncer { syncer 111 sync/internal_api/public/util/immutable_unittest.cc void swap(syncer::SpecializationToken& t1, syncer 112 sync/internal_api/public/util/immutable_unittest.cc syncer::SpecializationToken& t2) { syncer 8 sync/internal_api/public/util/report_unrecoverable_error_function.h namespace syncer { syncer 12 sync/internal_api/public/util/sync_string_conversions.h namespace syncer { syncer 10 sync/internal_api/public/util/syncer_error.h namespace syncer { syncer 12 sync/internal_api/public/util/unrecoverable_error_handler.h namespace syncer { syncer 14 sync/internal_api/public/util/unrecoverable_error_info.h namespace syncer { syncer 71 sync/internal_api/public/util/weak_handle.h namespace syncer { syncer 31 sync/internal_api/public/write_node.h namespace syncer { syncer 17 sync/internal_api/public/write_transaction.h namespace syncer { syncer 14 sync/internal_api/sync_core.h namespace syncer { syncer 35 sync/internal_api/sync_core.h syncer::ModelType type, syncer 49 sync/internal_api/sync_core_proxy_unittest.cc NonBlockingTypeProcessor themes_processor(syncer::THEMES); syncer 60 sync/internal_api/sync_core_proxy_unittest.cc NonBlockingTypeProcessor themes_processor(syncer::THEMES); syncer 72 sync/internal_api/sync_core_proxy_unittest.cc (new NonBlockingTypeProcessor(syncer::THEMES)); syncer 85 sync/internal_api/sync_core_proxy_unittest.cc (new NonBlockingTypeProcessor(syncer::THEMES)); syncer 22 sync/internal_api/sync_encryption_handler_impl.h namespace syncer { syncer 100 sync/internal_api/sync_encryption_handler_impl_unittest.cc syncer::syncable::Directory* directory = user_share()->directory.get(); syncer 120 sync/internal_api/sync_encryption_handler_impl_unittest.cc syncer::AddDefaultFieldValue(model_type, &specifics); syncer 1053 sync/internal_api/sync_manager_impl.cc base::WeakPtr<syncer::SyncCore> SyncManagerImpl::GetSyncCore() { syncer 1074 sync/internal_api/sync_manager_impl.cc syncer::EXPERIMENTS, syncer 1075 sync/internal_api/sync_manager_impl.cc syncer::kFaviconSyncTag) == BaseNode::INIT_OK) { syncer 1084 sync/internal_api/sync_manager_impl.cc syncer::EXPERIMENTS, syncer 1085 sync/internal_api/sync_manager_impl.cc syncer::kPreCommitUpdateAvoidanceTag) == BaseNode::INIT_OK) { syncer 1095 sync/internal_api/sync_manager_impl.cc syncer::EXPERIMENTS, syncer 1096 sync/internal_api/sync_manager_impl.cc syncer::kGCMChannelTag) == BaseNode::INIT_OK && syncer 1100 sync/internal_api/sync_manager_impl.cc syncer::Experiments::ENABLED : syncer::Experiments::SUPPRESSED); syncer 1106 sync/internal_api/sync_manager_impl.cc syncer::EXPERIMENTS, syncer::kEnhancedBookmarksTag) == syncer 1123 sync/internal_api/sync_manager_impl.cc syncer::EXPERIMENTS, syncer::kGCMInvalidationsTag) == syncer 1145 sync/internal_api/sync_manager_impl.cc ScopedVector<syncer::ProtocolEvent> syncer 32 sync/internal_api/sync_manager_impl.h namespace syncer { syncer 113 sync/internal_api/sync_manager_impl.h virtual base::WeakPtr<syncer::SyncCore> GetSyncCore() OVERRIDE; syncer 118 sync/internal_api/sync_manager_impl.h virtual ScopedVector<syncer::ProtocolEvent> syncer 647 sync/internal_api/sync_manager_impl_unittest.cc syncer::ModelTypeSet)); // NOLINT syncer 651 sync/internal_api/sync_manager_impl_unittest.cc MOCK_METHOD1(OnMigrationRequested, void(syncer::ModelTypeSet)); // NOLINT syncer 2364 sync/internal_api/sync_manager_impl_unittest.cc : TestInternalComponentsFactory(switches, syncer::STORAGE_IN_MEMORY), syncer 20 sync/internal_api/syncapi_internal.h namespace syncer { syncer 16 sync/internal_api/syncapi_server_connection_manager.h namespace syncer { syncer 221 sync/internal_api/test/fake_sync_manager.cc base::WeakPtr<syncer::SyncCore> FakeSyncManager::GetSyncCore() { syncer 222 sync/internal_api/test/fake_sync_manager.cc return base::WeakPtr<syncer::SyncCore>(); syncer 242 sync/internal_api/test/fake_sync_manager.cc ScopedVector<syncer::ProtocolEvent> syncer 244 sync/internal_api/test/fake_sync_manager.cc return ScopedVector<syncer::ProtocolEvent>(); syncer 18 sync/internal_api/test/sync_manager_factory_for_profile_sync_test.cc scoped_ptr<syncer::SyncManager> syncer 20 sync/internal_api/test/sync_manager_factory_for_profile_sync_test.cc return scoped_ptr<syncer::SyncManager>( syncer 34 sync/internal_api/test/sync_manager_for_profile_sync_test.cc syncer::TestUserShare::CreateRoot(it.Get(), user_share); syncer 14 sync/internal_api/test/sync_manager_for_profile_sync_test.h namespace syncer { syncer 19 sync/internal_api/test/sync_manager_for_profile_sync_test.h : public syncer::SyncManagerImpl { syncer 27 sync/internal_api/test/test_internal_components_factory.cc syncer::CancelationSignal* cancelation_signal) { syncer 47 sync/internal_api/test/test_user_share.cc syncer::syncable::DirectoryBackingStore* saved_store = syncer 72 sync/internal_api/test/test_user_share.cc syncer::syncable::Directory* directory = user_share->directory.get(); syncer 51 sync/internal_api/write_transaction.cc syncer::GetSpecificsFieldNumberFromModelType(type)); syncer 53 sync/internal_api/write_transaction.cc DCHECK_EQ(syncer::GetSpecificsFieldNumberFromModelType(type), syncer 16 sync/js/js_arg_list.h namespace syncer { syncer 14 sync/js/js_backend.h namespace syncer { syncer 14 sync/js/js_controller.h namespace syncer { syncer 16 sync/js/js_event_details.h namespace syncer { syncer 14 sync/js/js_event_handler.h namespace syncer { syncer 12 sync/js/js_reply_handler.h namespace syncer { syncer 24 sync/js/js_test_util.h namespace syncer { syncer 21 sync/js/sync_js_controller.h namespace syncer { syncer 16 sync/notifier/ack_handler.h namespace syncer { syncer 37 sync/notifier/dropped_invalidation_tracker.cc drop_ack_handler_ = syncer::WeakHandle<AckHandler>(); syncer 14 sync/notifier/dropped_invalidation_tracker.h namespace syncer { syncer 15 sync/notifier/fake_invalidation_handler.h namespace syncer { syncer 11 sync/notifier/fake_invalidation_state_tracker.h namespace syncer { syncer 16 sync/notifier/fake_invalidator.h namespace syncer { syncer 24 sync/notifier/gcm_network_channel.h namespace syncer { syncer 15 sync/notifier/gcm_network_channel_delegate.h namespace syncer { syncer 11 sync/notifier/invalidation_handler.h namespace syncer { syncer 33 sync/notifier/invalidation_notifier.h namespace syncer { syncer 31 sync/notifier/invalidation_state_tracker.h namespace syncer { syncer 19 sync/notifier/invalidation_util.cc *os << syncer::ObjectIdToString(id); syncer 34 sync/notifier/invalidation_util.h namespace syncer { syncer 44 sync/notifier/invalidation_util.h bool operator()(const syncer::Invalidation& a, syncer 45 sync/notifier/invalidation_util.h const syncer::Invalidation& b) const; syncer 19 sync/notifier/invalidator.h namespace syncer { syncer 21 sync/notifier/invalidator_registrar.h namespace syncer { syncer 11 sync/notifier/invalidator_state.h namespace syncer { syncer 90 sync/notifier/invalidator_test_template.h namespace syncer { syncer 16 sync/notifier/mock_ack_handler.cc bool operator()(const syncer::Invalidation& invalidation) const; syncer 18 sync/notifier/mock_ack_handler.cc syncer::AckHandle handle_; syncer 25 sync/notifier/mock_ack_handler.cc const syncer::Invalidation& invalidation) const { syncer 18 sync/notifier/mock_ack_handler.h namespace syncer { syncer 66 sync/notifier/mock_ack_handler.h typedef std::vector<syncer::Invalidation> InvalidationVector; syncer 30 sync/notifier/non_blocking_invalidator.h namespace syncer { syncer 62 sync/notifier/object_id_invalidation_map.cc std::vector<syncer::Invalidation>* out) const { syncer 16 sync/notifier/object_id_invalidation_map.h namespace syncer { syncer 50 sync/notifier/object_id_invalidation_map.h void GetAllInvalidations(std::vector<syncer::Invalidation>* out) const; syncer 33 sync/notifier/p2p_invalidator.h namespace syncer { syncer 21 sync/notifier/push_client_channel.h namespace syncer { syncer 23 sync/notifier/registration_manager.h namespace syncer { syncer 19 sync/notifier/single_object_invalidation_set.h namespace syncer { syncer 14 sync/notifier/state_writer.h namespace syncer { syncer 295 sync/notifier/sync_invalidation_listener.cc const syncer::AckHandle& handle) { syncer 311 sync/notifier/sync_invalidation_listener.cc const syncer::AckHandle& handle) { syncer 37 sync/notifier/sync_invalidation_listener.h namespace syncer { syncer 125 sync/notifier/sync_invalidation_listener.h const syncer::AckHandle& handle) OVERRIDE; syncer 128 sync/notifier/sync_invalidation_listener.h const syncer::AckHandle& handle) OVERRIDE; syncer 28 sync/notifier/sync_system_resources.h namespace syncer { syncer 19 sync/notifier/unacked_invalidation_set.h namespace syncer { syncer 46 sync/notifier/unacked_invalidation_set_test_util.cc bool operator()(const syncer::Invalidation& a, syncer 47 sync/notifier/unacked_invalidation_set_test_util.cc const syncer::Invalidation& b) const { syncer 91 sync/notifier/unacked_invalidation_set_test_util.cc it->second.ExportInvalidations(syncer::WeakHandle<AckHandler>(), syncer 9 sync/notifier/unacked_invalidation_set_test_util.h namespace syncer { syncer 20 sync/protocol/proto_enum_conversions.h namespace syncer { syncer 90 sync/protocol/proto_value_conversions.h namespace syncer { syncer 13 sync/protocol/sync_protocol_error.h namespace syncer{ syncer 18 sync/sessions/data_type_tracker.h namespace syncer { syncer 11 sync/sessions/debug_info_getter.h namespace syncer { syncer 17 sync/sessions/model_type_registry.h namespace syncer { syncer 54 sync/sessions/model_type_registry.h syncer::ModelType type, syncer 62 sync/sessions/model_type_registry.h void RemoveNonBlockingType(syncer::ModelType type); syncer 117 sync/sessions/model_type_registry_unittest.cc NonBlockingTypeProcessor themes_processor(syncer::THEMES); syncer 118 sync/sessions/model_type_registry_unittest.cc NonBlockingTypeProcessor sessions_processor(syncer::SESSIONS); syncer 125 sync/sessions/model_type_registry_unittest.cc syncer::THEMES, syncer 129 sync/sessions/model_type_registry_unittest.cc ModelTypeSet(syncer::THEMES))); syncer 132 sync/sessions/model_type_registry_unittest.cc syncer::SESSIONS, syncer 136 sync/sessions/model_type_registry_unittest.cc ModelTypeSet(syncer::THEMES, syncer::SESSIONS))); syncer 138 sync/sessions/model_type_registry_unittest.cc registry()->RemoveNonBlockingType(syncer::THEMES); syncer 140 sync/sessions/model_type_registry_unittest.cc ModelTypeSet(syncer::SESSIONS))); syncer 147 sync/sessions/model_type_registry_unittest.cc NonBlockingTypeProcessor themes_processor(syncer::THEMES); syncer 148 sync/sessions/model_type_registry_unittest.cc NonBlockingTypeProcessor sessions_processor(syncer::SESSIONS); syncer 162 sync/sessions/model_type_registry_unittest.cc syncer::THEMES, syncer 165 sync/sessions/model_type_registry_unittest.cc current_types.Put(syncer::THEMES); syncer 175 sync/sessions/model_type_registry_unittest.cc syncer::SESSIONS, syncer 178 sync/sessions/model_type_registry_unittest.cc current_types.Put(syncer::SESSIONS); syncer 182 sync/sessions/model_type_registry_unittest.cc registry()->RemoveNonBlockingType(syncer::THEMES); syncer 183 sync/sessions/model_type_registry_unittest.cc current_types.Remove(syncer::THEMES); syncer 195 sync/sessions/model_type_registry_unittest.cc new NonBlockingTypeProcessor(syncer::THEMES)); syncer 197 sync/sessions/model_type_registry_unittest.cc new NonBlockingTypeProcessor(syncer::SESSIONS)); syncer 204 sync/sessions/model_type_registry_unittest.cc syncer::THEMES, syncer 208 sync/sessions/model_type_registry_unittest.cc syncer::SESSIONS, syncer 212 sync/sessions/model_type_registry_unittest.cc ModelTypeSet(syncer::THEMES, syncer::SESSIONS))); syncer 215 sync/sessions/model_type_registry_unittest.cc registry()->RemoveNonBlockingType(syncer::THEMES); syncer 220 sync/sessions/model_type_registry_unittest.cc registry()->RemoveNonBlockingType(syncer::SESSIONS); syncer 19 sync/sessions/nudge_tracker.h namespace syncer { syncer 28 sync/sessions/nudge_tracker_unittest.cc syncer::Invalidation BuildUnknownVersionInvalidation(ModelType type) { syncer 747 sync/sessions/nudge_tracker_unittest.cc bool IsInvalidationUnacknowledged(const syncer::Invalidation& invalidation) { syncer 754 sync/sessions/nudge_tracker_unittest.cc bool IsInvalidationAcknowledged(const syncer::Invalidation& invalidation) { syncer 761 sync/sessions/nudge_tracker_unittest.cc bool IsInvalidationDropped(const syncer::Invalidation& invalidation) { syncer 777 sync/sessions/nudge_tracker_unittest.cc syncer::Invalidation invalidation = BuildInvalidation(type, version, hint); syncer 791 sync/sessions/nudge_tracker_unittest.cc syncer::Invalidation invalidation = BuildUnknownVersionInvalidation(type); syncer 808 sync/sessions/nudge_tracker_unittest.cc syncer::MockAckHandler mock_ack_handler_; syncer 30 sync/sessions/status_controller.h namespace syncer { syncer 31 sync/sessions/sync_session.h namespace syncer { syncer 25 sync/sessions/sync_session_context.h namespace syncer { syncer 14 sync/sessions/test_util.h namespace syncer { syncer 12 sync/syncable/blob.h namespace syncer { syncer 8 sync/syncable/dir_open_result.h namespace syncer { syncer 27 sync/syncable/directory.h namespace syncer { syncer 59 sync/syncable/directory.h friend class syncer::TestUserShare; syncer 24 sync/syncable/directory_backing_store.h namespace syncer { syncer 12 sync/syncable/directory_change_delegate.h namespace syncer { syncer 11 sync/syncable/entry.h namespace syncer { syncer 263 sync/syncable/entry.h friend class syncer::ReadNode; syncer 55 sync/syncable/entry_kernel.cc return (GetModelTypeFromSpecifics(ref(SPECIFICS)) == syncer::BOOKMARKS) syncer 22 sync/syncable/entry_kernel.h namespace syncer { syncer 11 sync/syncable/in_memory_directory_backing_store.h namespace syncer { syncer 11 sync/syncable/invalid_directory_backing_store.h namespace syncer { syncer 12 sync/syncable/metahandle_set.h namespace syncer { syncer 12 sync/syncable/model_neutral_mutable_entry.h namespace syncer { syncer 99 sync/syncable/model_neutral_mutable_entry.h friend class syncer::WriteNode; syncer 420 sync/syncable/model_type.cc syncer::ModelTypeSet result; syncer 432 sync/syncable/model_type.cc syncer::ModelTypeSet result; syncer 715 sync/syncable/model_type.cc syncer::ModelType type = ModelTypeFromString(type_str); syncer 108 sync/syncable/model_type_unittest.cc syncer::ModelTypeSet empty; syncer 109 sync/syncable/model_type_unittest.cc syncer::ModelTypeSet one(BOOKMARKS); syncer 110 sync/syncable/model_type_unittest.cc syncer::ModelTypeSet two(BOOKMARKS, TYPED_URLS); syncer 14 sync/syncable/mutable_entry.h namespace syncer { syncer 22 sync/syncable/nigori_handler.h namespace syncer { syncer 19 sync/syncable/nigori_util.h namespace syncer { syncer 12 sync/syncable/on_disk_directory_backing_store.h namespace syncer { syncer 14 sync/syncable/parent_child_index.h namespace syncer { syncer 11 sync/syncable/scoped_kernel_lock.h namespace syncer { syncer 11 sync/syncable/scoped_parent_child_index_updater.h namespace syncer { syncer 10 sync/syncable/syncable-inl.h namespace syncer { syncer 12 sync/syncable/syncable_base_transaction.h namespace syncer { syncer 11 sync/syncable/syncable_base_write_transaction.h namespace syncer { syncer 8 sync/syncable/syncable_changes_version.h namespace syncer { syncer 11 sync/syncable/syncable_columns.h namespace syncer { syncer 16 sync/syncable/syncable_delete_journal.h namespace syncer { syncer 16 sync/syncable/syncable_enum_conversions.h namespace syncer { syncer 27 sync/syncable/syncable_id.h namespace syncer { syncer 12 sync/syncable/syncable_model_neutral_write_transaction.h namespace syncer { syncer 17 sync/syncable/syncable_proto_util.h namespace syncer { syncer 11 sync/syncable/syncable_read_transaction.h namespace syncer { syncer 24 sync/syncable/syncable_read_transaction.h friend class syncer::ReadTransaction; syncer 19 sync/syncable/syncable_util.h namespace syncer { syncer 126 sync/syncable/syncable_write_transaction.cc syncer::ModelTypeSet type_seen; syncer 12 sync/syncable/syncable_write_transaction.h namespace syncer { syncer 12 sync/syncable/transaction_observer.h namespace syncer { syncer 11 sync/syncable/write_transaction_info.h namespace syncer { syncer 8 sync/test/callback_counter.h namespace syncer { syncer 16 sync/test/engine/fake_model_worker.h namespace syncer { syncer 15 sync/test/engine/fake_sync_scheduler.h namespace syncer { syncer 24 sync/test/engine/mock_connection_manager.h namespace syncer { syncer 13 sync/test/engine/mock_update_handler.h namespace syncer { syncer 42 sync/test/engine/test_directory_setter_upper.cc syncer::syncable::DirectoryBackingStore* directory_store) { syncer 42 sync/test/engine/test_directory_setter_upper.h namespace syncer { syncer 61 sync/test/engine/test_directory_setter_upper.h syncer::syncable::DirectoryBackingStore* directory_store); syncer 15 sync/test/engine/test_id_factory.h namespace syncer { syncer 71 sync/test/engine/test_syncable_utils.cc std::string tag_name = syncer::ModelTypeToRootTag(type); syncer 86 sync/test/engine/test_syncable_utils.cc node.PutId(syncer::TestIdFactory::MakeServer(tag_name)); syncer 88 sync/test/engine/test_syncable_utils.cc syncer::AddDefaultFieldValue(type, &specifics); syncer 15 sync/test/engine/test_syncable_utils.h namespace syncer { syncer 11 sync/test/fake_encryptor.h namespace syncer { syncer 17 sync/test/fake_server/bookmark_entity.cc using syncer::ModelType; syncer 33 sync/test/fake_server/bookmark_entity.cc syncer::GetModelTypeFromSpecifics(client_entity.specifics()); syncer 68 sync/test/fake_server/bookmark_entity.cc syncer::GetModelTypeFromSpecifics(client_entity.specifics()); syncer 47 sync/test/fake_server/bookmark_entity.h const syncer::ModelType& model_type, syncer 31 sync/test/fake_server/fake_server.cc using syncer::ModelType; syncer 144 sync/test/fake_server/fake_server.cc ModelType model_type = syncer::GetModelTypeFromSpecificsFieldNumber( syncer 170 sync/test/fake_server/fake_server.cc if (!syncer::ModelTypeSet::All().Has(*it)) { syncer 182 sync/test/fake_server/fake_server.cc if (model_type == syncer::BOOKMARKS) { syncer 184 sync/test/fake_server/fake_server.cc PermanentEntity::Create(syncer::BOOKMARKS, syncer 187 sync/test/fake_server/fake_server.cc ModelTypeToRootTag(syncer::BOOKMARKS)); syncer 194 sync/test/fake_server/fake_server.cc PermanentEntity::Create(syncer::BOOKMARKS, syncer 197 sync/test/fake_server/fake_server.cc ModelTypeToRootTag(syncer::BOOKMARKS)); syncer 212 sync/test/fake_server/fake_server.cc PermanentEntity::Create(syncer::BOOKMARKS, syncer 215 sync/test/fake_server/fake_server.cc ModelTypeToRootTag(syncer::BOOKMARKS)); syncer 291 sync/test/fake_server/fake_server.cc if (entity->GetModelType() == syncer::NIGORI) { syncer 45 sync/test/fake_server/fake_server.h const std::vector<syncer::ModelType>& first_time_types); syncer 27 sync/test/fake_server/fake_server_entity.cc using syncer::ModelType; syncer 73 sync/test/fake_server/fake_server_entity.cc return syncer::UNSPECIFIED; syncer 76 sync/test/fake_server/fake_server_entity.cc return syncer::GetModelTypeFromSpecificsFieldNumber(field_number); syncer 22 sync/test/fake_server/fake_server_entity.h syncer::ModelType GetModelType() const; syncer 40 sync/test/fake_server/fake_server_entity.h static std::string CreateId(const syncer::ModelType& model_type, syncer 45 sync/test/fake_server/fake_server_entity.h static syncer::ModelType GetModelTypeFromId(const std::string& id); syncer 48 sync/test/fake_server/fake_server_entity.h const syncer::ModelType& model_type, syncer 59 sync/test/fake_server/fake_server_entity.h syncer::ModelType model_type_; syncer 11 sync/test/fake_server/fake_server_http_post_provider.cc using syncer::HttpPostProviderInterface; syncer 19 sync/test/fake_server/fake_server_http_post_provider.h : public syncer::HttpPostProviderInterface, syncer 54 sync/test/fake_server/fake_server_http_post_provider.h : public syncer::HttpPostProviderFactory { syncer 61 sync/test/fake_server/fake_server_http_post_provider.h virtual syncer::HttpPostProviderInterface* Create() OVERRIDE; syncer 62 sync/test/fake_server/fake_server_http_post_provider.h virtual void Destroy(syncer::HttpPostProviderInterface* http) OVERRIDE; syncer 14 sync/test/fake_server/fake_server_network_resources.cc using syncer::CancelationSignal; syncer 15 sync/test/fake_server/fake_server_network_resources.cc using syncer::HttpPostProviderFactory; syncer 16 sync/test/fake_server/fake_server_network_resources.cc using syncer::NetworkTimeUpdateCallback; syncer 25 sync/test/fake_server/fake_server_network_resources.cc scoped_ptr<syncer::HttpPostProviderFactory> syncer 30 sync/test/fake_server/fake_server_network_resources.cc return make_scoped_ptr<syncer::HttpPostProviderFactory>( syncer 21 sync/test/fake_server/fake_server_network_resources.h class FakeServerNetworkResources : public syncer::NetworkResources { syncer 28 sync/test/fake_server/fake_server_network_resources.h scoped_ptr<syncer::HttpPostProviderFactory> GetHttpPostProviderFactory( syncer 30 sync/test/fake_server/fake_server_network_resources.h const syncer::NetworkTimeUpdateCallback& network_time_update_callback, syncer 31 sync/test/fake_server/fake_server_network_resources.h syncer::CancelationSignal* cancelation_signal) OVERRIDE; syncer 17 sync/test/fake_server/permanent_entity.cc using syncer::ModelType; syncer 32 sync/test/fake_server/permanent_entity.cc DCHECK(model_type != syncer::UNSPECIFIED); syncer 48 sync/test/fake_server/permanent_entity.cc string server_tag = syncer::ModelTypeToRootTag(model_type); syncer 49 sync/test/fake_server/permanent_entity.cc string name = syncer::ModelTypeToString(model_type); syncer 24 sync/test/fake_server/permanent_entity.h static FakeServerEntity* Create(const syncer::ModelType& model_type, syncer 31 sync/test/fake_server/permanent_entity.h static FakeServerEntity* CreateTopLevel(const syncer::ModelType& model_type); syncer 41 sync/test/fake_server/permanent_entity.h const syncer::ModelType& model_type, syncer 16 sync/test/fake_server/tombstone_entity.cc using syncer::ModelType; syncer 32 sync/test/fake_server/tombstone_entity.h TombstoneEntity(const std::string& id, const syncer::ModelType& model_type); syncer 17 sync/test/fake_server/unique_client_entity.cc using syncer::ModelType; syncer 30 sync/test/fake_server/unique_client_entity.cc syncer::GetModelTypeFromSpecifics(client_entity.specifics()); syncer 33 sync/test/fake_server/unique_client_entity.h const syncer::ModelType& model_type, syncer 17 sync/test/fake_sync_encryption_handler.h namespace syncer { syncer 12 sync/test/local_sync_test_server.h namespace syncer { syncer 11 sync/test/null_directory_change_delegate.h namespace syncer { syncer 10 sync/test/null_transaction_observer.h namespace syncer { syncer 14 sync/test/sessions/mock_debug_info_getter.h namespace syncer { syncer 10 sync/test/sessions/test_scoped_session_event_listener.h namespace syncer { syncer 11 sync/test/test_directory_backing_store.h namespace syncer { syncer 13 sync/test/test_transaction_observer.h namespace syncer { syncer 12 sync/tools/null_invalidation_state_tracker.h namespace syncer { syncer 272 sync/tools/sync_client.cc syncer::NetworkChannelCreator network_channel_creator = syncer 273 sync/tools/sync_client.cc syncer::NonBlockingInvalidator::MakePushClientChannelCreator( syncer 400 sync/tools/sync_client.cc return syncer::SyncClientMain(argc, argv); syncer 141 sync/tools/sync_listen_notifications.cc using namespace syncer; syncer 184 sync/tools/sync_listen_notifications.cc syncer::NetworkChannelCreator network_channel_creator = syncer 185 sync/tools/sync_listen_notifications.cc syncer::NonBlockingInvalidator::MakePushClientChannelCreator( syncer 220 sync/tools/sync_listen_notifications.cc return syncer::SyncListenNotificationsMain(argc, argv); syncer 26 sync/tools/testserver/run_sync_testserver.cc scoped_ptr<syncer::LocalSyncTestServer> test_server( syncer 27 sync/tools/testserver/run_sync_testserver.cc new syncer::LocalSyncTestServer()); syncer 108 sync/tools/testserver/run_sync_testserver.cc scoped_ptr<syncer::LocalSyncTestServer> test_server( syncer 109 sync/tools/testserver/run_sync_testserver.cc new syncer::LocalSyncTestServer(port, xmpp_port)); syncer 23 sync/util/cryptographer.h namespace syncer { syncer 39 sync/util/data_type_histogram.h case ::syncer::BOOKMARKS: \ syncer 42 sync/util/data_type_histogram.h case ::syncer::PREFERENCES: \ syncer 45 sync/util/data_type_histogram.h case ::syncer::PASSWORDS: \ syncer 48 sync/util/data_type_histogram.h case ::syncer::AUTOFILL: \ syncer 51 sync/util/data_type_histogram.h case ::syncer::AUTOFILL_PROFILE: \ syncer 54 sync/util/data_type_histogram.h case ::syncer::THEMES: \ syncer 57 sync/util/data_type_histogram.h case ::syncer::TYPED_URLS: \ syncer 60 sync/util/data_type_histogram.h case ::syncer::EXTENSIONS: \ syncer 63 sync/util/data_type_histogram.h case ::syncer::NIGORI: \ syncer 66 sync/util/data_type_histogram.h case ::syncer::SEARCH_ENGINES: \ syncer 69 sync/util/data_type_histogram.h case ::syncer::SESSIONS: \ syncer 72 sync/util/data_type_histogram.h case ::syncer::APPS: \ syncer 75 sync/util/data_type_histogram.h case ::syncer::APP_LIST: \ syncer 78 sync/util/data_type_histogram.h case ::syncer::APP_SETTINGS: \ syncer 81 sync/util/data_type_histogram.h case ::syncer::EXTENSION_SETTINGS: \ syncer 84 sync/util/data_type_histogram.h case ::syncer::APP_NOTIFICATIONS: \ syncer 87 sync/util/data_type_histogram.h case ::syncer::HISTORY_DELETE_DIRECTIVES: \ syncer 90 sync/util/data_type_histogram.h case ::syncer::SYNCED_NOTIFICATIONS: \ syncer 93 sync/util/data_type_histogram.h case ::syncer::SYNCED_NOTIFICATION_APP_INFO: \ syncer 96 sync/util/data_type_histogram.h case ::syncer::DEVICE_INFO: \ syncer 99 sync/util/data_type_histogram.h case ::syncer::EXPERIMENTS: \ syncer 102 sync/util/data_type_histogram.h case ::syncer::PRIORITY_PREFERENCES :\ syncer 105 sync/util/data_type_histogram.h case ::syncer::DICTIONARY: \ syncer 108 sync/util/data_type_histogram.h case ::syncer::FAVICON_IMAGES: \ syncer 111 sync/util/data_type_histogram.h case ::syncer::FAVICON_TRACKING: \ syncer 114 sync/util/data_type_histogram.h case ::syncer::MANAGED_USER_SETTINGS: \ syncer 117 sync/util/data_type_histogram.h case ::syncer::MANAGED_USERS: \ syncer 120 sync/util/data_type_histogram.h case ::syncer::MANAGED_USER_SHARED_SETTINGS: \ syncer 123 sync/util/data_type_histogram.h case ::syncer::ARTICLES: \ syncer 126 sync/util/data_type_histogram.h case ::syncer::PROXY_TABS: \ syncer 131 sync/util/data_type_histogram.h << ::syncer::ModelTypeToString(datatype); \ syncer 10 sync/util/encryptor.h namespace syncer { syncer 16 sync/util/extensions_activity.h namespace syncer { syncer 18 sync/util/get_session_name.h namespace syncer { syncer 10 sync/util/get_session_name_ios.h namespace syncer { syncer 10 sync/util/get_session_name_linux.h namespace syncer { syncer 10 sync/util/get_session_name_mac.h namespace syncer { syncer 10 sync/util/get_session_name_win.h namespace syncer { syncer 16 sync/util/logging.h namespace syncer { syncer 32 sync/util/logging.h ::syncer::VlogIsOnForLocation(from_here, verbose_level))) \ syncer 17 sync/util/nigori.h namespace syncer { syncer 11 sync/util/test_unrecoverable_error_handler.h namespace syncer { syncer 16 sync/util/time.h namespace syncer { syncer 61 ui/app_list/app_list_item.h const syncer::StringOrdinal& position() const { return position_; } syncer 110 ui/app_list/app_list_item.h void set_position(const syncer::StringOrdinal& new_position) { syncer 122 ui/app_list/app_list_item.h syncer::StringOrdinal position_; syncer 63 ui/app_list/app_list_item_list.cc syncer::StringOrdinal new_position; syncer 91 ui/app_list/app_list_item_list.cc syncer::StringOrdinal new_position) { syncer 128 ui/app_list/app_list_item_list.cc syncer::StringOrdinal AppListItemList::CreatePositionBefore( syncer 129 ui/app_list/app_list_item_list.cc const syncer::StringOrdinal& position) { syncer 131 ui/app_list/app_list_item_list.cc return syncer::StringOrdinal::CreateInitialOrdinal(); syncer 194 ui/app_list/app_list_item_list.cc syncer::StringOrdinal position = item->position(); syncer 199 ui/app_list/app_list_item_list.cc position = syncer::StringOrdinal::CreateInitialOrdinal(); syncer 207 ui/app_list/app_list_item_list.cc const syncer::StringOrdinal& position, syncer 49 ui/app_list/app_list_item_list.h void SetItemPosition(AppListItem* item, syncer::StringOrdinal new_position); syncer 67 ui/app_list/app_list_item_list.h syncer::StringOrdinal CreatePositionBefore( syncer 68 ui/app_list/app_list_item_list.h const syncer::StringOrdinal& position); syncer 97 ui/app_list/app_list_item_list.h size_t GetItemSortOrderIndex(const syncer::StringOrdinal& position, syncer 90 ui/app_list/app_list_item_list_unittest.cc syncer::StringOrdinal position; syncer 92 ui/app_list/app_list_item_list_unittest.cc position = syncer::StringOrdinal::CreateInitialOrdinal(); syncer 112 ui/app_list/app_list_item_list_unittest.cc syncer::StringOrdinal CreatePositionBefore( syncer 113 ui/app_list/app_list_item_list_unittest.cc const syncer::StringOrdinal& position) { syncer 309 ui/app_list/app_list_item_list_unittest.cc syncer::StringOrdinal position0 = item_list_.item_at(0)->position(); syncer 310 ui/app_list/app_list_item_list_unittest.cc syncer::StringOrdinal new_position; syncer 319 ui/app_list/app_list_item_list_unittest.cc syncer::StringOrdinal position1 = item_list_.item_at(1)->position(); syncer 326 ui/app_list/app_list_item_list_unittest.cc new_position = CreatePositionBefore(syncer::StringOrdinal()); syncer 113 ui/app_list/app_list_model.cc syncer::StringOrdinal())); syncer 138 ui/app_list/app_list_model.cc syncer::StringOrdinal())); syncer 142 ui/app_list/app_list_model.cc syncer::StringOrdinal())); syncer 164 ui/app_list/app_list_model.cc syncer::StringOrdinal position) { syncer 191 ui/app_list/app_list_model.cc const syncer::StringOrdinal& new_position) { syncer 277 ui/app_list/app_list_model.cc top_level_item_list_->CreatePositionBefore(syncer::StringOrdinal())); syncer 90 ui/app_list/app_list_model.h syncer::StringOrdinal position); syncer 96 ui/app_list/app_list_model.h const syncer::StringOrdinal& new_position); syncer 374 ui/app_list/app_list_model_unittest.cc syncer::StringOrdinal()); syncer 454 ui/app_list/app_list_model_unittest.cc syncer::StringOrdinal item0_pos = item0->position(); syncer 463 ui/app_list/app_list_model_unittest.cc syncer::StringOrdinal item1_pos = item1->position(); syncer 464 ui/app_list/app_list_model_unittest.cc bool move_res = model_.MoveItemToFolderAt(item1, "", syncer::StringOrdinal()); syncer 36 ui/app_list/test/app_list_test_model.cc const syncer::StringOrdinal& new_position) { syncer 111 ui/app_list/test/app_list_test_model.cc syncer::StringOrdinal position; syncer 113 ui/app_list/test/app_list_test_model.cc position = syncer::StringOrdinal::CreateInitialOrdinal(); syncer 28 ui/app_list/test/app_list_test_model.h void SetPosition(const syncer::StringOrdinal& new_position); syncer 1646 ui/app_list/views/apps_grid_view.cc syncer::StringOrdinal target_position;