Home | History | Annotate | Download | only in syncable

Lines Matching refs:ModelType

30 enum ModelType {
77 typedef std::set<ModelType> ModelTypeSet;
79 inline ModelType ModelTypeFromInt(int i) {
82 return static_cast<ModelType>(i);
85 void AddDefaultExtensionValue(syncable::ModelType datatype,
88 // Extract the model type of a SyncEntity protocol buffer. ModelType is a
89 // local concept: the enum is not in the protocol. The SyncEntity's ModelType
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);
113 StringValue* ModelTypeToValue(ModelType model_type);
117 // Returns the ModelType corresponding to the name |model_type_string|.
118 ModelType ModelTypeFromString(const std::string& model_type_string);
136 std::string ModelTypeToRootTag(ModelType type);
140 void PostTimeToTypeHistogram(ModelType model_type, base::TimeDelta time);
146 bool RealModelTypeToNotificationType(ModelType model_type,
153 ModelType* model_type);