Home
last modified time | relevance | path

Searched refs:ModelTypeSet (Results 1 – 25 of 67) sorted by relevance

123

/external/chromium/chrome/browser/sync/notifier/
Dregistration_manager_unittest.cc93 const syncable::ModelTypeSet GetRegisteredTypes() const { in GetRegisteredTypes()
98 syncable::ModelTypeSet registered_types_;
113 const syncable::ModelTypeSet& expected_pending_types, in ExpectPendingRegistrations()
116 syncable::ModelTypeSet pending_types; in ExpectPendingRegistrations()
149 void LoseRegistrations(const syncable::ModelTypeSet& types) { in LoseRegistrations()
150 for (syncable::ModelTypeSet::const_iterator it = types.begin(); in LoseRegistrations()
160 syncable::ModelTypeSet types(kModelTypes, kModelTypes + kModelTypeCount); in RunBackoffTest()
164 syncable::ModelTypeSet lost_types(kModelTypes, kModelTypes + 2); in RunBackoffTest()
220 syncable::ModelTypeSet no_types; in TEST_F()
221 syncable::ModelTypeSet types(kModelTypes, kModelTypes + kModelTypeCount); in TEST_F()
[all …]
Dchrome_invalidation_client_unittest.cc115 syncable::ModelTypePayloadMap MakeMapFromSet(syncable::ModelTypeSet types, in MakeMapFromSet()
118 for (syncable::ModelTypeSet::const_iterator it = types.begin(); in MakeMapFromSet()
128 syncable::ModelTypeSet types; in TEST_F()
176 syncable::ModelTypeSet types; in TEST_F()
218 syncable::ModelTypeSet types; in TEST_F()
227 syncable::ModelTypeSet types; in TEST_F()
Dchrome_invalidation_client.h75 void RegisterTypes(const syncable::ModelTypeSet& types);
98 const syncable::ModelTypeSet& types, const std::string& payload);
113 syncable::ModelTypeSet registered_types_;
Dp2p_notifier.h45 virtual void UpdateEnabledTypes(const syncable::ModelTypeSet& types);
70 syncable::ModelTypeSet enabled_types_;
Dregistration_manager.h68 void SetRegisteredTypes(const syncable::ModelTypeSet& types);
80 syncable::ModelTypeSet GetRegisteredTypes() const;
Dnon_blocking_invalidation_notifier.cc34 void UpdateEnabledTypes(const syncable::ModelTypeSet& types);
107 const syncable::ModelTypeSet& types) { in UpdateEnabledTypes()
191 const syncable::ModelTypeSet& types) { in UpdateEnabledTypes()
Dchrome_invalidation_client.cc107 const syncable::ModelTypeSet& types) { in RegisterTypes()
157 syncable::ModelTypeSet types; in Invalidate()
179 const syncable::ModelTypeSet& types, const std::string& payload) { in EmitInvalidation()
/external/chromium/chrome/browser/sync/
Dbackend_migrator_unittest.cc43 ReturnNonEmptyProgressMarkersInSnapshot(syncable::ModelTypeSet()); in ReturnEmptyProgressMarkersInSnapshot()
47 const syncable::ModelTypeSet& for_types) { in ReturnNonEmptyProgressMarkersInSnapshot()
49 for (syncable::ModelTypeSet::const_iterator it = for_types.begin(); in ReturnNonEmptyProgressMarkersInSnapshot()
62 const syncable::ModelTypeSet& types) { in SendConfigureDone()
74 const syncable::ModelTypeSet& preferred_types() { return preferred_types_; } in preferred_types()
83 syncable::ModelTypeSet preferred_types_;
92 syncable::ModelTypeSet to_migrate, difference; in TEST_F()
120 syncable::ModelTypeSet to_migrate; in TEST_F()
133 SendConfigureDone(DataTypeManager::OK, syncable::ModelTypeSet()); in TEST_F()
142 syncable::ModelTypeSet to_migrate1, to_migrate2, bookmarks; in TEST_F()
[all …]
Dbackend_migrator.cc17 using syncable::ModelTypeSet;
41 void BackendMigrator::MigrateTypes(const syncable::ModelTypeSet& types) { in MigrateTypes()
43 ModelTypeSet temp; in MigrateTypes()
64 ModelTypeSet full_set; in MigrateTypes()
66 ModelTypeSet difference; in MigrateTypes()
88 for (ModelTypeSet::const_iterator it = to_migrate_.begin(); in OnStateChanged()
98 ModelTypeSet full_set; in OnStateChanged()
117 ModelTypeSet intersection; in Observe()
Dprofile_sync_service.h200 const syncable::ModelTypeSet& encrypted_types);
202 const syncable::ModelTypeSet& types);
219 const syncable::ModelTypeSet& chosen_types);
401 const syncable::ModelTypeSet& preferred_types);
407 syncable::ModelTypeSet* preferred_types) const;
414 syncable::ModelTypeSet* registered_types) const;
447 const syncable::ModelTypeSet& encrypted_types);
451 syncable::ModelTypeSet* encrypted_types) const;
643 syncable::ModelTypeSet encrypted_types_;
Dprofile_sync_service_harness.cc129 syncable::ModelTypeSet synced_datatypes; in SetupSync()
138 const syncable::ModelTypeSet& synced_datatypes) { in SetupSync()
463 syncable::ModelTypeSet types, other_types, intersection_types; in MatchesOtherClient()
470 for (syncable::ModelTypeSet::iterator i = intersection_types.begin(); in MatchesOtherClient()
493 syncable::ModelTypeSet synced_datatypes; in EnableSyncForDatatype()
502 syncable::ModelTypeSet::iterator it = synced_datatypes.find( in EnableSyncForDatatype()
521 syncable::ModelTypeSet synced_datatypes; in DisableSyncForDatatype()
524 syncable::ModelTypeSet::iterator it = synced_datatypes.find(datatype); in DisableSyncForDatatype()
543 syncable::ModelTypeSet synced_datatypes; in EnableSyncForAllDatatypes()
604 syncable::ModelTypeSet encrypted_types; in EnableEncryptionForType()
[all …]
Dprofile_sync_service_mock.h51 void(const syncable::ModelTypeSet& preferred_types));
53 void(syncable::ModelTypeSet* preferred_types));
55 void(syncable::ModelTypeSet* registered_types));
Dprofile_sync_service.cc310 syncable::ModelTypeSet types; in InitializeBackend()
648 syncable::ModelTypeSet types; in OnPassphraseAccepted()
662 const syncable::ModelTypeSet& encrypted_types) { in OnEncryptionComplete()
670 const syncable::ModelTypeSet& types) { in OnMigrationNeededForTypes()
845 const syncable::ModelTypeSet& chosen_types) { in OnUserChoseDatatypes()
880 const syncable::ModelTypeSet& preferred_types) { in ChangePreferredDataTypes()
884 syncable::ModelTypeSet registered_types; in ChangePreferredDataTypes()
908 syncable::ModelTypeSet* preferred_types) const { in GetPreferredDataTypes()
915 syncable::ModelTypeSet registered_types; in GetPreferredDataTypes()
942 syncable::ModelTypeSet* registered_types) const { in GetRegisteredDataTypes()
[all …]
Dbackend_migrator.h40 void MigrateTypes(const syncable::ModelTypeSet& types);
60 syncable::ModelTypeSet to_migrate_;
Djs_sync_manager_observer.h41 const syncable::ModelTypeSet& encrypted_types);
46 virtual void OnMigrationNeededForTypes(const syncable::ModelTypeSet& types);
/external/chromium/chrome/browser/sync/syncable/
Dnigori_util.h27 ModelTypeSet GetEncryptedDataTypes(BaseTransaction* const trans);
30 ModelTypeSet GetEncryptedDataTypesFromNigori(
34 void FillNigoriEncryptedTypes(const ModelTypeSet& types,
45 const ModelTypeSet& encrypted_types);
51 const syncable::ModelTypeSet& encrypted_types,
Dnigori_util.cc17 ModelTypeSet GetEncryptedDataTypes(BaseTransaction* const trans) { in GetEncryptedDataTypes()
22 return ModelTypeSet(); in GetEncryptedDataTypes()
28 return ModelTypeSet(); in GetEncryptedDataTypes()
35 ModelTypeSet GetEncryptedDataTypesFromNigori( in GetEncryptedDataTypesFromNigori()
38 ModelTypeSet encrypted_types; in GetEncryptedDataTypesFromNigori()
60 void FillNigoriEncryptedTypes(const ModelTypeSet& types, in FillNigoriEncryptedTypes()
76 const ModelTypeSet& encrypted_types, in ProcessUnsyncedChangesForEncryption()
127 const ModelTypeSet& encrypted_types) { in VerifyUnsyncedChangesAreEncrypted()
Dmodel_type.h77 typedef std::set<ModelType> ModelTypeSet; typedef
115 std::string ModelTypeSetToString(const ModelTypeSet& model_types);
127 ModelTypeBitSet ModelTypeBitSetFromSet(const ModelTypeSet& set);
133 ListValue* ModelTypeSetToValue(const ModelTypeSet& model_types);
Dmodel_type.cc230 std::string ModelTypeSetToString(const ModelTypeSet& model_types) { in ModelTypeSetToString()
232 for (ModelTypeSet::const_iterator iter = model_types.begin(); in ModelTypeSetToString()
282 ModelTypeBitSet ModelTypeBitSetFromSet(const ModelTypeSet& set) { in ModelTypeBitSetFromSet()
284 for (ModelTypeSet::const_iterator iter = set.begin(); iter != set.end(); in ModelTypeBitSetFromSet()
302 ListValue* ModelTypeSetToValue(const ModelTypeSet& model_types) { in ModelTypeSetToValue()
304 for (ModelTypeSet::const_iterator i = model_types.begin(); in ModelTypeSetToValue()
Dnigori_util_unittest.cc14 ModelTypeSet encrypted_types; in TEST_F()
16 ModelTypeSet test_types = GetEncryptedDataTypesFromNigori(nigori); in TEST_F()
/external/chromium/chrome/browser/sync/glue/
Dsync_backend_host_unittest.cc41 MOCK_METHOD1(OnEncryptionComplete, void(const syncable::ModelTypeSet&));
42 MOCK_METHOD1(OnMigrationNeededForTypes, void(const syncable::ModelTypeSet&));
75 syncable::ModelTypeSet(), in TEST_F()
96 syncable::ModelTypeSet types; in TEST_F()
113 syncable::ModelTypeSet types; in TEST_F()
130 syncable::ModelTypeSet types; in TEST_F()
154 syncable::ModelTypeSet types; in TEST_F()
175 syncable::ModelTypeSet types; in TEST_F()
Dsync_backend_host.h96 const syncable::ModelTypeSet& encrypted_types) = 0;
100 const syncable::ModelTypeSet& types) = 0;
136 const syncable::ModelTypeSet& types,
168 const syncable::ModelTypeSet& types,
180 const syncable::ModelTypeSet& encrypted_types);
288 const syncable::ModelTypeSet& encrypted_types);
366 void DoEncryptDataTypes(const syncable::ModelTypeSet& encrypted_types);
470 void NotifyEncryptionComplete(const syncable::ModelTypeSet&
572 syncable::ModelTypeSet initial_types;
587 const syncable::ModelTypeSet& types,
/external/chromium/chrome/browser/sync/engine/
Dcleanup_disabled_types_command_unittest.cc38 const syncable::ModelTypeSet& all_types() { return all_types_; } in all_types()
41 syncable::ModelTypeSet all_types_;
47 syncable::ModelTypeSet expected(all_types()); in TEST_F()
68 syncable::ModelTypeSet expected; in TEST_F()
Ddownload_updates_command_unittest.cc32 virtual void SetRoutingInfo(const syncable::ModelTypeSet& types) { in SetRoutingInfo()
33 for (syncable::ModelTypeSet::const_iterator iter = types.begin(); in SetRoutingInfo()
109 syncable::ModelTypeSet types; in TEST_F()
121 syncable::ModelTypeSet types; in TEST_F()
/external/chromium/chrome/browser/extensions/
Dextension_webstore_private_browsertest.cc46 virtual void ChangePreferredDataTypes(const syncable::ModelTypeSet& types) { in ChangePreferredDataTypes()
49 virtual void GetPreferredDataTypes(syncable::ModelTypeSet* types) const { in GetPreferredDataTypes()
58 syncable::ModelTypeSet types_;

123