Home
last modified time | relevance | path

Searched refs:get_updates (Results 1 – 12 of 12) sorted by relevance

/external/chromium_org/sync/engine/
Dget_updates_delegate.cc53 sync_pb::GetUpdatesMessage* get_updates) const { in HelpPopulateGuMessage()
55 get_updates->mutable_caller_info()->set_source( in HelpPopulateGuMessage()
59 get_updates->set_get_updates_origin(sync_pb::SyncEnums::GU_TRIGGER); in HelpPopulateGuMessage()
60 get_updates->set_is_retry(nudge_tracker_.IsRetryRequired()); in HelpPopulateGuMessage()
65 get_updates->set_get_updates_origin(sync_pb::SyncEnums::RETRY); in HelpPopulateGuMessage()
68 for (int i = 0; i < get_updates->from_progress_marker_size(); ++i) { in HelpPopulateGuMessage()
70 get_updates->mutable_from_progress_marker(i); in HelpPopulateGuMessage()
104 sync_pb::GetUpdatesMessage* get_updates) const { in HelpPopulateGuMessage()
105 get_updates->mutable_caller_info()->set_source(source_); in HelpPopulateGuMessage()
106 get_updates->set_get_updates_origin(ConvertConfigureSourceToOrigin(source_)); in HelpPopulateGuMessage()
[all …]
Dget_updates_processor.cc42 if (update_response.get_updates().encryption_keys_size() == 0) { in HandleGetEncryptionKeyResponse()
49 update_response.get_updates().encryption_keys(), in HandleGetEncryptionKeyResponse()
53 << update_response.get_updates().encryption_keys_size() in HandleGetEncryptionKeyResponse()
145 sync_pb::GetUpdatesMessage* get_updates = message->mutable_get_updates(); in InitDownloadUpdatesContext() local
150 get_updates->set_fetch_folders(true); in InitDownloadUpdatesContext()
152 get_updates->set_create_mobile_bookmarks_folder( in InitDownloadUpdatesContext()
155 get_updates->set_need_encryption_key(need_encryption_key); in InitDownloadUpdatesContext()
158 get_updates->mutable_caller_info()->set_notifications_enabled( in InitDownloadUpdatesContext()
191 sync_pb::GetUpdatesMessage* get_updates = message->mutable_get_updates(); in PrepareGetUpdates() local
198 get_updates->add_from_progress_marker(); in PrepareGetUpdates()
[all …]
Dget_updates_delegate.h29 sync_pb::GetUpdatesMessage* get_updates) const = 0;
50 sync_pb::GetUpdatesMessage* get_updates) const OVERRIDE;
77 sync_pb::GetUpdatesMessage* get_updates) const OVERRIDE;
108 sync_pb::GetUpdatesMessage* get_updates) const OVERRIDE;
Dget_updates_processor_unittest.cc104 const sync_pb::GetUpdatesMessage& gu_msg = message.get_updates(); in TEST_F()
152 const sync_pb::GetUpdatesMessage& gu_msg = message.get_updates(); in TEST_F()
186 const sync_pb::GetUpdatesMessage& gu_msg = message.get_updates(); in TEST_F()
207 const sync_pb::GetUpdatesMessage& gu_msg = message.get_updates(); in TEST_F()
237 const sync_pb::GetUpdatesMessage& gu_msg = message.get_updates(); in TEST_F()
271 const sync_pb::GetUpdatesMessage& gu_msg = message.get_updates(); in TEST_F()
Dsyncer_proto_util.cc318 DCHECK_LT(0, message.get_updates().from_progress_marker_size()); in IsVeryFirstGetUpdates()
319 for (int i = 0; i < message.get_updates().from_progress_marker_size(); ++i) { in IsVeryFirstGetUpdates()
320 if (!message.get_updates().from_progress_marker(i).token().empty()) in IsVeryFirstGetUpdates()
350 DCHECK(!msg->get_updates().has_from_timestamp()); // Deprecated. in PostClientToServerMessage()
351 DCHECK(!msg->get_updates().has_requested_types()); // Deprecated. in PostClientToServerMessage()
580 output.append(GetUpdatesResponseString(response.get_updates())); in ClientToServerResponseDebugString()
/external/chromium_org/sync/internal_api/events/
Dget_updates_response_event.cc35 response_.get_updates().entries_size()); in GetDetails()
38 response_.get_updates().entries_size()); in GetDetails()
/external/chromium_org/sync/test/fake_server/
Dfake_server.cc242 success = HandleGetUpdatesRequest(message.get_updates(), in HandleCommand()
271 const sync_pb::GetUpdatesMessage& get_updates, in HandleGetUpdatesRequest() argument
277 scoped_ptr<UpdateSieve> sieve = UpdateSieve::Create(get_updates); in HandleGetUpdatesRequest()
279 if (get_updates.create_mobile_bookmarks_folder() && in HandleGetUpdatesRequest()
304 get_updates.need_encryption_key()) { in HandleGetUpdatesRequest()
Dfake_server.h88 bool HandleGetUpdatesRequest(const sync_pb::GetUpdatesMessage& get_updates,
/external/chromium_org/sync/test/engine/
Dmock_connection_manager.cc490 const GetUpdatesMessage& gu = csm->get_updates(); in ProcessGetUpdates()
522 std::string token = response->get_updates().new_progress_marker(0).token(); in ProcessGetUpdates()
/external/chromium_org/sync/tools/testserver/
Dchromiumsync.py1546 self.HandleGetUpdates(request.get_updates, response.get_updates)
1548 print '%d update(s)' % len(response.get_updates.entries)
/external/chromium_org/sync/protocol/
Dproto_value_conversions.cc1002 value->Set("get_updates", GetUpdatesResponseToValue(proto.get_updates(), in ClientToServerResponseToValue()
1026 SET(get_updates, GetUpdatesMessageToValue); in ClientToServerMessageToValue()
Dsync.proto705 optional GetUpdatesMessage get_updates = 5; field
910 optional GetUpdatesResponse get_updates = 2; field