Home
last modified time | relevance | path

Searched refs:proto_bytes (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/sync/engine/
Dsyncer_proto_util.h65 static void CopyProtoBytesIntoBlob(const std::string& proto_bytes,
67 static bool ProtoBytesEqualsBlob(const std::string& proto_bytes,
70 std::string* proto_bytes);
Dsyncer_proto_util.cc510 void SyncerProtoUtil::CopyProtoBytesIntoBlob(const std::string& proto_bytes, in CopyProtoBytesIntoBlob() argument
512 syncable::Blob proto_blob(proto_bytes.begin(), proto_bytes.end()); in CopyProtoBytesIntoBlob()
517 bool SyncerProtoUtil::ProtoBytesEqualsBlob(const std::string& proto_bytes, in ProtoBytesEqualsBlob() argument
519 if (proto_bytes.size() != blob.size()) in ProtoBytesEqualsBlob()
521 return std::equal(proto_bytes.begin(), proto_bytes.end(), blob.begin()); in ProtoBytesEqualsBlob()
526 std::string* proto_bytes) { in CopyBlobIntoProtoBytes() argument
528 proto_bytes->swap(blob_string); in CopyBlobIntoProtoBytes()