/external/chromium/chrome/browser/sync/notifier/ |
H A D | registration_manager.cc | 13 #include "chrome/browser/sync/syncable/model_type.h" 20 : model_type(syncable::UNSPECIFIED), 27 DCHECK_NE(model_type, syncable::UNSPECIFIED); 33 registration_manager->DoRegisterType(model_type); 51 syncable::ModelType model_type = syncable::ModelTypeFromInt(i); local 52 RegistrationStatus* status = ®istration_statuses_[model_type]; 53 status->model_type = model_type; 68 syncable::ModelType model_type = syncable::ModelTypeFromInt(i); local 69 if (types.count(model_type) > 81 MarkRegistrationLost( syncable::ModelType model_type) argument 93 syncable::ModelType model_type = syncable::ModelTypeFromInt(i); local 105 syncable::ModelType model_type = syncable::ModelTypeFromInt(i); local 119 syncable::ModelType model_type = syncable::ModelTypeFromInt(i); local 138 syncable::ModelType model_type = syncable::ModelTypeFromInt(i); local 173 TryRegisterType(syncable::ModelType model_type, bool is_retry) argument 217 DoRegisterType(syncable::ModelType model_type) argument 230 UnregisterType(syncable::ModelType model_type) argument [all...] |
H A D | registration_manager.h | 18 #include "chrome/browser/sync/syncable/model_type.h" 70 // Marks the registration for the |model_type| lost and re-registers 72 void MarkRegistrationLost(syncable::ModelType model_type); 107 // Calls registration_manager->DoRegister(model_type). (needed by 112 syncable::ModelType model_type; member in struct:sync_notifier::RegistrationManager::RegistrationStatus 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;
|
H A D | invalidation_util.h | 13 #include "chrome/browser/sync/syncable/model_type.h" 20 bool RealModelTypeToObjectId(syncable::ModelType model_type, 24 syncable::ModelType* model_type);
|
H A D | invalidation_util.cc | 16 bool RealModelTypeToObjectId(syncable::ModelType model_type, argument 20 model_type, ¬ification_type)) { 28 syncable::ModelType* model_type) { 31 object_id.name(), model_type); 27 ObjectIdToRealModelType(const invalidation::ObjectId& object_id, syncable::ModelType* model_type) argument
|
H A D | registration_manager_unittest.cc | 16 #include "chrome/browser/sync/syncable/model_type.h" 25 syncable::ModelType model_type = syncable::UNSPECIFIED; local 26 EXPECT_TRUE(ObjectIdToRealModelType(object_id, &model_type)); 27 return model_type; 63 void LoseRegistration(syncable::ModelType model_type) { argument 64 EXPECT_GT(registered_types_.count(model_type), 0u); 65 registered_types_.erase(model_type); 77 syncable::ModelType model_type = ObjectIdToModelType(oid); local 78 EXPECT_EQ(0u, registered_types_.count(model_type)); 79 registered_types_.insert(model_type); 83 syncable::ModelType model_type = ObjectIdToModelType(oid); local [all...] |
H A D | chrome_invalidation_client.cc | 15 #include "chrome/browser/sync/syncable/model_type.h" 122 syncable::ModelType model_type; local 123 if (!ObjectIdToRealModelType(invalidation.object_id(), &model_type)) { 142 max_invalidation_versions_.find(model_type); 149 max_invalidation_versions_[model_type] = invalidation.version(); 158 types.insert(model_type); 201 syncable::ModelType model_type; local 202 if (!ObjectIdToRealModelType(object_id, &model_type)) { 210 registration_manager_->MarkRegistrationLost(model_type);
|
/external/chromium/chrome/browser/sync/engine/ |
H A D | cleanup_disabled_types_command.cc | 10 #include "chrome/browser/sync/syncable/model_type.h" 22 syncable::ModelType model_type = syncable::ModelTypeFromInt(i); local 24 if (session->routing_info().count(model_type)) 45 if (previous_routing.empty() || previous_routing.count(model_type)) 46 to_cleanup.insert(model_type);
|
H A D | read_node_mock.h | 20 bool(syncable::ModelType model_type, const std::string& tag));
|
H A D | apply_updates_command.cc | 53 syncable::ModelType model_type = syncable::ModelTypeFromInt(i); local 56 dir->set_initial_sync_ended_for_type(model_type, true);
|
H A D | syncapi.h | 53 #include "chrome/browser/sync/syncable/model_type.h" 150 virtual bool InitByClientTagLookup(syncable::ModelType model_type, 269 static std::string GenerateSyncableHash(syncable::ModelType model_type, 315 virtual bool InitByClientTagLookup(syncable::ModelType model_type, 318 // Create a new node with the specified parent and predecessor. |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, 734 // is restricted to items of the ModelType indicated by |model_type| [all...] |
H A D | download_updates_command.cc | 50 syncable::ModelType model_type = syncable::ModelTypeFromInt(i->first); local 54 dir->GetDownloadProgress(model_type, progress_marker);
|
H A D | process_updates_command.cc | 80 const syncable::ModelType model_type = entry.GetModelType(); local 87 model_type);
|
H A D | verify_updates_command.cc | 85 const syncable::ModelType model_type = entry.GetModelType(); local 119 deleted, is_directory, model_type);
|
/external/chromium/chrome/browser/sync/syncable/ |
H A D | model_type.cc | 5 #include "chrome/browser/sync/syncable/model_type.h" 67 ModelType model_type = ModelTypeFromInt(i); local 68 if (GetExtensionFieldNumberFromModelType(model_type) == field_number) 69 return model_type; 75 int GetExtensionFieldNumberFromModelType(ModelType model_type) { argument 76 switch (model_type) { 187 std::string ModelTypeToString(ModelType model_type) { argument 188 switch (model_type) { 218 StringValue* ModelTypeToValue(ModelType model_type) { argument 219 if (model_type > 350 PostTimeToTypeHistogram(ModelType model_type, base::TimeDelta time) argument 419 RealModelTypeToNotificationType(ModelType model_type, std::string* notification_type) argument 462 NotificationTypeToRealModelType(const std::string& notification_type, ModelType* model_type) argument [all...] |
H A D | model_type.h | 105 int GetExtensionFieldNumberFromModelType(ModelType model_type); 107 // Returns a string that represents the name of |model_type|. 108 std::string ModelTypeToString(ModelType model_type); 113 StringValue* ModelTypeToValue(ModelType model_type); 140 void PostTimeToTypeHistogram(ModelType model_type, base::TimeDelta time); 144 // |model_type| was a real model type and |notification_type| was 146 bool RealModelTypeToNotificationType(ModelType model_type, 151 // type and |model_type| was filled in. 153 ModelType* model_type);
|
H A D | model_type_unittest.cc | 5 #include "chrome/browser/sync/syncable/model_type.h" 32 ModelType model_type = ModelTypeFromInt(i); local 33 ExpectStringValue(ModelTypeToString(model_type), 34 ModelTypeToValue(model_type));
|
/external/chromium/chrome/browser/sync/ |
H A D | abstract_profile_sync_service_test.cc | 42 ModelType model_type) { 43 switch (model_type) { 67 ModelType model_type, UserShare* user_share, 75 std::string tag_name = GetTagForType(model_type); 92 syncable::AddDefaultExtensionValue(model_type, &specifics); 103 bool AbstractProfileSyncServiceTest::CreateRoot(ModelType model_type) { argument 105 model_type, 111 AbstractProfileSyncServiceTest* test, ModelType model_type) 112 : test_(test), model_type_(model_type), success_(false) { 41 GetTagForType( ModelType model_type) argument 66 CreateRoot( ModelType model_type, UserShare* user_share, TestIdFactory* ids) argument 110 CreateRootTask( AbstractProfileSyncServiceTest* test, ModelType model_type) argument
|
H A D | abstract_profile_sync_service_test.h | 16 #include "chrome/browser/sync/syncable/model_type.h" 33 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);
|
H A D | js_sync_manager_observer.cc | 14 #include "chrome/browser/sync/syncable/model_type.h" 26 syncable::ModelType model_type, 32 syncable::ModelTypeToString(model_type))); 43 syncable::ModelType model_type) { 46 syncable::ModelTypeToString(model_type))); 25 OnChangesApplied( syncable::ModelType model_type, const sync_api::BaseTransaction* trans, const sync_api::SyncManager::ChangeRecord* changes, int change_count) argument 42 OnChangesComplete( syncable::ModelType model_type) argument
|
H A D | js_sync_manager_observer.h | 28 syncable::ModelType model_type, 32 virtual void OnChangesComplete(syncable::ModelType model_type);
|
/external/chromium/chrome/browser/sync/glue/ |
H A D | extension_sync_traits.h | 9 #include "chrome/browser/sync/syncable/model_type.h" 50 syncable::ModelType model_type, 61 const syncable::ModelType model_type; member in struct:browser_sync::ExtensionSyncTraits
|
H A D | theme_model_associator.h | 11 #include "chrome/browser/sync/syncable/model_type.h" 27 static syncable::ModelType model_type() { return syncable::THEMES; } function in class:browser_sync::ThemeModelAssociator
|
H A D | extension_model_associator.h | 12 #include "chrome/browser/sync/syncable/model_type.h" 33 static syncable::ModelType model_type() { return syncable::EXTENSIONS; } function in class:browser_sync::ExtensionModelAssociator
|
H A D | extension_sync_traits.cc | 18 syncable::ModelType model_type, 26 : model_type(model_type), 17 ExtensionSyncTraits( syncable::ModelType model_type, IsValidAndSyncablePredicate is_valid_and_syncable, ShouldHandleExtensionUninstallPredicate should_handle_extension_uninstall, const char* root_node_tag, ExtensionSpecificsGetter extension_specifics_getter, ExtensionSpecificsSetter extension_specifics_setter, ExtensionSpecificsEntityGetter extension_specifics_entity_getter) argument
|
H A D | extension_model_associator.cc | 65 return encrypted_types.count(traits_.model_type) == 0 ||
|