Index: components/rappor/byte_vector_utils.h |
diff --git a/components/rappor/byte_vector_utils.h b/components/rappor/byte_vector_utils.h |
index 3090d9bc76f5d33bac0d0100600b387477fd4775..f4c6b462dfcbf8923289ea65098c7bef673da62b 100644 |
--- a/components/rappor/byte_vector_utils.h |
+++ b/components/rappor/byte_vector_utils.h |
@@ -17,6 +17,9 @@ namespace rappor { |
// A vector of 8-bit integers used to store a set of binary bits. |
typedef std::vector<uint8_t> ByteVector; |
+// Converts the lowest |size| bytes of |value| into a ByteVector. |
+void Uint64ToByteVector(uint64_t value, size_t size, ByteVector* output); |
+ |
// Computes a bitwise AND of byte vectors and stores the result in rhs. |
// Returns rhs for chaining. |
ByteVector* ByteVectorAnd(const ByteVector& lhs, ByteVector* rhs); |