Searched refs:model_type (Results 1 - 25 of 87) 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_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 Dentity_builder.h11 #include "sync/internal_api/public/base/model_type.h"
28 EntityBuilder(syncer::ModelType model_type, const std::string& name);
H A Dfake_server_entity.cc21 #include "sync/internal_api/public/base/model_type.h"
57 string FakeServerEntity::CreateId(const ModelType& model_type, argument
59 int field_number = GetSpecificsFieldNumberFromModelType(model_type);
80 const ModelType& model_type,
84 model_type_(model_type),
79 FakeServerEntity(const string& id, const ModelType& model_type, int64 version, const string& name) argument
H A Dunique_client_entity.cc11 #include "sync/internal_api/public/base/model_type.h"
28 ModelType model_type = local
31 FakeServerEntity::CreateId(model_type, base::GenerateGUID()) :
34 model_type,
61 const ModelType& model_type,
69 : FakeServerEntity(id, model_type, version, name),
59 UniqueClientEntity( const string& id, const ModelType& model_type, int64 version, const string& name, const string& parent_id, const string& client_defined_unique_tag, const sync_pb::EntitySpecifics& specifics, int64 creation_time, int64 last_modified_time) argument
H A Dfake_server_entity.h12 #include "sync/internal_api/public/base/model_type.h"
21 // <type> is the EntitySpecifics field number for |model_type|, <separator>
26 static std::string CreateId(const syncer::ModelType& model_type,
48 const syncer::ModelType& model_type,
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 Dtombstone_entity.h11 #include "sync/internal_api/public/base/model_type.h"
32 TombstoneEntity(const std::string& id, const syncer::ModelType& model_type);
H A Dpermanent_entity.h11 #include "sync/internal_api/public/base/model_type.h"
24 static FakeServerEntity* Create(const syncer::ModelType& model_type,
31 static FakeServerEntity* CreateTopLevel(const syncer::ModelType& model_type);
47 const syncer::ModelType& model_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);
415 bool IsControlType(ModelType model_type) { argument
416 return ControlTypes().Has(model_type);
456 const char* ModelTypeToString(ModelType model_type) { argument
460 switch (model_type) {
536 ModelTypeToHistogramInt(ModelType model_type) argument
609 ModelTypeToValue(ModelType model_type) argument
865 RealModelTypeToNotificationType(ModelType model_type, std::string* notification_type) argument
962 NotificationTypeToRealModelType(const std::string& notification_type, ModelType* model_type) argument
1057 IsRealDataType(ModelType model_type) argument
1061 IsProxyType(ModelType model_type) argument
1065 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.cc232 syncer::SyncableService* GetSyncableService(syncer::ModelType model_type) { argument
236 return sync_cache->GetSyncableService(model_type);
242 syncer::ModelType model_type) {
244 GetSyncableService(model_type)->GetAllSyncData(model_type);
271 syncer::ModelType model_type = syncer::EXTENSION_SETTINGS; local
274 EXPECT_EQ(0u, GetAllSyncData(model_type).size());
278 EXPECT_EQ(0u, GetAllSyncData(model_type).size());
280 GetSyncableService(model_type)->MergeDataAndStartSyncing(
281 model_type,
241 GetAllSyncData( syncer::ModelType model_type) argument
296 syncer::ModelType model_type = syncer::APP_SETTINGS; local
347 syncer::ModelType model_type = syncer::EXTENSION_SETTINGS; local
379 syncer::ModelType model_type = syncer::APP_SETTINGS; local
420 syncer::ModelType model_type = syncer::EXTENSION_SETTINGS; local
494 syncer::ModelType model_type = syncer::APP_SETTINGS; local
693 syncer::ModelType model_type = syncer::EXTENSION_SETTINGS; local
893 syncer::ModelType model_type = syncer::APP_SETTINGS; local
991 syncer::ModelType model_type = syncer::EXTENSION_SETTINGS; local
1046 syncer::ModelType model_type = syncer::APP_SETTINGS; local
1150 syncer::ModelType model_type = syncer::EXTENSION_SETTINGS; local
1241 syncer::ModelType model_type = syncer::EXTENSION_SETTINGS; local
1339 syncer::ModelType model_type = syncer::APP_SETTINGS; local
1381 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) {
44 Init(location, type_message + custom_message, model_type, error_type);
67 other.model_type(),
83 ModelType model_type) {
84 Init(location, message, model_type, DATATYPE_ERROR);
90 ModelType model_type,
94 model_type_ = model_type;
113 ModelType SyncError::model_type() const { function in class:syncer::SyncError
19 SyncError(const tracked_objects::Location& location, ErrorType error_type, const std::string& custom_message, ModelType model_type) argument
81 Reset(const tracked_objects::Location& location, const std::string& message, ModelType model_type) argument
88 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"
48 // Create a new Sync error of type |error_type| triggered by |model_type|
54 ModelType model_type);
76 ModelType model_type() const;
93 ModelType model_type,
/external/chromium_org/sync/internal_api/public/base/
H A Dmodel_type.h143 // sync/syncable/model_type.cc.
188 SYNC_EXPORT bool IsUserSelectableType(ModelType model_type);
217 SYNC_EXPORT bool IsControlType(ModelType model_type);
239 // ModelType model_type =
241 // if (!IsRealDataType(model_type)) {
245 // model_types.Put(model_type);
255 ModelType model_type);
262 // the name of |model_type|.
263 SYNC_EXPORT const char* ModelTypeToString(ModelType model_type);
268 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));
76 void JsMutationEventObserver::OnChangesComplete(ModelType model_type) { argument
81 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
/external/chromium_org/sync/internal_api/public/test/
H A Dtest_entry_factory.h11 #include "sync/internal_api/public/base/model_type.h"
51 ModelType model_type,
62 ModelType model_type, bool is_folder);
67 int64 CreateUnappliedRootNode(ModelType model_type);

Completed in 737 milliseconds

1234