Home
last modified time | relevance | path

Searched refs:ModelType (Results 1 – 25 of 112) sorted by relevance

12345

/external/chromium/chrome/browser/sync/syncable/
Dmodel_type.h30 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 …]
Dmodel_type.cc24 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 …]
Dsyncable.h402 ModelType GetServerModelType() const;
403 ModelType GetModelType() const;
453 ModelType GetServerModelTypeHelper() const;
695 void reset_download_progress(ModelType model_type);
761 ModelType type,
764 ModelType type,
767 ModelType type,
770 bool initial_sync_ended_for_type(ModelType type) const;
771 void set_initial_sync_ended_for_type(ModelType type, bool value);
910 virtual void PurgeEntriesWithTypeIn(const std::set<ModelType>& types);
[all …]
Dnigori_util.cc87 ModelType type = entry.GetModelType(); in ProcessUnsyncedChangesForEncryption()
137 ModelType type = entry.GetModelType(); in VerifyUnsyncedChangesAreEncrypted()
151 ModelType type, in VerifyDataTypeEncryption()
Ddirectory_backing_store.h152 static ModelType ModelIdToModelTypeEnum(const void* data, int length);
153 static std::string ModelTypeEnumToModelId(ModelType model_type);
/external/chromium/chrome/browser/sync/notifier/
Dregistration_manager.h57 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;
Dregistration_manager.cc51 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 …]
Dregistration_manager_unittest.cc23 syncable::ModelType ObjectIdToModelType( in ObjectIdToModelType()
25 syncable::ModelType model_type = syncable::UNSPECIFIED; in ObjectIdToModelType()
63 void LoseRegistration(syncable::ModelType model_type) { in LoseRegistration()
77 syncable::ModelType model_type = ObjectIdToModelType(oid); in Register()
83 syncable::ModelType model_type = ObjectIdToModelType(oid); in Unregister()
103 const syncable::ModelType kModelTypes[] = {
Dinvalidation_util.h20 bool RealModelTypeToObjectId(syncable::ModelType model_type,
24 syncable::ModelType* model_type);
Dinvalidation_util.cc16 bool RealModelTypeToObjectId(syncable::ModelType model_type, in RealModelTypeToObjectId()
28 syncable::ModelType* model_type) { in ObjectIdToRealModelType()
Dchrome_invalidation_client.cc122 syncable::ModelType model_type; in Invalidate()
141 std::map<syncable::ModelType, int64>::const_iterator it = in Invalidate()
201 syncable::ModelType model_type; in RegistrationStateChanged()
/external/chromium/chrome/browser/sync/
Dabstract_profile_sync_service_test.h33 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_;
Dprofile_sync_service_harness.h109 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_;
Dprofile_sync_factory_impl_unittest.cc36 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()
Dabstract_profile_sync_service_test.cc31 using syncable::ModelType;
42 ModelType model_type) { in GetTagForType()
67 ModelType model_type, UserShare* user_share, in CreateRoot()
103 bool AbstractProfileSyncServiceTest::CreateRoot(ModelType model_type) { in CreateRoot()
111 AbstractProfileSyncServiceTest* test, ModelType model_type) in CreateRootTask()
Djs_sync_manager_observer.h28 syncable::ModelType model_type,
32 virtual void OnChangesComplete(syncable::ModelType model_type);
/external/webkit/Source/WebCore/platform/audio/
DDistance.h38 enum ModelType { enum
49 ModelType model() { return m_model; } in model()
51 void setModel(ModelType model, bool clamped) in setModel()
71 ModelType m_model;
/external/chromium/chrome/browser/sync/sessions/
Dordered_commit_set.h41 syncable::ModelType type);
59 syncable::ModelType GetModelTypeAt(const size_t position) const { in GetModelTypeAt()
91 syncable::ModelType group;
109 std::vector<syncable::ModelType> types_;
/external/chromium/chrome/browser/sync/engine/
Dsyncapi.h150 virtual bool InitByClientTagLookup(syncable::ModelType model_type,
178 syncable::ModelType GetModelType() const;
269 static std::string GenerateSyncableHash(syncable::ModelType model_type,
315 virtual bool InitByClientTagLookup(syncable::ModelType model_type,
324 bool InitByCreation(syncable::ModelType model_type,
334 bool InitUniqueByCreation(syncable::ModelType model_type,
421 void PutModelType(syncable::ModelType model_type);
486 virtual bool InitByClientTagLookup(syncable::ModelType model_type,
752 virtual void OnChangesApplied(syncable::ModelType model_type,
768 virtual void OnChangesComplete(syncable::ModelType model_type) = 0;
Dmodel_safe_worker.h69 typedef std::map<syncable::ModelType, ModelSafeGroup>
72 ModelSafeGroup GetGroupForModelType(const syncable::ModelType type,
Dsyncapi_unittest.cc55 using syncable::ModelType;
81 ModelType model_type, in MakeNode()
95 syncable::ModelType model_type, in MakeFolder()
109 ModelType model_type, in MakeNodeWithParent()
124 ModelType model_type, in MakeFolderWithParent()
140 ModelType model_type) { in MakeServerNodeForType()
414 ModelType expected_model_type = node.GetModelType(); in CheckNodeValue()
418 ModelType model_type = in CheckNodeValue()
608 void(ModelType,
612 MOCK_METHOD1(OnChangesComplete, void(ModelType)); // NOLINT
[all …]
/external/chromium/chrome/browser/sync/glue/
Ddata_type_controller.h59 typedef std::map<syncable::ModelType,
61 typedef std::map<syncable::ModelType, DataTypeController::State> StateMap;
78 virtual syncable::ModelType type() const = 0;
Dextension_sync_traits.h50 syncable::ModelType model_type,
61 const syncable::ModelType model_type;
Dsync_backend_host.h271 syncable::ModelType model_type,
275 virtual void OnChangesComplete(syncable::ModelType model_type);
431 ChangeProcessor* GetProcessor(syncable::ModelType modeltype);
495 bool IsCurrentThreadSafeForModel(syncable::ModelType model_type);
632 std::map<syncable::ModelType, ChangeProcessor*> processors_;
/external/chromium/chrome/browser/ui/toolbar/
Dback_forward_menu_model.h35 enum ModelType { enum
40 BackForwardMenuModel(Browser* browser, ModelType model_type);
184 ModelType model_type_;

12345