Index: components/rappor/byte_vector_utils.h |
diff --git a/components/rappor/byte_vector_utils.h b/components/rappor/byte_vector_utils.h |
index 73775528044ab18117d5861813d9e86c2c2c08a6..71ce88f49438b320c192a46b5ef052a1708c1a14 100644 |
--- a/components/rappor/byte_vector_utils.h |
+++ b/components/rappor/byte_vector_utils.h |
@@ -11,6 +11,7 @@ |
#include <vector> |
#include "base/macros.h" |
+#include "base/strings/string_piece.h" |
#include "components/rappor/rappor_parameters.h" |
#include "crypto/hmac.h" |
@@ -83,7 +84,7 @@ class HmacByteVectorGenerator : public ByteVectorGenerator { |
// number generator. The string parameters are treated as byte arrays. |
HmacByteVectorGenerator(size_t byte_count, |
const std::string& entropy_input, |
- const std::string& personalization_string); |
+ base::StringPiece personalization_string); |
~HmacByteVectorGenerator() override; |