/external/chromium_org/components/sync_driver/ |
model_association_manager_unittest.cc | 22 void(syncer::ModelType type, 23 const syncer::DataTypeAssociationStats& association_stats)); 25 void(syncer::ModelType, const syncer::SyncError& error)); 32 syncer::ModelType model_type) { 60 controllers_[syncer::BOOKMARKS] = 61 new FakeDataTypeController(syncer::BOOKMARKS); 62 controllers_[syncer::APPS] = 63 new FakeDataTypeController(syncer::APPS); 66 syncer::ModelTypeSet types(syncer::BOOKMARKS, syncer::APPS) [all...] |
shared_change_processor_ref.h | 16 // A syncer::SyncChangeProcessor stub for interacting with a refcounted 18 class SharedChangeProcessorRef : public syncer::SyncChangeProcessor, 19 public syncer::SyncErrorFactory { 26 // syncer::SyncChangeProcessor implementation. 27 virtual syncer::SyncError ProcessSyncChanges( 29 const syncer::SyncChangeList& change_list) OVERRIDE; 30 virtual syncer::SyncDataList GetAllSyncData( 31 syncer::ModelType type) const OVERRIDE; 32 virtual syncer::SyncError UpdateDataTypeContext( 33 syncer::ModelType type [all...] |
sync_prefs_unittest.cc | 72 syncer::ModelTypeSet expected(syncer::BOOKMARKS, syncer::DEVICE_INFO); 73 syncer::ModelTypeSet preferred_types = 74 sync_prefs.GetPreferredDataTypes(syncer::UserTypes()); 80 syncer::ModelTypeSet registered_types = syncer::UserTypes(); 81 registered_types.Remove(syncer::PROXY_TABS); 82 registered_types.Remove(syncer::TYPED_URLS); 83 registered_types.Remove(syncer::SESSIONS) [all...] |
proxy_data_type_controller.cc | 11 syncer::ModelType type) 15 DCHECK(syncer::ProxyTypes().Has(type_)); 24 model_load_callback.Run(type(), syncer::SyncError()); 29 syncer::SyncMergeResult local_merge_result(type_); 30 syncer::SyncMergeResult syncer_merge_result(type_); 41 syncer::ModelType ProxyDataTypeController::type() const { 42 DCHECK(syncer::ProxyTypes().Has(type_)); 46 syncer::ModelSafeGroup ProxyDataTypeController::model_safe_group() const { 47 DCHECK(syncer::ProxyTypes().Has(type_)); 48 return syncer::GROUP_PASSIVE [all...] |
generic_change_processor.h | 22 namespace syncer { namespace 28 typedef std::vector<syncer::SyncData> SyncDataList; 29 } // namespace syncer 43 public syncer::SyncChangeProcessor, 44 public syncer::AttachmentService::Delegate, 47 // Create a change processor for |type| and connect it to the syncer. 51 syncer::ModelType type, 53 const base::WeakPtr<syncer::SyncableService>& local_service, 54 const base::WeakPtr<syncer::SyncMergeResult>& merge_result, 55 syncer::UserShare* user_share [all...] |
generic_change_processor.cc | 30 syncer::WriteNode* write_node) { 31 if (syncer::GetModelTypeFromSpecifics(entity_specifics) == 32 syncer::PASSWORDS) { 42 const syncer::AttachmentId& attachment_id) { 49 void SetAttachmentMetadata(const syncer::AttachmentIdList& attachment_ids, 50 syncer::WriteNode* write_node) { 61 syncer::SyncData BuildRemoteSyncData( 63 const syncer::BaseNode& read_node, 64 const syncer::AttachmentServiceProxy& attachment_service_proxy) { 65 const syncer::AttachmentIdList& attachment_ids = read_node.GetAttachmentIds() [all...] |
data_type_status_table.cc | 12 syncer::ModelTypeSet GetTypesFromErrorMap( 14 syncer::ModelTypeSet result; 39 syncer::SyncError::ErrorType failure_type = iter->second.error_type(); 41 case syncer::SyncError::UNSET: 44 case syncer::SyncError::UNRECOVERABLE_ERROR: 47 case syncer::SyncError::DATATYPE_ERROR: 48 case syncer::SyncError::DATATYPE_POLICY_ERROR: 51 case syncer::SyncError::CRYPTO_ERROR: 54 case syncer::SyncError::PERSISTENCE_ERROR: 57 case syncer::SyncError::UNREADY_ERROR [all...] |
fake_generic_change_processor.cc | 15 syncer::ModelType type, 19 base::WeakPtr<syncer::SyncableService>(), 20 base::WeakPtr<syncer::SyncMergeResult>(), 23 scoped_refptr<syncer::AttachmentStore>()), 39 syncer::SyncError FakeGenericChangeProcessor::ProcessSyncChanges( 41 const syncer::SyncChangeList& change_list) { 42 return syncer::SyncError(); 45 syncer::SyncError FakeGenericChangeProcessor::GetAllSyncDataReturnError( 46 syncer::SyncDataList* current_sync_data) const { 47 return syncer::SyncError() [all...] |
generic_change_processor_unittest.cc | 38 class MockAttachmentService : public syncer::AttachmentServiceImpl { 41 const scoped_refptr<syncer::AttachmentStore>& attachment_store); 44 const syncer::AttachmentIdSet& attachment_ids) OVERRIDE; 45 std::vector<syncer::AttachmentIdSet>* attachment_id_sets(); 48 std::vector<syncer::AttachmentIdSet> attachment_id_sets_; 52 const scoped_refptr<syncer::AttachmentStore>& attachment_store) 54 scoped_ptr<syncer::AttachmentUploader>( 55 new syncer::FakeAttachmentUploader), 56 scoped_ptr<syncer::AttachmentDownloader>( 57 new syncer::FakeAttachmentDownloader) [all...] |
/external/chromium_org/sync/api/ |
sync_change_processor_wrapper_for_test.cc | 7 namespace syncer { namespace 10 syncer::SyncChangeProcessor* wrapped) 17 syncer::SyncError SyncChangeProcessorWrapperForTest::ProcessSyncChanges( 19 const syncer::SyncChangeList& change_list) { 23 syncer::SyncDataList SyncChangeProcessorWrapperForTest::GetAllSyncData( 24 syncer::ModelType type) const { 28 } // namespace syncer
|
fake_sync_change_processor.cc | 9 namespace syncer { namespace 15 syncer::SyncError FakeSyncChangeProcessor::ProcessSyncChanges( 17 const syncer::SyncChangeList& change_list) { 20 return syncer::SyncError(); 23 syncer::SyncDataList FakeSyncChangeProcessor::GetAllSyncData( 24 syncer::ModelType type) const { 28 syncer::SyncError FakeSyncChangeProcessor::UpdateDataTypeContext( 33 return syncer::SyncError(); 36 const syncer::SyncChangeList& FakeSyncChangeProcessor::changes() const { 40 syncer::SyncChangeList& FakeSyncChangeProcessor::changes() [all...] |
fake_sync_change_processor.h | 10 namespace syncer { namespace 21 virtual syncer::SyncError ProcessSyncChanges( 23 const syncer::SyncChangeList& change_list) OVERRIDE; 28 virtual syncer::SyncDataList GetAllSyncData(syncer::ModelType type) 34 virtual syncer::SyncError UpdateDataTypeContext( 39 virtual const syncer::SyncChangeList& changes() const; 40 virtual syncer::SyncChangeList& changes(); 42 virtual const syncer::SyncDataList& data() const; 43 virtual syncer::SyncDataList& data() [all...] |
sync_change_processor_wrapper_for_test.h | 10 namespace syncer { namespace 20 syncer::SyncChangeProcessor* wrapped); 24 virtual syncer::SyncError ProcessSyncChanges( 26 const syncer::SyncChangeList& change_list) OVERRIDE; 27 virtual syncer::SyncDataList GetAllSyncData(syncer::ModelType type) 31 syncer::SyncChangeProcessor* const wrapped_; 36 } // namespace syncer
|
sync_change_processor.cc | 7 namespace syncer { namespace 13 syncer::SyncError SyncChangeProcessor::UpdateDataTypeContext( 15 syncer::SyncChangeProcessor::ContextRefreshStatus refresh_status, 18 return syncer::SyncError(); 21 } // namespace syncer
|
/external/chromium_org/chrome/browser/sync/glue/ |
sync_backend_host_mock.h | 31 const syncer::WeakHandle<syncer::JsEventHandler>& event_handler, 33 const syncer::SyncCredentials& credentials, 35 scoped_ptr<syncer::SyncManagerFactory> sync_manager_factory, 36 scoped_ptr<syncer::UnrecoverableErrorHandler> unrecoverable_error_handler, 37 syncer::ReportUnrecoverableErrorFunction 39 syncer::NetworkResources* network_resources) OVERRIDE; 42 const syncer::SyncCredentials& credentials) OVERRIDE; 55 virtual scoped_ptr<base::Thread> Shutdown(syncer::ShutdownReason reason) 61 syncer::ConfigureReason reason [all...] |
sync_backend_host_mock.cc | 19 const syncer::WeakHandle<syncer::JsEventHandler>& event_handler, 21 const syncer::SyncCredentials& credentials, 23 scoped_ptr<syncer::SyncManagerFactory> sync_manager_factory, 24 scoped_ptr<syncer::UnrecoverableErrorHandler> unrecoverable_error_handler, 25 syncer::ReportUnrecoverableErrorFunction 27 syncer::NetworkResources* network_resources) { 29 syncer::WeakHandle<syncer::JsBackend>(), 30 syncer::WeakHandle<syncer::DataTypeDebugInfoListener>() [all...] |
sync_backend_registrar.cc | 33 bool IsOnThreadForGroup(syncer::ModelType type, syncer::ModelSafeGroup group) { 35 case syncer::GROUP_PASSIVE: 37 case syncer::GROUP_UI: 39 case syncer::GROUP_DB: 41 case syncer::GROUP_FILE: 43 case syncer::GROUP_HISTORY: 45 return type == syncer::TYPED_URLS; 46 case syncer::GROUP_PASSWORD: 48 return type == syncer::PASSWORDS [all...] |
sync_backend_host_core.h | 28 const syncer::ModelSafeRoutingInfo& routing_info, 29 const std::vector<scoped_refptr<syncer::ModelSafeWorker> >& workers, 30 const scoped_refptr<syncer::ExtensionsActivity>& extensions_activity, 31 const syncer::WeakHandle<syncer::JsEventHandler>& event_handler, 33 scoped_ptr<syncer::HttpPostProviderFactory> http_bridge_factory, 34 const syncer::SyncCredentials& credentials, 36 scoped_ptr<syncer::SyncManagerFactory> sync_manager_factory, 40 scoped_ptr<syncer::InternalComponentsFactory> internal_components_factory, 41 scoped_ptr<syncer::UnrecoverableErrorHandler> unrecoverable_error_handler [all...] |
sync_backend_host_impl_unittest.cc | 51 using syncer::FakeSyncManager; 52 using syncer::SyncManager; 80 void(const syncer::WeakHandle<syncer::JsBackend>&, 81 const syncer::WeakHandle<syncer::DataTypeDebugInfoListener>&, 86 void(syncer::ConnectionStatus status)); 90 void(syncer::PassphraseRequiredReason, 94 void(syncer::ModelTypeSet, bool)); 96 MOCK_METHOD1(OnMigrationNeededForTypes, void(syncer::ModelTypeSet)) [all...] |
/external/chromium_org/sync/util/ |
data_type_histogram.h | 23 // std::vector<syncer::ModelType> types = GetEntryTypes(); 39 case ::syncer::BOOKMARKS: \ 42 case ::syncer::PREFERENCES: \ 45 case ::syncer::PASSWORDS: \ 48 case ::syncer::AUTOFILL: \ 51 case ::syncer::AUTOFILL_PROFILE: \ 54 case ::syncer::THEMES: \ 57 case ::syncer::TYPED_URLS: \ 60 case ::syncer::EXTENSIONS: \ 63 case ::syncer::NIGORI: [all...] |
/external/chromium_org/chrome/browser/sync/test/integration/ |
enable_disable_test.cc | 28 bool DoesTopLevelNodeExist(syncer::UserShare* user_share, 29 syncer::ModelType type) { 30 syncer::ReadTransaction trans(FROM_HERE, user_share); 31 syncer::ReadNode node(&trans); 32 return node.InitTypeRoot(type) == syncer::BaseNode::INIT_OK; 36 syncer::ModelType type) { 44 ASSERT_TRUE(GetClient(0)->SetupSync(syncer::ModelTypeSet())); 46 const syncer::ModelTypeSet registered_types = 48 syncer::UserShare* user_share = GetSyncService(0)->GetUserShare(); 51 for (syncer::ModelTypeSet::Iterator it = registered_types.First() [all...] |
/external/chromium_org/extensions/browser/ |
null_app_sorting.cc | 41 const syncer::StringOrdinal& suggested_page) { 50 syncer::StringOrdinal NullAppSorting::GetAppLaunchOrdinal( 52 return syncer::StringOrdinal(kFirstApp); 57 const syncer::StringOrdinal& new_app_launch_ordinal) { 60 syncer::StringOrdinal NullAppSorting::CreateFirstAppLaunchOrdinal( 61 const syncer::StringOrdinal& page_ordinal) const { 62 return syncer::StringOrdinal(kFirstApp); 65 syncer::StringOrdinal NullAppSorting::CreateNextAppLaunchOrdinal( 66 const syncer::StringOrdinal& page_ordinal) const { 67 return syncer::StringOrdinal(kNextApp) [all...] |
/external/chromium_org/sync/engine/ |
nudge_handler.h | 12 namespace syncer { namespace 19 virtual void NudgeForInitialDownload(syncer::ModelType type) = 0; 20 virtual void NudgeForCommit(syncer::ModelType type) = 0; 21 virtual void NudgeForRefresh(syncer::ModelType type) = 0; 24 } // namespace syncer
|
/external/chromium_org/chrome/browser/themes/ |
theme_syncable_service.h | 24 class ThemeSyncableService : public syncer::SyncableService { 30 static syncer::ModelType model_type() { return syncer::THEMES; } 35 // syncer::SyncableService implementation. 36 virtual syncer::SyncMergeResult MergeDataAndStartSyncing( 37 syncer::ModelType type, 38 const syncer::SyncDataList& initial_sync_data, 39 scoped_ptr<syncer::SyncChangeProcessor> sync_processor, 40 scoped_ptr<syncer::SyncErrorFactory> error_handler) OVERRIDE; 41 virtual void StopSyncing(syncer::ModelType type) OVERRIDE [all...] |
/external/chromium_org/chrome/browser/extensions/api/synced_notifications_private/ |
synced_notifications_shim.cc | 19 syncer::SyncChange::SyncChangeType change_type) { 21 case syncer::SyncChange::ACTION_UPDATE: 23 case syncer::SyncChange::ACTION_DELETE: 25 case syncer::SyncChange::ACTION_ADD: 27 case syncer::SyncChange::ACTION_INVALID: 34 syncer::ModelType JSDataTypeToSyncer( 38 return syncer::SYNCED_NOTIFICATION_APP_INFO; 40 return syncer::SYNCED_NOTIFICATIONS; 43 return syncer::UNSPECIFIED; 48 syncer::ModelType model_type) [all...] |