/external/chromium/chrome/browser/sync/notifier/ |
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) > 0) 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 [all...] |
invalidation_util.h | 13 #include "chrome/browser/sync/syncable/model_type.h" 20 bool RealModelTypeToObjectId(syncable::ModelType model_type, 24 syncable::ModelType* model_type);
|
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) { 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...] |
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);
|
invalidation_util.cc | 16 bool RealModelTypeToObjectId(syncable::ModelType model_type, 20 model_type, ¬ification_type)) { 28 syncable::ModelType* model_type) { 31 object_id.name(), model_type);
|
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;
|
/external/chromium/chrome/browser/sync/ |
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);
|
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) { 105 model_type, 111 AbstractProfileSyncServiceTest* test, ModelType model_type) 112 : test_(test), model_type_(model_type), success_(false) {
|
js_sync_manager_observer.h | 28 syncable::ModelType model_type, 32 virtual void OnChangesComplete(syncable::ModelType model_type);
|
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)));
|
backend_migrator.h | 10 #include "chrome/browser/sync/syncable/model_type.h"
|
js_sync_manager_observer_unittest.cc | 15 #include "chrome/browser/sync/syncable/model_type.h" 195 int64 MakeNode(sync_api::UserShare* share, syncable::ModelType model_type) { 201 model_type, root_node, 202 syncable::ModelTypeToString(model_type)));
|
/external/chromium/chrome/browser/sync/syncable/ |
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) { 76 switch (model_type) { 187 std::string ModelTypeToString(ModelType model_type) { 188 switch (model_type) { 218 StringValue* ModelTypeToValue(ModelType model_type) { 219 if (model_type >= syncable::FIRST_REAL_MODEL_TYPE) [all...] |
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);
|
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));
|
directory_change_listener.h | 9 #include "chrome/browser/sync/syncable/model_type.h"
|
/external/chromium/chrome/browser/sync/engine/ |
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);
|
read_node_mock.h | 20 bool(syncable::ModelType model_type, const std::string& tag));
|
clear_data_command.h | 12 #include "chrome/browser/sync/syncable/model_type.h"
|
mock_model_safe_workers.h | 13 #include "chrome/browser/sync/syncable/model_type.h"
|
apply_updates_command.cc | 53 syncable::ModelType model_type = syncable::ModelTypeFromInt(i); local 56 dir->set_initial_sync_ended_for_type(model_type, true);
|
/external/chromium/chrome/browser/sync/glue/ |
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
|
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
|
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
|
extension_sync_traits.cc | 18 syncable::ModelType model_type, 26 : model_type(model_type),
|