/external/chromium_org/sync/internal_api/public/base/ |
D | model_type.h | 35 enum ModelType { enum 143 typedef EnumSet<ModelType, FIRST_REAL_MODEL_TYPE, LAST_REAL_MODEL_TYPE> 145 typedef EnumSet<ModelType, UNSPECIFIED, LAST_REAL_MODEL_TYPE> 148 inline ModelType ModelTypeFromInt(int i) { in ModelTypeFromInt() 151 return static_cast<ModelType>(i); in ModelTypeFromInt() 155 SYNC_EXPORT void AddDefaultFieldValue(ModelType datatype, 162 SYNC_EXPORT_PRIVATE ModelType GetModelType( 168 SYNC_EXPORT ModelType GetModelTypeFromSpecifics( 183 SYNC_EXPORT bool IsUserSelectableType(ModelType model_type); 212 SYNC_EXPORT bool IsControlType(ModelType model_type); [all …]
|
/external/chromium/chrome/browser/sync/syncable/ |
D | model_type.h | 30 enum ModelType { enum 77 typedef std::set<ModelType> ModelTypeSet; 79 inline ModelType ModelTypeFromInt(int i) { in ModelTypeFromInt() 82 return static_cast<ModelType>(i); in ModelTypeFromInt() 85 void AddDefaultExtensionValue(syncable::ModelType datatype, 92 ModelType GetModelType(const sync_pb::SyncEntity& sync_entity); 97 ModelType GetModelTypeFromSpecifics(const sync_pb::EntitySpecifics& specifics); 101 ModelType GetModelTypeFromExtensionFieldNumber(int field_number); 105 int GetExtensionFieldNumberFromModelType(ModelType model_type); 108 std::string ModelTypeToString(ModelType model_type); [all …]
|
D | model_type.cc | 24 void AddDefaultExtensionValue(syncable::ModelType datatype, in AddDefaultExtensionValue() 65 ModelType GetModelTypeFromExtensionFieldNumber(int field_number) { in GetModelTypeFromExtensionFieldNumber() 67 ModelType model_type = ModelTypeFromInt(i); in GetModelTypeFromExtensionFieldNumber() 75 int GetExtensionFieldNumberFromModelType(ModelType model_type) { in GetExtensionFieldNumberFromModelType() 120 ModelType GetModelType(const sync_pb::SyncEntity& sync_pb_entity) { in GetModelType() 132 ModelType specifics_type = GetModelTypeFromSpecifics(sync_entity.specifics()); in GetModelType() 150 ModelType GetModelTypeFromSpecifics(const sync_pb::EntitySpecifics& specifics) { in GetModelTypeFromSpecifics() 187 std::string ModelTypeToString(ModelType model_type) { in ModelTypeToString() 218 StringValue* ModelTypeToValue(ModelType model_type) { in ModelTypeToValue() 241 ModelType ModelTypeFromString(const std::string& model_type_string) { in ModelTypeFromString() [all …]
|
/external/chromium_org/sync/android/javatests/src/org/chromium/sync/notifier/ |
D | InvalidationServiceTest.java | 23 import org.chromium.sync.internal_api.pub.base.ModelType; 86 ModelType.modelTypesToObjectIds( in testComputeRegistrationOps() 87 CollectionUtil.newHashSet(ModelType.BOOKMARK, ModelType.SESSION)), in testComputeRegistrationOps() 88 ModelType.modelTypesToObjectIds( in testComputeRegistrationOps() 89 CollectionUtil.newHashSet(ModelType.BOOKMARK, ModelType.SESSION)), in testComputeRegistrationOps() 104 ModelType.BOOKMARK.toObjectId(), ModelType.SESSION.toObjectId()); in testComputeRegistrationOps() 111 ModelType.BOOKMARK.toObjectId(), ModelType.SESSION.toObjectId()), in testComputeRegistrationOps() 120 ModelType.SESSION.toObjectId(), ModelType.TYPED_URL.toObjectId()), in testComputeRegistrationOps() 122 ModelType.BOOKMARK.toObjectId(), ModelType.SESSION.toObjectId()), in testComputeRegistrationOps() 124 assertEquals(CollectionUtil.newHashSet(ModelType.BOOKMARK.toObjectId()), regAccumulator); in testComputeRegistrationOps() [all …]
|
D | InvalidationPreferencesTest.java | 17 import org.chromium.sync.internal_api.pub.base.ModelType; 45 HashSet<ModelType> expectedTypes = CollectionUtil.newHashSet( in testTranslateBasicSyncTypes() 46 ModelType.BOOKMARK,ModelType.SESSION); in testTranslateBasicSyncTypes() 47 Set<ModelType> actualTypes = ModelType.syncTypesToModelTypes( in testTranslateBasicSyncTypes() 59 Set<ModelType> expectedTypes = EnumSet.allOf(ModelType.class); in testTranslateAllSyncTypes() 60 Set<ModelType> actualTypes = ModelType.syncTypesToModelTypes( in testTranslateAllSyncTypes() 61 CollectionUtil.newHashSet(ModelType.ALL_TYPES_TYPE)); in testTranslateAllSyncTypes() 90 Set<String> syncTypes = CollectionUtil.newHashSet("BOOKMARK", ModelType.ALL_TYPES_TYPE); in testReadWriteAndReadData()
|
/external/chromium_org/sync/android/java/src/org/chromium/sync/internal_api/pub/base/ |
D | ModelType.java | 21 public enum ModelType { enum 84 ModelType(String modelType, boolean nonInvalidationType) { in ModelType() method in ModelType 89 ModelType(String modelType) { in ModelType() method in ModelType 106 public static ModelType fromObjectId(ObjectId objectId) { in fromObjectId() 124 public static Set<ModelType> syncTypesToModelTypes(Collection<String> syncTypes) { in syncTypesToModelTypes() 126 return EnumSet.allOf(ModelType.class); in syncTypesToModelTypes() 128 Set<ModelType> modelTypes = new HashSet<ModelType>(syncTypes.size()); in syncTypesToModelTypes() 155 public static Set<ObjectId> modelTypesToObjectIds(Set<ModelType> modelTypes) { in modelTypesToObjectIds() 157 for (ModelType modelType : modelTypes) { in modelTypesToObjectIds() 166 public static Set<String> modelTypesToSyncTypes(Set<ModelType> modelTypes) { in modelTypesToSyncTypes() [all …]
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/sync/ |
D | ProfileSyncService.java | 16 import org.chromium.sync.internal_api.pub.base.ModelType; 345 public Set<ModelType> getPreferredDataTypes() { in getPreferredDataTypes() 348 Set<ModelType> syncTypes = new HashSet<ModelType>(); in getPreferredDataTypes() 350 syncTypes.add(ModelType.AUTOFILL); in getPreferredDataTypes() 353 syncTypes.add(ModelType.AUTOFILL_PROFILE); in getPreferredDataTypes() 356 syncTypes.add(ModelType.BOOKMARK); in getPreferredDataTypes() 359 syncTypes.add(ModelType.EXPERIMENTS); in getPreferredDataTypes() 362 syncTypes.add(ModelType.NIGORI); in getPreferredDataTypes() 365 syncTypes.add(ModelType.PASSWORD); in getPreferredDataTypes() 368 syncTypes.add(ModelType.SESSION); in getPreferredDataTypes() [all …]
|
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/invalidation/ |
D | InvalidationControllerTest.java | 22 import org.chromium.sync.internal_api.pub.base.ModelType; 159 CollectionUtil.newHashSet(ModelType.BOOKMARK, ModelType.SESSION)); in testRegisterForSpecificTypes() 173 Set<String> expectedTypes = CollectionUtil.newHashSet(ModelType.BOOKMARK.name(), in testRegisterForSpecificTypes() 174 ModelType.SESSION.name()); in testRegisterForSpecificTypes() 187 CollectionUtil.newHashSet(ModelType.BOOKMARK, ModelType.SESSION)); in testRegisterForAllTypes() 201 Set<String> expectedTypes = CollectionUtil.newHashSet(ModelType.ALL_TYPES_TYPE); in testRegisterForAllTypes() 217 storedModelTypes.add(ModelType.BOOKMARK.name()); in testRefreshShouldReadValuesFromDiskWithSpecificTypes() 218 storedModelTypes.add(ModelType.TYPED_URL.name()); in testRefreshShouldReadValuesFromDiskWithSpecificTypes() 219 Set<ModelType> refreshedTypes = new HashSet<ModelType>(); in testRefreshShouldReadValuesFromDiskWithSpecificTypes() 220 refreshedTypes.add(ModelType.BOOKMARK); in testRefreshShouldReadValuesFromDiskWithSpecificTypes() [all …]
|
/external/chromium_org/chrome/browser/sync/glue/ |
D | sync_backend_registrar.h | 89 void ActivateDataType(syncer::ModelType type, 97 void DeactivateDataType(syncer::ModelType type); 101 bool IsTypeActivatedForTest(syncer::ModelType type) const; 106 syncer::ModelType model_type, 110 virtual void OnChangesComplete(syncer::ModelType model_type) OVERRIDE; 129 typedef std::map<syncer::ModelType, ChangeProcessor*> 140 ChangeProcessor* GetProcessor(syncer::ModelType type) const; 145 ChangeProcessor* GetProcessorUnsafe(syncer::ModelType type) const; 150 syncer::ModelType model_type) const;
|
D | generic_change_processor.h | 68 virtual syncer::SyncDataList GetAllSyncData(syncer::ModelType type) 74 syncer::ModelType type, 78 virtual int GetSyncCountForType(syncer::ModelType type); 82 virtual bool SyncModelHasUserCreatedNodes(syncer::ModelType type, 84 virtual bool CryptoReadyIfNecessary(syncer::ModelType type);
|
D | data_type_controller.h | 68 typedef base::Callback<void(syncer::ModelType, 71 typedef std::map<syncer::ModelType, 73 typedef std::map<syncer::ModelType, DataTypeController::State> StateMap; 100 virtual syncer::ModelType type() const = 0; 118 syncer::ModelType type) OVERRIDE;
|
D | fake_generic_change_processor.h | 32 syncer::ModelType type, 34 virtual int GetSyncCountForType(syncer::ModelType type) OVERRIDE; 35 virtual bool SyncModelHasUserCreatedNodes(syncer::ModelType type, 37 virtual bool CryptoReadyIfNecessary(syncer::ModelType type) OVERRIDE;
|
D | fake_generic_change_processor.cc | 53 syncer::ModelType type, syncer::SyncDataList* current_sync_data) const { in GetAllSyncDataReturnError() 57 int FakeGenericChangeProcessor::GetSyncCountForType(syncer::ModelType type) { in GetSyncCountForType() 62 syncer::ModelType type, bool* has_nodes) { in SyncModelHasUserCreatedNodes() 68 syncer::ModelType type) { in CryptoReadyIfNecessary()
|
/external/chromium/chrome/browser/sync/notifier/ |
D | registration_manager.h | 57 typedef std::map<syncable::ModelType, PendingRegistrationInfo> 72 void MarkRegistrationLost(syncable::ModelType model_type); 112 syncable::ModelType model_type; 136 void TryRegisterType(syncable::ModelType model_type, 143 void DoRegisterType(syncable::ModelType model_type); 146 void UnregisterType(syncable::ModelType model_type); 149 bool IsTypeRegistered(syncable::ModelType model_type) const;
|
D | registration_manager.cc | 51 syncable::ModelType model_type = syncable::ModelTypeFromInt(i); in RegistrationManager() 68 syncable::ModelType model_type = syncable::ModelTypeFromInt(i); in SetRegisteredTypes() 82 syncable::ModelType model_type) { in MarkRegistrationLost() 93 syncable::ModelType model_type = syncable::ModelTypeFromInt(i); in MarkAllRegistrationsLost() 105 syncable::ModelType model_type = syncable::ModelTypeFromInt(i); in GetRegisteredTypes() 119 syncable::ModelType model_type = syncable::ModelTypeFromInt(i); in GetPendingRegistrations() 138 syncable::ModelType model_type = syncable::ModelTypeFromInt(i); in FirePendingRegistrationsForTest() 173 void RegistrationManager::TryRegisterType(syncable::ModelType model_type, in TryRegisterType() 217 void RegistrationManager::DoRegisterType(syncable::ModelType model_type) { in DoRegisterType() 230 void RegistrationManager::UnregisterType(syncable::ModelType model_type) { in UnregisterType() [all …]
|
/external/chromium/chrome/browser/sync/ |
D | abstract_profile_sync_service_test.h | 33 static const std::string GetTagForType(syncable::ModelType model_type); 35 static bool CreateRoot(syncable::ModelType model_type, 45 bool CreateRoot(syncable::ModelType model_type); 58 syncable::ModelType model_type); 67 syncable::ModelType model_type_;
|
D | profile_sync_service_harness.h | 109 void EnableSyncForDatatype(syncable::ModelType datatype); 112 void DisableSyncForDatatype(syncable::ModelType datatype); 130 bool EnableEncryptionForType(syncable::ModelType type); 133 bool IsTypeEncrypted(syncable::ModelType type); 199 std::string GetUpdatedTimestamp(syncable::ModelType model_type); 203 syncable::ModelType waiting_for_encryption_type_;
|
D | profile_sync_factory_impl_unittest.cc | 36 static std::vector<syncable::ModelType> DefaultDatatypes() { in DefaultDatatypes() 37 std::vector<syncable::ModelType> datatypes; in DefaultDatatypes() 59 syncable::ModelType exception_type) { in CheckDefaultDatatypesInMapExcept() 60 std::vector<syncable::ModelType> defaults = DefaultDatatypes(); in CheckDefaultDatatypesInMapExcept() 61 std::vector<syncable::ModelType>::iterator iter; in CheckDefaultDatatypesInMapExcept() 75 syncable::ModelType type) { in TestSwitchDisablesType()
|
/external/chromium_org/sync/api/ |
D | sync_error.h | 50 ModelType model_type); 64 ModelType type); 72 ModelType model_type() const; 89 ModelType model_type, 98 ModelType model_type_;
|
D | fake_syncable_service.h | 31 ModelType type, 35 virtual void StopSyncing(ModelType type) OVERRIDE; 36 virtual SyncDataList GetAllSyncData(ModelType type) const OVERRIDE; 46 ModelType type_;
|
/external/chromium_org/third_party/WebKit/Source/platform/audio/ |
D | Distance.h | 41 enum ModelType { enum 52 ModelType model() { return m_model; } in model() 54 void setModel(ModelType model, bool clamped) in setModel() 74 ModelType m_model;
|
/external/chromium_org/chrome/browser/extensions/api/storage/ |
D | settings_sync_util.h | 25 syncer::ModelType type); 32 syncer::ModelType type); 39 syncer::ModelType type); 45 syncer::ModelType type);
|
D | settings_backend.h | 43 syncer::ModelType sync_type, 59 syncer::ModelType type) const OVERRIDE; 61 syncer::ModelType type, 68 virtual void StopSyncing(syncer::ModelType type) OVERRIDE; 104 syncer::ModelType sync_type_;
|
/external/chromium_org/sync/syncable/ |
D | model_type.cc | 28 void AddDefaultFieldValue(ModelType datatype, in AddDefaultFieldValue() 121 ModelType GetModelTypeFromSpecificsFieldNumber(int field_number) { in GetModelTypeFromSpecificsFieldNumber() 131 int GetSpecificsFieldNumberFromModelType(ModelType model_type) { in GetSpecificsFieldNumberFromModelType() 229 ModelType GetModelType(const sync_pb::SyncEntity& sync_entity) { in GetModelType() 236 ModelType specifics_type = GetModelTypeFromSpecifics(sync_entity.specifics()); in GetModelType() 254 ModelType GetModelTypeFromSpecifics(const sync_pb::EntitySpecifics& specifics) { in GetModelTypeFromSpecifics() 372 bool IsUserSelectableType(ModelType model_type) { in IsUserSelectableType() 418 bool IsControlType(ModelType model_type) { in IsControlType() 442 const char* ModelTypeToString(ModelType model_type) { in ModelTypeToString() 518 int ModelTypeToHistogramInt(ModelType model_type) { in ModelTypeToHistogramInt() [all …]
|
/external/chromium_org/sync/sessions/ |
D | nudge_tracker.h | 76 bool IsTypeThrottled(ModelType type) const; 95 ModelType type, 102 ModelType type, 109 typedef std::map<ModelType, DataTypeTracker> TypeTrackerMap;
|