Searched refs:SyncerProtoUtil (Results 1 - 20 of 20) sorted by relevance

/external/chromium/chrome/browser/sync/engine/
H A Dsyncer_proto_util_unittest.cc25 TEST(SyncerProtoUtil, TestBlobToProtocolBufferBytesUtilityFunctions) {
45 EXPECT_TRUE(SyncerProtoUtil::ProtoBytesEqualsBlob(test_message1,
47 EXPECT_FALSE(SyncerProtoUtil::ProtoBytesEqualsBlob(test_message1,
49 EXPECT_FALSE(SyncerProtoUtil::ProtoBytesEqualsBlob(test_message1,
51 EXPECT_FALSE(SyncerProtoUtil::ProtoBytesEqualsBlob(test_message2,
53 EXPECT_TRUE(SyncerProtoUtil::ProtoBytesEqualsBlob(test_message2,
55 EXPECT_FALSE(SyncerProtoUtil::ProtoBytesEqualsBlob(test_message2,
57 EXPECT_FALSE(SyncerProtoUtil::ProtoBytesEqualsBlob(test_message3,
59 EXPECT_FALSE(SyncerProtoUtil::ProtoBytesEqualsBlob(test_message3,
61 EXPECT_TRUE(SyncerProtoUtil
[all...]
H A Dclear_data_command.cc46 SyncerProtoUtil::AddRequestBirthday(dir, &client_to_server_message);
50 bool ok = SyncerProtoUtil::PostClientToServerMessage(
55 DVLOG(1) << SyncerProtoUtil::ClientToServerResponseDebugString(
H A Dsyncer_proto_util.cc83 void SyncerProtoUtil::HandleMigrationDoneResponse(
97 bool SyncerProtoUtil::VerifyResponseBirthday(syncable::Directory* dir,
134 void SyncerProtoUtil::AddRequestBirthday(syncable::Directory* dir,
141 bool SyncerProtoUtil::PostAndProcessHeaders(ServerConnectionManager* scm,
201 bool SyncerProtoUtil::PostClientToServerMessage(
249 LOG(WARNING) << "SyncerProtoUtil: Authentication expired.";
258 bool SyncerProtoUtil::Compare(const syncable::Entry& local_entry,
263 " SyncerProtoUtil::Compare precondition not met.";
265 " SyncerProtoUtil::Compare precondition not met.";
267 " SyncerProtoUtil
[all...]
H A Dsyncer_proto_util.h39 class SyncerProtoUtil { class in namespace:browser_sync
96 SyncerProtoUtil() {} function in class:browser_sync::SyncerProtoUtil
123 DISALLOW_COPY_AND_ASSIGN(SyncerProtoUtil);
H A Ddownload_updates_command.cc78 SyncerProtoUtil::AddRequestBirthday(dir, &client_to_server_message);
80 bool ok = SyncerProtoUtil::PostClientToServerMessage(
85 VLOG(2) << SyncerProtoUtil::ClientToServerResponseDebugString(
H A Dpost_commit_message_command.cc30 if (!SyncerProtoUtil::PostClientToServerMessage(status->commit_message(),
H A Dprocess_updates_command.cc99 const std::string name = SyncerProtoUtil::NameFromSyncEntity(update);
H A Dverify_updates_command.cc92 const std::string name = SyncerProtoUtil::NameFromSyncEntity(entry);
H A Dsyncer_util.cc734 << SyncerProtoUtil::SyncEntityDebugString(update);
760 << SyncerProtoUtil::SyncEntityDebugString(update);
767 !SyncerProtoUtil::Compare(*target, update)) {
772 "Update: " << SyncerProtoUtil::SyncEntityDebugString(update);
779 << SyncerProtoUtil::SyncEntityDebugString(update);
803 << "Update:" << SyncerProtoUtil::SyncEntityDebugString(update);
818 << SyncerProtoUtil::SyncEntityDebugString(update);
H A Dprocess_commit_response_command.cc287 SyncerProtoUtil::NameFromCommitEntryResponse(entry_response);
290 return SyncerProtoUtil::NameFromSyncEntity(committed_entry);
H A Dbuild_commit_command.cc95 SyncerProtoUtil::AddRequestBirthday(
/external/chromium_org/sync/engine/
H A Dsyncer_proto_util_unittest.cc54 TEST(SyncerProtoUtil, GetTypesToMigrate) {
69 TEST(SyncerProtoUtil, ConvertErrorPBToLocalType) {
83 TEST(SyncerProtoUtil, TestBlobToProtocolBufferBytesUtilityFunctions) {
103 EXPECT_TRUE(SyncerProtoUtil::ProtoBytesEqualsBlob(test_message1,
105 EXPECT_FALSE(SyncerProtoUtil::ProtoBytesEqualsBlob(test_message1,
107 EXPECT_FALSE(SyncerProtoUtil::ProtoBytesEqualsBlob(test_message1,
109 EXPECT_FALSE(SyncerProtoUtil::ProtoBytesEqualsBlob(test_message2,
111 EXPECT_TRUE(SyncerProtoUtil::ProtoBytesEqualsBlob(test_message2,
113 EXPECT_FALSE(SyncerProtoUtil::ProtoBytesEqualsBlob(test_message2,
115 EXPECT_FALSE(SyncerProtoUtil
[all...]
H A Dsyncer_proto_util.cc203 bool SyncerProtoUtil::VerifyResponseBirthday(
235 bool SyncerProtoUtil::IsSyncDisabledByAdmin(
242 void SyncerProtoUtil::AddRequestBirthday(syncable::Directory* dir,
249 void SyncerProtoUtil::AddBagOfChips(syncable::Directory* dir,
255 void SyncerProtoUtil::SetProtocolVersion(ClientToServerMessage* msg) {
262 bool SyncerProtoUtil::PostAndProcessHeaders(ServerConnectionManager* scm,
296 base::TimeDelta SyncerProtoUtil::GetThrottleDelay(
341 SyncerError SyncerProtoUtil::PostClientToServerMessage(
481 bool SyncerProtoUtil::ShouldMaintainPosition(
491 void SyncerProtoUtil
[all...]
H A Dsyncer_proto_util.h49 class SYNC_EXPORT_PRIVATE SyncerProtoUtil { class in namespace:syncer
112 SyncerProtoUtil() {} function in class:syncer::SyncerProtoUtil
144 DISALLOW_COPY_AND_ASSIGN(SyncerProtoUtil);
H A Dsyncer_util.cc291 if (!(SyncerProtoUtil::ShouldMaintainPosition(update))) {
410 if (SyncerProtoUtil::ShouldMaintainPosition(update)) {
573 << SyncerProtoUtil::SyncEntityDebugString(update);
598 << SyncerProtoUtil::SyncEntityDebugString(update);
606 << SyncerProtoUtil::SyncEntityDebugString(update);
629 << "Update:" << SyncerProtoUtil::SyncEntityDebugString(update);
644 << SyncerProtoUtil::SyncEntityDebugString(update);
H A Dprocess_updates_util.cc162 const std::string name = SyncerProtoUtil::NameFromSyncEntity(entry);
229 const std::string name = SyncerProtoUtil::NameFromSyncEntity(update);
H A Dcommit.cc120 const SyncerError post_result = SyncerProtoUtil::PostClientToServerMessage(
H A Dcommit_util.cc196 SyncerProtoUtil::NameFromCommitEntryResponse(entry_response);
199 return SyncerProtoUtil::NameFromSyncEntity(committed_entry);
H A Ddownload.cc347 SyncerError result = SyncerProtoUtil::PostClientToServerMessage(
352 DVLOG(2) << SyncerProtoUtil::ClientToServerResponseDebugString(
H A Dsync_directory_update_handler_unittest.cc171 EXPECT_FALSE(SyncerProtoUtil::ShouldMaintainPosition(*e));
203 EXPECT_FALSE(SyncerProtoUtil::ShouldMaintainPosition(*e));

Completed in 178 milliseconds