Home
last modified time | relevance | path

Searched refs:SyncerProtoUtil (Results 1 – 11 of 11) sorted by relevance

/external/chromium/chrome/browser/sync/engine/
Dsyncer_proto_util_unittest.cc25 TEST(SyncerProtoUtil, TestBlobToProtocolBufferBytesUtilityFunctions) { in TEST() argument
45 EXPECT_TRUE(SyncerProtoUtil::ProtoBytesEqualsBlob(test_message1, in TEST()
47 EXPECT_FALSE(SyncerProtoUtil::ProtoBytesEqualsBlob(test_message1, in TEST()
49 EXPECT_FALSE(SyncerProtoUtil::ProtoBytesEqualsBlob(test_message1, in TEST()
51 EXPECT_FALSE(SyncerProtoUtil::ProtoBytesEqualsBlob(test_message2, in TEST()
53 EXPECT_TRUE(SyncerProtoUtil::ProtoBytesEqualsBlob(test_message2, in TEST()
55 EXPECT_FALSE(SyncerProtoUtil::ProtoBytesEqualsBlob(test_message2, in TEST()
57 EXPECT_FALSE(SyncerProtoUtil::ProtoBytesEqualsBlob(test_message3, in TEST()
59 EXPECT_FALSE(SyncerProtoUtil::ProtoBytesEqualsBlob(test_message3, in TEST()
61 EXPECT_TRUE(SyncerProtoUtil::ProtoBytesEqualsBlob(test_message3, in TEST()
[all …]
Dsyncer_proto_util.cc83 void SyncerProtoUtil::HandleMigrationDoneResponse( in HandleMigrationDoneResponse()
97 bool SyncerProtoUtil::VerifyResponseBirthday(syncable::Directory* dir, in VerifyResponseBirthday()
134 void SyncerProtoUtil::AddRequestBirthday(syncable::Directory* dir, in AddRequestBirthday()
141 bool SyncerProtoUtil::PostAndProcessHeaders(ServerConnectionManager* scm, in PostAndProcessHeaders()
201 bool SyncerProtoUtil::PostClientToServerMessage( in PostClientToServerMessage()
258 bool SyncerProtoUtil::Compare(const syncable::Entry& local_entry, in Compare()
306 void SyncerProtoUtil::CopyProtoBytesIntoBlob(const std::string& proto_bytes, in CopyProtoBytesIntoBlob()
313 bool SyncerProtoUtil::ProtoBytesEqualsBlob(const std::string& proto_bytes, in ProtoBytesEqualsBlob()
321 void SyncerProtoUtil::CopyBlobIntoProtoBytes(const syncable::Blob& blob, in CopyBlobIntoProtoBytes()
328 const std::string& SyncerProtoUtil::NameFromSyncEntity( in NameFromSyncEntity()
[all …]
Dclear_data_command.cc46 SyncerProtoUtil::AddRequestBirthday(dir, &client_to_server_message); in ExecuteImpl()
50 bool ok = SyncerProtoUtil::PostClientToServerMessage( in ExecuteImpl()
55 DVLOG(1) << SyncerProtoUtil::ClientToServerResponseDebugString( in ExecuteImpl()
Dsyncer_proto_util.h39 class SyncerProtoUtil {
96 SyncerProtoUtil() {} in SyncerProtoUtil() function
123 DISALLOW_COPY_AND_ASSIGN(SyncerProtoUtil);
Ddownload_updates_command.cc78 SyncerProtoUtil::AddRequestBirthday(dir, &client_to_server_message); in ExecuteImpl()
80 bool ok = SyncerProtoUtil::PostClientToServerMessage( in ExecuteImpl()
85 VLOG(2) << SyncerProtoUtil::ClientToServerResponseDebugString( in ExecuteImpl()
Dsyncer_util.cc734 << SyncerProtoUtil::SyncEntityDebugString(update); in VerifyUpdateConsistency()
760 << SyncerProtoUtil::SyncEntityDebugString(update); in VerifyUpdateConsistency()
767 !SyncerProtoUtil::Compare(*target, update)) { in VerifyUpdateConsistency()
772 "Update: " << SyncerProtoUtil::SyncEntityDebugString(update); in VerifyUpdateConsistency()
779 << SyncerProtoUtil::SyncEntityDebugString(update); in VerifyUpdateConsistency()
803 << "Update:" << SyncerProtoUtil::SyncEntityDebugString(update); in VerifyUndelete()
818 << SyncerProtoUtil::SyncEntityDebugString(update); in VerifyUndelete()
Dpost_commit_message_command.cc30 if (!SyncerProtoUtil::PostClientToServerMessage(status->commit_message(), in ExecuteImpl()
Dprocess_updates_command.cc99 const std::string name = SyncerProtoUtil::NameFromSyncEntity(update); in ProcessUpdate()
Dverify_updates_command.cc92 const std::string name = SyncerProtoUtil::NameFromSyncEntity(entry); in VerifyUpdate()
Dprocess_commit_response_command.cc287 SyncerProtoUtil::NameFromCommitEntryResponse(entry_response); in GetResultingPostCommitName()
290 return SyncerProtoUtil::NameFromSyncEntity(committed_entry); in GetResultingPostCommitName()
Dbuild_commit_command.cc95 SyncerProtoUtil::AddRequestBirthday( in ExecuteImpl()