Searched refs:model_type (Results 1 - 25 of 98) sorted by relevance

1234

/external/chromium_org/sync/internal_api/public/
H A Ddata_type_debug_info_listener.cc10 : model_type(UNSPECIFIED) {}
H A Ddata_type_debug_info_listener.h10 #include "sync/internal_api/public/base/model_type.h"
20 ModelType model_type; member in struct:syncer::DataTypeConfigurationStats
/external/chromium_org/sync/test/fake_server/
H A Dentity_builder.cc10 #include "sync/internal_api/public/base/model_type.h"
18 EntityBuilder::EntityBuilder(ModelType model_type, const string& name) argument
19 : id_(FakeServerEntity::CreateId(model_type, base::GenerateGUID())),
20 model_type_(model_type),
H A Dpermanent_entity.cc11 #include "sync/internal_api/public/base/model_type.h"
28 FakeServerEntity* PermanentEntity::Create(const ModelType& model_type, argument
32 CHECK(model_type != syncer::UNSPECIFIED) << "The entity's ModelType is "
41 string id = FakeServerEntity::CreateId(model_type, server_tag);
42 string parent_id = FakeServerEntity::CreateId(model_type, parent_server_tag);
44 AddDefaultFieldValue(model_type, &entity_specifics);
46 model_type,
54 FakeServerEntity* PermanentEntity::CreateTopLevel(const ModelType& model_type) { argument
55 CHECK(model_type != syncer::UNSPECIFIED) << "The entity's ModelType is "
57 string server_tag = syncer::ModelTypeToRootTag(model_type);
74 ModelType model_type = current_server_entity->GetModelType(); local
86 PermanentEntity(const string& id, const ModelType& model_type, const string& name, const string& parent_id, const string& server_defined_unique_tag, const sync_pb::EntitySpecifics& specifics) argument
[all...]
H A Dfake_server_entity.cc21 #include "sync/internal_api/public/base/model_type.h"
61 string FakeServerEntity::CreateId(const ModelType& model_type, argument
63 int field_number = GetSpecificsFieldNumberFromModelType(model_type);
71 std::string FakeServerEntity::GetTopLevelId(const ModelType& model_type) { argument
73 model_type,
74 syncer::ModelTypeToRootTag(model_type));
91 const ModelType& model_type,
94 : model_type_(model_type),
90 FakeServerEntity(const string& id, const ModelType& model_type, int64 version, const string& name) argument
H A Dfake_server_verifier.h12 #include "sync/internal_api/public/base/model_type.h"
31 // given |model_type|. A failure is returned if the count does not match or
35 syncer::ModelType model_type) const;
38 // given |model_type| and |name|. A failure is returned if the count does not
42 syncer::ModelType model_type,
H A Dfake_server_verifier.cc9 #include "sync/internal_api/public/base/model_type.h"
31 AssertionResult UnknownTypeAssertionFailure(const string& model_type) { argument
33 << model_type;
47 syncer::ModelType model_type) const {
54 string model_type_string = ModelTypeToString(model_type);
68 syncer::ModelType model_type,
76 string model_type_string = ModelTypeToString(model_type);
66 VerifyEntityCountByTypeAndName( size_t expected_count, syncer::ModelType model_type, const string& name) const argument
H A Dtombstone_entity.cc10 #include "sync/internal_api/public/base/model_type.h"
28 const ModelType& model_type)
29 : FakeServerEntity(id, model_type, 0, string()) { }
27 TombstoneEntity(const string& id, const ModelType& model_type) argument
H A Dentity_builder.h11 #include "sync/internal_api/public/base/model_type.h"
28 EntityBuilder(syncer::ModelType model_type, const std::string& name);
H A Dunique_client_entity.cc11 #include "sync/internal_api/public/base/model_type.h"
29 ModelType model_type = local
33 model_type,
52 const ModelType& model_type,
59 : FakeServerEntity(id, model_type, version, name),
50 UniqueClientEntity( const string& id, const ModelType& model_type, int64 version, const string& name, const string& client_defined_unique_tag, const sync_pb::EntitySpecifics& specifics, int64 creation_time, int64 last_modified_time) argument
/external/chromium_org/chrome/browser/sync/glue/
H A Dinvalidation_helper.h10 #include "sync/internal_api/public/base/model_type.h"
14 bool RealModelTypeToObjectId(ModelType model_type,
H A Dinvalidation_helper.cc11 bool RealModelTypeToObjectId(ModelType model_type, argument
14 if (!RealModelTypeToNotificationType(model_type, &notification_type)) {
/external/chromium_org/sync/tools/
H A Dinvalidation_helper.h10 #include "sync/internal_api/public/base/model_type.h"
14 bool RealModelTypeToObjectId(ModelType model_type,
H A Dinvalidation_helper.cc11 bool RealModelTypeToObjectId(ModelType model_type, argument
14 if (!RealModelTypeToNotificationType(model_type, &notification_type)) {
/external/chromium_org/sync/syncable/
H A Dmodel_type.cc5 #include "sync/internal_api/public/base/model_type.h"
137 int GetSpecificsFieldNumberFromModelType(ModelType model_type) { argument
138 DCHECK(ProtocolTypes().Has(model_type))
140 switch (model_type) {
363 bool IsUserSelectableType(ModelType model_type) { argument
364 return UserSelectableTypes().Has(model_type);
418 bool IsControlType(ModelType model_type) { argument
419 return ControlTypes().Has(model_type);
460 const char* ModelTypeToString(ModelType model_type) { argument
464 switch (model_type) {
540 ModelTypeToHistogramInt(ModelType model_type) argument
613 ModelTypeToValue(ModelType model_type) argument
869 RealModelTypeToNotificationType(ModelType model_type, std::string* notification_type) argument
966 NotificationTypeToRealModelType(const std::string& notification_type, ModelType* model_type) argument
1061 IsRealDataType(ModelType model_type) argument
1065 IsProxyType(ModelType model_type) argument
1069 IsActOnceDataType(ModelType model_type) argument
[all...]
H A Ddirectory_unittest.h49 void CreateEntry(const ModelType& model_type, const std::string& entryname);
52 void CreateEntry(const ModelType& model_type,
56 void CreateEntry(const ModelType& model_type,
61 const ModelType& model_type,
/external/chromium_org/chrome/browser/extensions/api/storage/
H A Dsettings_sync_unittest.cc240 syncer::SyncableService* GetSyncableService(syncer::ModelType model_type) { argument
244 return sync_cache->GetSyncableService(model_type);
250 syncer::ModelType model_type) {
252 GetSyncableService(model_type)->GetAllSyncData(model_type);
279 syncer::ModelType model_type = syncer::EXTENSION_SETTINGS; local
282 EXPECT_EQ(0u, GetAllSyncData(model_type).size());
286 EXPECT_EQ(0u, GetAllSyncData(model_type).size());
288 GetSyncableService(model_type)->MergeDataAndStartSyncing(
289 model_type,
249 GetAllSyncData( syncer::ModelType model_type) argument
304 syncer::ModelType model_type = syncer::APP_SETTINGS; local
355 syncer::ModelType model_type = syncer::EXTENSION_SETTINGS; local
387 syncer::ModelType model_type = syncer::APP_SETTINGS; local
428 syncer::ModelType model_type = syncer::EXTENSION_SETTINGS; local
502 syncer::ModelType model_type = syncer::APP_SETTINGS; local
701 syncer::ModelType model_type = syncer::EXTENSION_SETTINGS; local
901 syncer::ModelType model_type = syncer::APP_SETTINGS; local
999 syncer::ModelType model_type = syncer::EXTENSION_SETTINGS; local
1054 syncer::ModelType model_type = syncer::APP_SETTINGS; local
1158 syncer::ModelType model_type = syncer::EXTENSION_SETTINGS; local
1249 syncer::ModelType model_type = syncer::EXTENSION_SETTINGS; local
1347 syncer::ModelType model_type = syncer::APP_SETTINGS; local
1389 syncer::ModelType model_type = syncer::EXTENSION_SETTINGS; local
[all...]
/external/chromium_org/sync/api/
H A Dsync_error.cc11 #include "sync/internal_api/public/base/model_type.h"
22 ModelType model_type) {
24 Init(location, message, model_type, error_type);
47 other.model_type(),
63 ModelType model_type) {
64 Init(location, message, model_type, DATATYPE_ERROR);
70 ModelType model_type,
74 model_type_ = model_type;
93 ModelType SyncError::model_type() const { function in class:syncer::SyncError
19 SyncError(const tracked_objects::Location& location, ErrorType error_type, const std::string& message, ModelType model_type) argument
61 Reset(const tracked_objects::Location& location, const std::string& message, ModelType model_type) argument
68 Init(const tracked_objects::Location& location, const std::string& message, ModelType model_type, ErrorType error_type) argument
H A Dsync_error.h13 #include "sync/internal_api/public/base/model_type.h"
58 // Create a new Sync error of type |error_type| triggered by |model_type|
64 ModelType model_type);
86 ModelType model_type() const;
108 ModelType model_type,
/external/chromium_org/sync/internal_api/public/base/
H A Dmodel_type.h140 // sync/syncable/model_type.cc.
184 SYNC_EXPORT bool IsUserSelectableType(ModelType model_type);
213 SYNC_EXPORT bool IsControlType(ModelType model_type);
235 // ModelType model_type =
237 // if (!IsRealDataType(model_type)) {
241 // model_types.Put(model_type);
251 ModelType model_type);
258 // the name of |model_type|.
259 SYNC_EXPORT const char* ModelTypeToString(ModelType model_type);
264 SYNC_EXPORT int ModelTypeToHistogramInt(ModelType model_type);
[all...]
/external/chromium_org/sync/internal_api/
H A Dread_node.cc48 ModelType model_type = GetModelType();
49 LOG_IF(WARNING, model_type == UNSPECIFIED || model_type == TOP_LEVEL_FOLDER)
55 ModelType model_type,
61 const std::string hash = syncable::GenerateSyncableHash(model_type, tag);
91 ModelType model_type = GetModelType();
92 DCHECK_EQ(model_type, BOOKMARKS)
54 InitByClientTagLookup( ModelType model_type, const std::string& tag) argument
H A Djs_mutation_event_observer.h47 ModelType model_type,
50 virtual void OnChangesComplete(ModelType model_type) OVERRIDE;
H A Djs_mutation_event_observer.cc47 ModelType model_type,
54 details.SetString("modelType", ModelTypeToString(model_type));
75 void JsMutationEventObserver::OnChangesComplete(ModelType model_type) { argument
80 details.SetString("modelType", ModelTypeToString(model_type));
46 OnChangesApplied( ModelType model_type, int64 write_transaction_id, const ImmutableChangeRecordList& changes) argument
/external/chromium_org/chrome/browser/sync/
H A Dabstract_profile_sync_service_test.h16 #include "sync/internal_api/public/base/model_type.h"
48 bool CreateRoot(syncer::ModelType model_type);
58 syncer::ModelType model_type);
H A Dabstract_profile_sync_service_test.cc64 bool AbstractProfileSyncServiceTest::CreateRoot(ModelType model_type) { argument
65 return syncer::TestUserShare::CreateRoot(model_type,
70 ModelType model_type)
74 model_type_(model_type),
69 CreateRootHelper(AbstractProfileSyncServiceTest* test, ModelType model_type) argument

Completed in 901 milliseconds

1234