Home
last modified time | relevance | path

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

12345678

/external/chromium_org/components/sync_driver/
Ddata_type_manager_impl_unittest.cc23 using syncer::ModelTypeSet;
43 syncer::ModelTypeSet AddHighPriorityTypesTo(syncer::ModelTypeSet types) { in AddHighPriorityTypesTo()
44 syncer::ModelTypeSet result = syncer::ControlTypes(); in AddHighPriorityTypesTo()
59 const base::Callback<void(ModelTypeSet, in ConfigureDataTypes() argument
60 ModelTypeSet)>& ready_task, in ConfigureDataTypes()
84 base::Callback<void(ModelTypeSet, ModelTypeSet)> last_ready_task() const { in last_ready_task()
88 void set_expected_configure_types(syncer::ModelTypeSet types) { in set_expected_configure_types()
92 const syncer::ModelTypeSet activated_types() { return activated_types_; } in activated_types()
95 base::Callback<void(ModelTypeSet, ModelTypeSet)> last_ready_task_;
96 syncer::ModelTypeSet expected_configure_types_;
[all …]
Ddata_type_manager_impl.h37 typedef std::queue<syncer::ModelTypeSet> TypeSetPriorityList;
54 virtual void Configure(syncer::ModelTypeSet desired_types,
59 syncer::ModelTypeSet undesired_types,
88 virtual syncer::ModelTypeSet GetPriorityTypes() const;
92 TypeSetPriorityList PrioritizeTypes(const syncer::ModelTypeSet& types);
99 syncer::ModelTypeSet types_to_download,
100 syncer::ModelTypeSet high_priority_types_before,
101 syncer::ModelTypeSet first_sync_types,
102 syncer::ModelTypeSet failed_configuration_types);
114 void ConfigureImpl(syncer::ModelTypeSet desired_types,
[all …]
Ddata_type_manager_impl.cc29 GenerateCryptoErrorsForTypes(syncer::ModelTypeSet encrypted_types) { in GenerateCryptoErrorsForTypes()
31 for (syncer::ModelTypeSet::Iterator iter = encrypted_types.First(); in GenerateCryptoErrorsForTypes()
75 void DataTypeManagerImpl::Configure(syncer::ModelTypeSet desired_types, in Configure()
83 syncer::ModelTypeSet filtered_desired_types; in Configure()
84 for (syncer::ModelTypeSet::Iterator type = desired_types.First(); in Configure()
113 syncer::ModelTypeSet undesired_types, in PurgeForMigration()
115 syncer::ModelTypeSet remainder = Difference(last_requested_types_, in PurgeForMigration()
121 syncer::ModelTypeSet desired_types, in ConfigureImpl()
151 const syncer::ModelTypeSet& types_being_configured) const { in BuildDataTypeConfigStateMap()
158 syncer::ModelTypeSet error_types = in BuildDataTypeConfigStateMap()
[all …]
Dfailed_data_types_handler.cc14 syncer::ModelTypeSet GetTypesFromErrorMap( in GetTypesFromErrorMap()
16 syncer::ModelTypeSet result; in GetTypesFromErrorMap()
77 syncer::ModelTypeSet purged_types) { in ResetPersistenceErrorsFrom()
78 for (syncer::ModelTypeSet::Iterator iter = purged_types.First(); iter.Good(); in ResetPersistenceErrorsFrom()
103 syncer::ModelTypeSet FailedDataTypesHandler::GetFailedTypes() const { in GetFailedTypes()
104 syncer::ModelTypeSet result = GetFatalErrorTypes(); in GetFailedTypes()
110 syncer::ModelTypeSet FailedDataTypesHandler::GetFatalErrorTypes() in GetFatalErrorTypes()
112 syncer::ModelTypeSet result = GetTypesFromErrorMap(unrecoverable_errors_); in GetFatalErrorTypes()
117 syncer::ModelTypeSet FailedDataTypesHandler::GetCryptoErrorTypes() const { in GetCryptoErrorTypes()
118 syncer::ModelTypeSet result = GetTypesFromErrorMap(crypto_errors_); in GetCryptoErrorTypes()
[all …]
Ddata_type_manager.h51 syncer::ModelTypeSet requested_types);
53 syncer::ModelTypeSet requested_types,
56 syncer::ModelTypeSet unfinished_data_types,
57 syncer::ModelTypeSet needs_crypto);
60 syncer::ModelTypeSet requested_types;
69 syncer::ModelTypeSet unfinished_data_types;
73 syncer::ModelTypeSet needs_crypto;
93 virtual void Configure(syncer::ModelTypeSet desired_types,
96 virtual void PurgeForMigration(syncer::ModelTypeSet undesired_types,
Dmodel_association_manager_unittest.cc79 syncer::ModelTypeSet types(syncer::BOOKMARKS, syncer::APPS); in TEST_F()
84 syncer::ModelTypeSet(), in TEST_F()
85 syncer::ModelTypeSet()); in TEST_F()
122 syncer::ModelTypeSet types; in TEST_F()
136 syncer::ModelTypeSet(syncer::BOOKMARKS), in TEST_F()
137 syncer::ModelTypeSet()); in TEST_F()
161 syncer::ModelTypeSet types; in TEST_F()
167 syncer::ModelTypeSet(), in TEST_F()
168 syncer::ModelTypeSet()); in TEST_F()
194 syncer::ModelTypeSet types; in TEST_F()
[all …]
Dmodel_association_manager.h61 void Initialize(syncer::ModelTypeSet desired_types);
69 void StartAssociationAsync(const syncer::ModelTypeSet& types_to_associate);
123 syncer::ModelTypeSet desired_types_;
126 syncer::ModelTypeSet requested_types_;
130 syncer::ModelTypeSet associating_types_;
133 syncer::ModelTypeSet loaded_types_;
137 syncer::ModelTypeSet associated_types_;
141 syncer::ModelTypeSet slow_types_;
149 syncer::ModelTypeSet needs_crypto_types_;
Dsync_prefs.h90 syncer::ModelTypeSet GetPreferredDataTypes( in NON_EXPORTED_BASE()
91 syncer::ModelTypeSet registered_types) const; in NON_EXPORTED_BASE()
98 void SetPreferredDataTypes(syncer::ModelTypeSet registered_types, in NON_EXPORTED_BASE()
99 syncer::ModelTypeSet preferred_types); in NON_EXPORTED_BASE()
128 void AcknowledgeSyncedTypes(syncer::ModelTypeSet types); in NON_EXPORTED_BASE()
143 syncer::ModelTypeSet GetAcknowledgeSyncedTypesForTest() const; in NON_EXPORTED_BASE()
157 syncer::ModelTypeSet ResolvePrefGroups(syncer::ModelTypeSet registered_types, in NON_EXPORTED_BASE()
158 syncer::ModelTypeSet types) const; in NON_EXPORTED_BASE()
178 typedef std::map<syncer::ModelType, syncer::ModelTypeSet> PrefGroupsMap; in NON_EXPORTED_BASE()
Dfailed_data_types_handler.h33 void ResetPersistenceErrorsFrom(syncer::ModelTypeSet purged_types);
50 syncer::ModelTypeSet GetFailedTypes() const;
53 syncer::ModelTypeSet GetFatalErrorTypes() const;
56 syncer::ModelTypeSet GetCryptoErrorTypes() const;
59 syncer::ModelTypeSet GetPersistenceErrorTypes() const;
62 syncer::ModelTypeSet GetUnreadyErrorTypes() const;
/external/chromium_org/sync/internal_api/public/test/
Dfake_sync_manager.h38 FakeSyncManager(ModelTypeSet initial_sync_ended_types,
39 ModelTypeSet progress_marker_types,
40 ModelTypeSet configure_fail_types);
46 ModelTypeSet GetAndResetCleanedTypes();
50 ModelTypeSet GetAndResetDownloadedTypes();
55 ModelTypeSet GetAndResetEnabledTypes();
58 ModelTypeSet GetLastRefreshRequestTypes();
99 virtual ModelTypeSet InitialSyncEndedTypes() OVERRIDE;
100 virtual ModelTypeSet GetTypesWithEmptyProgressMarkerToken(
101 ModelTypeSet types) OVERRIDE;
[all …]
/external/chromium_org/chrome/browser/sync/glue/
Dsync_backend_host_impl_unittest.cc93 void(syncer::ModelTypeSet, bool));
95 MOCK_METHOD1(OnMigrationNeededForTypes, void(syncer::ModelTypeSet));
128 void set_initial_sync_ended_types(syncer::ModelTypeSet types) { in set_initial_sync_ended_types()
132 void set_progress_marker_types(syncer::ModelTypeSet types) { in set_progress_marker_types()
136 void set_configure_fail_types(syncer::ModelTypeSet types) { in set_configure_fail_types()
141 syncer::ModelTypeSet initial_sync_ended_types_;
142 syncer::ModelTypeSet progress_marker_types_;
143 syncer::ModelTypeSet configure_fail_types_;
234 void ConfigureDataTypes(syncer::ModelTypeSet types_to_add, in ConfigureDataTypes()
235 syncer::ModelTypeSet types_to_remove) { in ConfigureDataTypes()
[all …]
Dsync_backend_registrar_unittest.cc34 using syncer::ModelTypeSet;
55 ExpectHasProcessorsForTypes(*registrar_, ModelTypeSet(AUTOFILL)); in TestNonUIDataTypeActivationAsync()
95 ModelTypeSet types) { in ExpectHasProcessorsForTypes()
112 registrar_->SetInitialTypes(ModelTypeSet()); in TEST_F()
120 ExpectHasProcessorsForTypes(*registrar_, ModelTypeSet()); in TEST_F()
124 const ModelTypeSet initial_types(BOOKMARKS, NIGORI, PASSWORDS); in TEST_F()
139 ExpectHasProcessorsForTypes(*registrar_, ModelTypeSet()); in TEST_F()
143 registrar_->SetInitialTypes(ModelTypeSet()); in TEST_F()
146 const ModelTypeSet types1(BOOKMARKS, NIGORI, AUTOFILL); in TEST_F()
148 registrar_->ConfigureDataTypes(types1, ModelTypeSet()).Equals(types1)); in TEST_F()
[all …]
Dsync_backend_host_impl.h109 const base::Callback<void(syncer::ModelTypeSet,
110 syncer::ModelTypeSet)>& ready_task,
136 syncer::ModelTypeSet types,
152 syncer::ModelTypeSet to_download,
153 syncer::ModelTypeSet to_purge,
154 syncer::ModelTypeSet to_journal,
155 syncer::ModelTypeSet to_unapply,
156 syncer::ModelTypeSet to_ignore,
158 const base::Callback<void(syncer::ModelTypeSet,
159 syncer::ModelTypeSet)>& ready_task,
[all …]
/external/chromium_org/sync/internal_api/test/
Dfake_sync_manager.cc28 FakeSyncManager::FakeSyncManager(ModelTypeSet initial_sync_ended_types, in FakeSyncManager()
29 ModelTypeSet progress_marker_types, in FakeSyncManager()
30 ModelTypeSet configure_fail_types) : in FakeSyncManager()
40 ModelTypeSet FakeSyncManager::GetAndResetCleanedTypes() { in GetAndResetCleanedTypes()
41 ModelTypeSet cleaned_types = cleaned_types_; in GetAndResetCleanedTypes()
46 ModelTypeSet FakeSyncManager::GetAndResetDownloadedTypes() { in GetAndResetDownloadedTypes()
47 ModelTypeSet downloaded_types = downloaded_types_; in GetAndResetDownloadedTypes()
52 ModelTypeSet FakeSyncManager::GetAndResetEnabledTypes() { in GetAndResetEnabledTypes()
53 ModelTypeSet enabled_types = enabled_types_; in GetAndResetEnabledTypes()
100 for (ModelTypeSet::Iterator it = initial_sync_ended_types_.First(); in Init()
[all …]
/external/chromium_org/sync/internal_api/public/base/
Dmodel_type.h149 ModelTypeSet; typedef
179 SYNC_EXPORT ModelTypeSet ProtocolTypes();
184 SYNC_EXPORT ModelTypeSet UserTypes();
187 SYNC_EXPORT ModelTypeSet UserSelectableTypes();
191 SYNC_EXPORT_PRIVATE ModelTypeSet EncryptableUserTypes();
195 SYNC_EXPORT ModelTypeSet PriorityUserTypes();
200 SYNC_EXPORT ModelTypeSet ProxyTypes();
212 SYNC_EXPORT ModelTypeSet ControlTypes();
223 SYNC_EXPORT ModelTypeSet CoreTypes();
225 SYNC_EXPORT ModelTypeSet PriorityCoreTypes();
[all …]
Dmodel_type_test_util.cc29 void PrintTo(ModelTypeSet model_types, ::std::ostream* os) { in PrintTo()
37 : public ::testing::MatcherInterface<ModelTypeSet> {
39 explicit HasModelTypesMatcher(ModelTypeSet expected_types) in HasModelTypesMatcher()
45 ModelTypeSet model_types, in MatchAndExplain()
61 const ModelTypeSet expected_types_;
68 ::testing::Matcher<ModelTypeSet> HasModelTypes(ModelTypeSet expected_types) { in HasModelTypes()
/external/chromium_org/sync/sessions/
Dtest_util.h20 ModelTypeSet requested_types,
24 ModelTypeSet requested_types,
28 ModelTypeSet requested_types,
32 ModelTypeSet requested_types,
37 void SimulateNormalSuccess(ModelTypeSet requested_types,
40 void SimulateDownloadUpdatesFailed(ModelTypeSet requested_types,
43 void SimulateCommitFailed(ModelTypeSet requested_types,
46 void SimulateConnectionFailure(ModelTypeSet requested_types,
51 void SimulatePollSuccess(ModelTypeSet requested_types,
53 void SimulatePollFailed(ModelTypeSet requested_types,
[all …]
Dtest_util.cc12 ModelTypeSet requsted_types, in SimulateGetEncryptionKeyFailed()
22 ModelTypeSet requsted_types, in SimulateConfigureSuccess()
31 ModelTypeSet requsted_types, in SimulateConfigureFailed()
40 ModelTypeSet requsted_types, in SimulateConfigureConnectionFailure()
48 void SimulateNormalSuccess(ModelTypeSet requested_types, in SimulateNormalSuccess()
57 ModelTypeSet requested_types, in SimulateDownloadUpdatesFailed()
64 void SimulateCommitFailed(ModelTypeSet requested_types, in SimulateCommitFailed()
75 ModelTypeSet requested_types, in SimulateConnectionFailure()
82 void SimulatePollSuccess(ModelTypeSet requested_types, in SimulatePollSuccess()
88 void SimulatePollFailed(ModelTypeSet requested_types, in SimulatePollFailed()
[all …]
Dnudge_tracker.h54 void RecordLocalChange(ModelTypeSet types);
57 void RecordLocalRefreshRequest(ModelTypeSet types);
69 void SetTypesThrottledUntil(ModelTypeSet types,
87 ModelTypeSet GetThrottledTypes() const;
90 ModelTypeSet GetNudgedTypes() const;
93 ModelTypeSet GetNotifiedTypes() const;
96 ModelTypeSet GetRefreshRequestedTypes() const;
/external/chromium_org/chrome/browser/sync/
Dbackend_migrator_unittest.cc50 SetUnsyncedTypes(syncer::ModelTypeSet()); in SetUp()
60 void SetUnsyncedTypes(syncer::ModelTypeSet unsynced_types) { in SetUnsyncedTypes()
75 syncer::ModelTypeSet requested_types) { in SendConfigureDone()
85 syncer::ModelTypeSet(), in SendConfigureDone()
86 syncer::ModelTypeSet()); in SendConfigureDone()
94 syncer::ModelTypeSet preferred_types() { return preferred_types_; } in preferred_types()
106 syncer::ModelTypeSet preferred_types_;
128 syncer::ModelTypeSet to_migrate, difference; in TEST_F()
149 SetUnsyncedTypes(syncer::ModelTypeSet()); in TEST_F()
159 syncer::ModelTypeSet to_migrate, difference; in TEST_F()
[all …]
/external/chromium_org/chrome/browser/sync/test/integration/
Dmigration_test.cc32 syncer::ModelTypeSet MakeSet(syncer::ModelType type) { in MakeSet()
33 return syncer::ModelTypeSet(type); in MakeSet()
36 syncer::ModelTypeSet MakeSet(syncer::ModelType type1, in MakeSet()
38 return syncer::ModelTypeSet(type1, type2); in MakeSet()
43 typedef std::deque<syncer::ModelTypeSet> MigrationList;
48 MigrationList MakeList(syncer::ModelTypeSet model_types) { in MakeList()
52 MigrationList MakeList(syncer::ModelTypeSet model_types1, in MakeList()
53 syncer::ModelTypeSet model_types2) { in MakeList()
112 void set_expected_types(syncer::ModelTypeSet expected_types) { in set_expected_types()
116 syncer::ModelTypeSet migrated_types() const { in migrated_types()
[all …]
/external/chromium_org/sync/syncable/
Dmodel_type_unittest.cc41 const ModelTypeSet model_types(BOOKMARKS, APPS); in TEST_F()
54 ModelTypeSet model_types; in TEST_F()
83 ModelTypeSet protocol_types = ProtocolTypes(); in TEST_F()
84 for (ModelTypeSet::Iterator iter = protocol_types.First(); iter.Good(); in TEST_F()
98 ModelTypeSet all_types = ModelTypeSet::All(); in TEST_F()
99 for (ModelTypeSet::Iterator it = all_types.First(); it.Good(); it.Inc()) { in TEST_F()
115 syncer::ModelTypeSet empty; in TEST_F()
116 syncer::ModelTypeSet one(BOOKMARKS); in TEST_F()
117 syncer::ModelTypeSet two(BOOKMARKS, TYPED_URLS); in TEST_F()
128 syncer::ModelTypeSet types = syncer::ProtocolTypes(); in TEST_F()
[all …]
Dmodel_type.cc128 ModelTypeSet protocol_types = ProtocolTypes(); in GetModelTypeFromSpecificsFieldNumber()
129 for (ModelTypeSet::Iterator iter = protocol_types.First(); iter.Good(); in GetModelTypeFromSpecificsFieldNumber()
205 FullModelTypeSet ToFullModelTypeSet(ModelTypeSet in) { in ToFullModelTypeSet()
207 for (ModelTypeSet::Iterator i = in.First(); i.Good(); i.Inc()) { in ToFullModelTypeSet()
330 ModelTypeSet ProtocolTypes() { in ProtocolTypes()
331 ModelTypeSet set = ModelTypeSet::All(); in ProtocolTypes()
336 ModelTypeSet UserTypes() { in UserTypes()
337 ModelTypeSet set; in UserTypes()
347 ModelTypeSet UserSelectableTypes() { in UserSelectableTypes()
348 ModelTypeSet set; in UserSelectableTypes()
[all …]
/external/chromium_org/sync/internal_api/
Dsync_rollback_manager_base.h38 virtual ModelTypeSet InitialSyncEndedTypes() OVERRIDE;
39 virtual ModelTypeSet GetTypesWithEmptyProgressMarkerToken(
40 ModelTypeSet types) OVERRIDE;
47 ModelTypeSet to_download,
48 ModelTypeSet to_purge,
49 ModelTypeSet to_journal,
50 ModelTypeSet to_unapply,
67 virtual void RefreshTypes(ModelTypeSet types) OVERRIDE;
77 ModelTypeSet models_with_changes) OVERRIDE;
78 virtual ModelTypeSet HandleTransactionEndingChangeEvent(
[all …]
Dsync_manager_impl.h89 virtual ModelTypeSet InitialSyncEndedTypes() OVERRIDE;
90 virtual ModelTypeSet GetTypesWithEmptyProgressMarkerToken(
91 ModelTypeSet types) OVERRIDE;
98 ModelTypeSet to_download,
99 ModelTypeSet to_purge,
100 ModelTypeSet to_journal,
101 ModelTypeSet to_unapply,
141 ModelTypeSet encrypted_types,
157 virtual void OnThrottledTypesChanged(ModelTypeSet throttled_types) OVERRIDE;
158 virtual void OnMigrationRequested(ModelTypeSet types) OVERRIDE;
[all …]

12345678