Searched defs:model_type (Results 1 - 25 of 53) sorted by relevance

123

/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 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 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 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 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.cc11 bool RealModelTypeToObjectId(ModelType model_type, argument
14 if (!RealModelTypeToNotificationType(model_type, &notification_type)) {
H A Dbookmark_model_associator.h39 static syncer::ModelType model_type() { return syncer::BOOKMARKS; } function in class:browser_sync::BookmarkModelAssociator
H A Dtyped_url_model_associator.h50 static syncer::ModelType model_type() { return syncer::TYPED_URLS; } function in class:browser_sync::TypedUrlModelAssociator
/external/chromium_org/sync/tools/
H A Dinvalidation_helper.cc11 bool RealModelTypeToObjectId(ModelType model_type, argument
14 if (!RealModelTypeToNotificationType(model_type, &notification_type)) {
/external/chromium_org/chrome/browser/themes/
H A Dtheme_syncable_service.h30 static syncer::ModelType model_type() { return syncer::THEMES; } function in class:ThemeSyncableService
/external/chromium_org/chrome/browser/webdata/
H A Dautocomplete_syncable_service.h65 static syncer::ModelType model_type() { return syncer::AUTOFILL; } function in class:AutocompleteSyncableService
/external/chromium_org/sync/internal_api/public/
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/internal_api/test/
H A Dtest_user_share.cc71 bool TestUserShare::CreateRoot(ModelType model_type, UserShare* user_share) { argument
74 CreateTypeRoot(&wtrans, directory, model_type);
/external/chromium_org/sync/syncable/
H A Dmodel_type_unittest.cc5 #include "sync/internal_api/public/base/model_type.h"
22 ModelType model_type = ModelTypeFromInt(i); local
23 base::ExpectStringValue(ModelTypeToString(model_type),
24 ModelTypeToValue(model_type));
34 ModelType model_type = ModelTypeFromInt(i); local
35 scoped_ptr<base::StringValue> value(ModelTypeToValue(model_type));
36 EXPECT_EQ(model_type, ModelTypeFromValue(*value));
H A Dsyncable_util.cc94 ModelType model_type, const std::string& client_tag) {
98 AddDefaultFieldValue(model_type, &serialized_type);
93 GenerateSyncableHash( ModelType model_type, const std::string& client_tag) argument
/external/chromium_org/components/sync_driver/
H A Dmodel_association_manager_unittest.cc32 syncer::ModelType model_type) {
34 controllers.find(model_type);
30 GetController( const DataTypeController::TypeMap& controllers, syncer::ModelType model_type) argument
/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.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/history/
H A Dtyped_url_syncable_service.h43 static syncer::ModelType model_type() { return syncer::TYPED_URLS; } function in class:history::TypedUrlSyncableService
/external/chromium_org/chrome/browser/sync/
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/components/autofill/core/browser/webdata/
H A Dautofill_profile_syncable_service.h69 static syncer::ModelType model_type() { return syncer::AUTOFILL_PROFILE; } function in class:autofill::AutofillProfileSyncableService
/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_merge_result.cc24 DCHECK(!error.IsSet() || model_type_ == error.model_type());
54 ModelType SyncMergeResult::model_type() const { function in class:syncer::SyncMergeResult
/external/chromium_org/sync/internal_api/public/sessions/
H A Dsync_session_snapshot.cc96 const std::string model_type = ModelTypeToString(static_cast<ModelType>(i)); local
97 counter_entries->Set(model_type, type_entries.release());

Completed in 473 milliseconds

123