/external/chromium_org/chrome/browser/extensions/api/storage/ |
H A D | setting_sync_data.h | 13 namespace syncer { namespace 28 explicit SettingSyncData(const syncer::SyncChange& sync_change); 31 explicit SettingSyncData(const syncer::SyncData& sync_data); 35 syncer::SyncChange::SyncChangeType change_type, 43 syncer::SyncChange::SyncChangeType change_type() const; 60 syncer::SyncChange::SyncChangeType change_type, 65 syncer::SyncChange::SyncChangeType change_type_; 76 void Init(syncer::SyncChange::SyncChangeType change_type, 77 const syncer::SyncData& sync_data); 81 syncer [all...] |
/external/chromium_org/chrome/browser/sync/glue/ |
H A D | ui_model_worker.cc | 22 void CallDoWorkAndSignalCallback(const syncer::WorkCallback& work, 24 syncer::SyncerError* error_info) { 39 work_done->Signal(); // Unblock the syncer thread that scheduled us. 44 UIModelWorker::UIModelWorker(syncer::WorkerLoopDestructionObserver* observer) 45 : syncer::ModelSafeWorker(observer) { 53 syncer::SyncerError UIModelWorker::DoWorkAndWaitUntilDoneImpl( 54 const syncer::WorkCallback& work) { 55 syncer::SyncerError error_info; 67 error_info = syncer::CANNOT_DO_WORK; 75 syncer [all...] |
H A D | extension_setting_data_type_controller.cc | 23 syncer::ModelType type, 33 DCHECK(type == syncer::EXTENSION_SETTINGS || type == syncer::APP_SETTINGS); 36 syncer::ModelType ExtensionSettingDataTypeController::type() const { 40 syncer::ModelSafeGroup 42 return syncer::GROUP_FILE;
|
H A D | extension_data_type_controller.cc | 18 syncer::ModelType type, 27 DCHECK(type == syncer::EXTENSIONS || type == syncer::APPS);
|
H A D | extensions_activity_monitor.h | 13 namespace syncer { namespace 30 const scoped_refptr<syncer::ExtensionsActivity>& GetExtensionsActivity(); 33 scoped_refptr<syncer::ExtensionsActivity> extensions_activity_;
|
H A D | invalidation_adapter.h | 13 // Wraps a syncer::Invalidation in the syncer::InvalidationInterface. 14 class InvalidationAdapter : public syncer::InvalidationInterface { 16 explicit InvalidationAdapter(const syncer::Invalidation& invalidation); 27 syncer::Invalidation invalidation_;
|
H A D | favicon_cache_unittest.cc | 38 class TestChangeProcessor : public syncer::SyncChangeProcessor { 44 virtual syncer::SyncError ProcessSyncChanges( 46 const syncer::SyncChangeList& change_list) OVERRIDE; 48 virtual syncer::SyncDataList GetAllSyncData(syncer::ModelType type) const 50 return syncer::SyncDataList(); 57 syncer::SyncChange change_for_guid(const std::string& guid) const { 63 syncer::SyncChangeList GetAndResetChangeList() { 64 syncer::SyncChangeList list; 73 std::map<std::string, syncer [all...] |
H A D | history_model_worker.cc | 20 const syncer::WorkCallback& work, 22 syncer::SyncerError* error) 39 syncer::WorkCallback work_; 41 syncer::SyncerError* error_; 68 const syncer::WorkCallback& work, 71 syncer::SyncerError* error) { 77 *error = syncer::CANNOT_DO_WORK; 86 syncer::WorkerLoopDestructionObserver* observer) 87 : syncer::ModelSafeWorker(observer), 106 syncer [all...] |
/external/chromium_org/components/dom_distiller/core/ |
H A D | dom_distiller_model.h | 15 #include "sync/api/sync_change_processor.h" // syncer::SyncChangeList 40 syncer::SyncDataList GetAllSyncData() const; 45 void CalculateChangesForMerge(const syncer::SyncDataList& data, 46 syncer::SyncChangeList* changes_to_apply, 47 syncer::SyncChangeList* changes_missing); 55 void ApplyChangesToModel(const syncer::SyncChangeList& change_list, 56 syncer::SyncChangeList* changes_applied, 57 syncer::SyncChangeList* changes_missing); 76 void ApplyChangeToModel(const syncer::SyncChange& change, 77 syncer [all...] |
/external/chromium_org/chrome/browser/sync/ |
H A D | backend_migrator_unittest.cc | 30 using syncer::sessions::SyncSessionSnapshot; 41 preferred_types_.Put(syncer::BOOKMARKS); 42 preferred_types_.Put(syncer::PREFERENCES); 43 preferred_types_.Put(syncer::AUTOFILL); 52 SetUnsyncedTypes(syncer::ModelTypeSet()); 62 void SetUnsyncedTypes(syncer::ModelTypeSet unsynced_types) { 63 syncer::WriteTransaction trans(FROM_HERE, 65 for (int i = syncer::FIRST_REAL_MODEL_TYPE; 66 i < syncer::MODEL_TYPE_COUNT; ++i) { 67 syncer [all...] |
H A D | abstract_profile_sync_service_test.cc | 18 using syncer::ModelType; 19 using syncer::UserShare; 22 syncer::ImmutableChangeRecordList 24 int64 node_id, syncer::ChangeRecord::Action action) { 25 syncer::ChangeRecord record; 28 syncer::ChangeRecordList records(1, record); 29 return syncer::ImmutableChangeRecordList(&records); 33 syncer::ImmutableChangeRecordList 36 syncer::ChangeRecord record; 37 record.action = syncer [all...] |
H A D | profile_sync_service_mock.h | 43 void(const syncer::WeakHandle<syncer::JsBackend>&, 44 const syncer::WeakHandle<syncer::DataTypeDebugInfoListener>&, 58 syncer::ModelTypeSet chosen_types)); 63 MOCK_METHOD1(DisableDatatype, void(const syncer::SyncError&)); 64 MOCK_CONST_METHOD0(GetUserShare, syncer::UserShare*()); 65 MOCK_METHOD1(DeactivateDataType, void(syncer::ModelType)); 70 MOCK_METHOD0(GetJsController, base::WeakPtr<syncer::JsController>()); 78 void(syncer [all...] |
H A D | profile_sync_components_factory_impl.cc | 133 syncer::ModelTypeSet GetDisabledTypesFromCommandLine( 135 syncer::ModelTypeSet disabled_types; 138 disabled_types = syncer::ModelTypeSetFromString(disabled_types_str); 142 syncer::ModelTypeSet GetEnabledTypesFromCommandLine( 144 syncer::ModelTypeSet enabled_types; 146 enabled_types.Put(syncer::SYNCED_NOTIFICATIONS); 176 syncer::ModelTypeSet disabled_types = 178 syncer::ModelTypeSet enabled_types = 187 syncer::ModelTypeSet disabled_types, 188 syncer [all...] |
H A D | profile_sync_components_factory_impl_unittest.cc | 42 static std::vector<syncer::ModelType> DefaultDatatypes() { 43 std::vector<syncer::ModelType> datatypes; 44 datatypes.push_back(syncer::APPS); 47 datatypes.push_back(syncer::APP_LIST); 49 datatypes.push_back(syncer::APP_SETTINGS); 50 datatypes.push_back(syncer::AUTOFILL); 51 datatypes.push_back(syncer::AUTOFILL_PROFILE); 52 datatypes.push_back(syncer::BOOKMARKS); 53 datatypes.push_back(syncer::DEVICE_INFO); 55 datatypes.push_back(syncer [all...] |
H A D | backend_unrecoverable_error_handler.h | 20 : public syncer::UnrecoverableErrorHandler { 23 const syncer::WeakHandle<ProfileSyncService>& service); 29 syncer::WeakHandle<ProfileSyncService> service_;
|
/external/chromium_org/extensions/browser/ |
H A D | null_app_sorting.h | 28 const syncer::StringOrdinal& suggested_page) OVERRIDE; 33 virtual syncer::StringOrdinal GetAppLaunchOrdinal( 37 const syncer::StringOrdinal& new_app_launch_ordinal) OVERRIDE; 38 virtual syncer::StringOrdinal CreateFirstAppLaunchOrdinal( 39 const syncer::StringOrdinal& page_ordinal) const OVERRIDE; 40 virtual syncer::StringOrdinal CreateNextAppLaunchOrdinal( 41 const syncer::StringOrdinal& page_ordinal) const OVERRIDE; 42 virtual syncer::StringOrdinal CreateFirstAppPageOrdinal() const OVERRIDE; 43 virtual syncer::StringOrdinal GetNaturalAppPageOrdinal() const OVERRIDE; 44 virtual syncer [all...] |
/external/chromium_org/components/sync_driver/ |
H A D | change_processor.h | 13 namespace syncer { namespace 15 } // namespace syncer 33 void Start(syncer::UserShare* share_handle); 38 const syncer::BaseTransaction* trans, 40 const syncer::ImmutableChangeRecordList& changes) = 0; 75 virtual syncer::UserShare* share_handle() const; 81 syncer::UserShare* share_handle_;
|
H A D | data_type_controller.cc | 32 syncer::SyncError DataTypeController::CreateAndUploadError( 35 syncer::ModelType type) { 38 return syncer::SyncError(location, 39 syncer::SyncError::DATATYPE_ERROR, 44 void DataTypeController::OnUserShareReady(syncer::UserShare* share) { 48 syncer::UserShare* DataTypeController::user_share() const {
|
H A D | model_associator.h | 13 namespace syncer { namespace 32 virtual syncer::SyncError AssociateModels( 33 syncer::SyncMergeResult* local_merge_result, 34 syncer::SyncMergeResult* syncer_merge_result) = 0; 37 virtual syncer::SyncError DisassociateModels() = 0; 71 // Returns syncer::kInvalidId if the sync node is not found for the given 84 syncer::BaseNode* sync_node) = 0;
|
H A D | shared_change_processor_unittest.cc | 41 virtual base::WeakPtr<syncer::SyncableService> GetSyncableServiceForType( 42 syncer::ModelType type) OVERRIDE { 46 virtual scoped_ptr<syncer::AttachmentService> CreateAttachmentService( 47 const scoped_refptr<syncer::AttachmentStore>& attachment_store, 48 const syncer::UserShare& user_share, 49 syncer::AttachmentService::Delegate* delegate) OVERRIDE { 50 return syncer::AttachmentServiceImpl::CreateForTest(); 98 db_syncable_service_.reset(new syncer::FakeSyncableService()); 114 syncer::UserShare share; 120 syncer [all...] |
/external/chromium_org/chrome/browser/extensions/ |
H A D | app_sync_bundle.h | 21 namespace syncer { namespace 38 void SetupSync(syncer::SyncChangeProcessor* sync_proccessor, 39 syncer::SyncErrorFactory* sync_error_factory, 40 const syncer::SyncDataList& initial_sync_data); 46 // Returns a syncer::SyncChange that will delete the given application. 47 syncer::SyncChange CreateSyncChangeToDelete(const Extension* extension) const; 51 const syncer::SyncChange& sync_change); 54 syncer::SyncChange CreateSyncChange(const syncer::SyncData& sync_data); 57 syncer [all...] |
H A D | extension_sync_bundle.h | 21 namespace syncer { namespace 38 void SetupSync(syncer::SyncChangeProcessor* sync_processor, 39 syncer::SyncErrorFactory* sync_error_factory, 40 const syncer::SyncDataList& initial_sync_data); 46 // Returns a syncer::SyncChange that will delete the given extension. 47 syncer::SyncChange CreateSyncChangeToDelete(const Extension* extension) const; 51 std::string extension_id, const syncer::SyncChange& sync_change); 54 syncer::SyncChange CreateSyncChange(const syncer::SyncData& sync_data); 57 syncer [all...] |
/external/chromium_org/sync/internal_api/public/ |
H A D | sync_context.h | 15 namespace syncer { namespace 36 syncer::ModelType type, 38 const syncer::UpdateResponseDataList& saved_pending_updates, 42 // Disconnects the syncer from the model and stops syncing the type. 49 // It also causes the syncer to stop requesting updates for this type, and to 54 } // namespace syncer
|
H A D | sync_context_proxy.h | 12 namespace syncer { namespace 29 syncer::ModelType type, 34 // Tells the syncer that we're no longer interested in syncing this type. 36 // Once this takes effect, the syncer can assume that it will no longer 39 virtual void Disconnect(syncer::ModelType type) = 0; 45 } // namespace syncer
|
/external/chromium_org/sync/internal_api/public/test/ |
H A D | null_sync_context_proxy.h | 12 namespace syncer { namespace 25 syncer::ModelType type, 29 virtual void Disconnect(syncer::ModelType type) OVERRIDE; 33 } // namespace syncer
|