summaryrefslogtreecommitdiffstats
path: root/sync/engine/syncer_proto_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sync/engine/syncer_proto_util.cc')
-rw-r--r--sync/engine/syncer_proto_util.cc22
1 files changed, 0 insertions, 22 deletions
diff --git a/sync/engine/syncer_proto_util.cc b/sync/engine/syncer_proto_util.cc
index c28d7c2..b21525c 100644
--- a/sync/engine/syncer_proto_util.cc
+++ b/sync/engine/syncer_proto_util.cc
@@ -522,28 +522,6 @@ bool SyncerProtoUtil::ShouldMaintainPosition(
}
// static
-void SyncerProtoUtil::CopyProtoBytesIntoBlob(const std::string& proto_bytes,
- syncable::Blob* blob) {
- syncable::Blob proto_blob(proto_bytes.begin(), proto_bytes.end());
- blob->swap(proto_blob);
-}
-
-// static
-bool SyncerProtoUtil::ProtoBytesEqualsBlob(const std::string& proto_bytes,
- const syncable::Blob& blob) {
- if (proto_bytes.size() != blob.size())
- return false;
- return std::equal(proto_bytes.begin(), proto_bytes.end(), blob.begin());
-}
-
-// static
-void SyncerProtoUtil::CopyBlobIntoProtoBytes(const syncable::Blob& blob,
- std::string* proto_bytes) {
- std::string blob_string(blob.begin(), blob.end());
- proto_bytes->swap(blob_string);
-}
-
-// static
const std::string& SyncerProtoUtil::NameFromSyncEntity(
const sync_pb::SyncEntity& entry) {
if (entry.has_non_unique_name())