HomeSort by relevance Sort by last modified time
    Searched refs:model_type (Results 1 - 25 of 56) sorted by null

1 2 3

  /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 = &registration_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...]
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;
invalidation_util.h 13 #include "chrome/browser/sync/syncable/model_type.h"
20 bool RealModelTypeToObjectId(syncable::ModelType model_type,
24 syncable::ModelType* model_type);
invalidation_util.cc 16 bool RealModelTypeToObjectId(syncable::ModelType model_type,
20 model_type, &notification_type)) {
28 syncable::ModelType* model_type) {
31 object_id.name(), 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);
  /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)));
  /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));
apply_updates_command.cc 53 syncable::ModelType model_type = syncable::ModelTypeFromInt(i); local
56 dir->set_initial_sync_ended_for_type(model_type, true);
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...]
download_updates_command.cc 50 syncable::ModelType model_type = syncable::ModelTypeFromInt(i->first); local
54 dir->GetDownloadProgress(model_type, progress_marker);
process_updates_command.cc 80 const syncable::ModelType model_type = entry.GetModelType(); local
87 model_type);
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/
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));
  /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_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_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.cc 18 syncable::ModelType model_type,
26 : model_type(model_type),
bookmark_model_associator.h 39 static syncable::ModelType model_type() { return syncable::BOOKMARKS; } function in class:browser_sync::BookmarkModelAssociator

Completed in 448 milliseconds

1 2 3