Home
last modified time | relevance | path

Searched refs:progress_marker (Results 1 – 18 of 18) sorted by relevance

/external/chromium_org/sync/engine/
Ddirectory_update_handler.cc32 sync_pb::DataTypeProgressMarker* progress_marker) const { in GetDownloadProgress()
33 dir_->GetDownloadProgress(type_, progress_marker); in GetDownloadProgress()
43 const sync_pb::DataTypeProgressMarker& progress_marker, in ProcessGetUpdatesResponse() argument
70 if (IsValidProgressMarker(progress_marker)) { in ProcessGetUpdatesResponse()
71 ExpireEntriesIfNeeded(&trans, progress_marker); in ProcessGetUpdatesResponse()
72 UpdateProgressMarker(progress_marker); in ProcessGetUpdatesResponse()
207 const sync_pb::DataTypeProgressMarker& progress_marker) const { in IsValidProgressMarker()
208 int field_number = progress_marker.data_type_id(); in IsValidProgressMarker()
221 const sync_pb::DataTypeProgressMarker& progress_marker) { in UpdateProgressMarker() argument
222 if (progress_marker.has_gc_directive() || !cached_gc_directive_) { in UpdateProgressMarker()
[all …]
Ddirectory_update_handler.h54 sync_pb::DataTypeProgressMarker* progress_marker) const OVERRIDE;
58 const sync_pb::DataTypeProgressMarker& progress_marker,
82 const sync_pb::DataTypeProgressMarker& progress_marker);
87 const sync_pb::DataTypeProgressMarker& progress_marker);
90 const sync_pb::DataTypeProgressMarker& progress_marker) const;
Dget_updates_processor_unittest.cc112 const sync_pb::DataTypeProgressMarker& progress_marker = in TEST_F() local
115 progress_marker.get_update_triggers(); in TEST_F()
120 EXPECT_TRUE(progress_marker.has_notification_hint()); in TEST_F()
121 EXPECT_EQ("", progress_marker.notification_hint()); in TEST_F()
125 EXPECT_FALSE(progress_marker.has_notification_hint()); in TEST_F()
160 const sync_pb::DataTypeProgressMarker& progress_marker = in TEST_F() local
163 progress_marker.get_update_triggers(); in TEST_F()
168 EXPECT_TRUE(progress_marker.has_notification_hint()); in TEST_F()
169 EXPECT_FALSE(progress_marker.notification_hint().empty()); in TEST_F()
172 EXPECT_FALSE(progress_marker.has_notification_hint()); in TEST_F()
Dnon_blocking_type_processor_core.cc41 sync_pb::DataTypeProgressMarker* progress_marker) const { in GetDownloadProgress()
43 progress_marker->CopyFrom(data_type_state_.progress_marker); in GetDownloadProgress()
53 const sync_pb::DataTypeProgressMarker& progress_marker, in ProcessGetUpdatesResponse() argument
61 data_type_state_.progress_marker = progress_marker; in ProcessGetUpdatesResponse()
Dget_updates_delegate.cc69 sync_pb::DataTypeProgressMarker* progress_marker = in HelpPopulateGuMessage() local
72 progress_marker->data_type_id()); in HelpPopulateGuMessage()
77 nudge_tracker_.SetLegacyNotificationHint(type, progress_marker); in HelpPopulateGuMessage()
80 progress_marker->mutable_get_update_triggers()); in HelpPopulateGuMessage()
Dupdate_handler.h38 sync_pb::DataTypeProgressMarker* progress_marker) const = 0;
57 const sync_pb::DataTypeProgressMarker& progress_marker,
Dnon_blocking_type_processor_core.h62 sync_pb::DataTypeProgressMarker* progress_marker) const OVERRIDE;
66 const sync_pb::DataTypeProgressMarker& progress_marker,
Dnon_blocking_type_processor_core_unittest.cc163 initial_state.progress_marker.set_data_type_id( in FirstInitialize()
172 initial_state.progress_marker.set_data_type_id( in NormalInitialize()
174 initial_state.progress_marker.set_token("some_saved_progress_token"); in NormalInitialize()
536 EXPECT_FALSE(state.progress_marker.token().empty()); in TEST_F()
Dget_updates_processor.cc197 sync_pb::DataTypeProgressMarker* progress_marker = in PrepareGetUpdates() local
199 handler_it->second->GetDownloadProgress(progress_marker); in PrepareGetUpdates()
200 progress_marker->clear_gc_directive(); in PrepareGetUpdates()
Dnon_blocking_sync_common.h26 sync_pb::DataTypeProgressMarker progress_marker; member
Dnon_blocking_type_processor.cc52 data_type_state_.progress_marker.set_data_type_id( in Enable()
/external/chromium_org/sync/test/engine/
Dmock_update_handler.cc23 sync_pb::DataTypeProgressMarker* progress_marker) const { in GetDownloadProgress()
24 progress_marker->CopyFrom(progress_marker_); in GetDownloadProgress()
33 const sync_pb::DataTypeProgressMarker& progress_marker, in ProcessGetUpdatesResponse() argument
37 progress_marker_.CopyFrom(progress_marker); in ProcessGetUpdatesResponse()
Dmock_update_handler.h22 sync_pb::DataTypeProgressMarker* progress_marker) const OVERRIDE;
26 const sync_pb::DataTypeProgressMarker& progress_marker,
/external/chromium_org/sync/internal_api/
Dwrite_transaction.cc68 sync_pb::DataTypeProgressMarker progress_marker; in SetDataTypeContext() local
69 GetDirectory()->GetDownloadProgress(type, &progress_marker); in SetDataTypeContext()
70 progress_marker.clear_token(); in SetDataTypeContext()
71 GetDirectory()->SetDownloadProgress(type, progress_marker); in SetDataTypeContext()
/external/chromium_org/chrome/browser/sync/
Dbackend_migrator.cc132 sync_pb::DataTypeProgressMarker progress_marker; in GetUnsyncedDataTypes() local
133 trans.GetDirectory()->GetDownloadProgress(type, &progress_marker); in GetUnsyncedDataTypes()
134 if (progress_marker.token().empty()) { in GetUnsyncedDataTypes()
Dbackend_migrator_unittest.cc66 sync_pb::DataTypeProgressMarker progress_marker; in SetUnsyncedTypes() local
68 progress_marker.set_token("dummy"); in SetUnsyncedTypes()
70 trans.GetDirectory()->SetDownloadProgress(type, progress_marker); in SetUnsyncedTypes()
/external/chromium_org/sync/syncable/
Ddirectory_backing_store.cc292 string progress_marker; in SaveChanges() local
293 info.download_progress[type].SerializeToString(&progress_marker); in SaveChanges()
295 s2.BindBlob(1, progress_marker.data(), progress_marker.length()); in SaveChanges()
998 sync_pb::DataTypeProgressMarker progress_marker; in MigrateVersion74To75() local
999 progress_marker.set_data_type_id( in MigrateVersion74To75()
1001 progress_marker.set_timestamp_token_for_migration(query.ColumnInt64(1)); in MigrateVersion74To75()
1003 progress_marker.SerializeToString(&progress_blob); in MigrateVersion74To75()
/external/chromium_org/sync/sessions/
Dmodel_type_registry_unittest.cc28 state.progress_marker.set_data_type_id( in MakeInitialDataTypeState()