Index: components/rappor/rappor_metric.cc |
diff --git a/components/rappor/rappor_metric.cc b/components/rappor/rappor_metric.cc |
index 2da3b312b77dbe72ebd416b6f3b24635d2126a64..ae2d0701254df12d98feaeffcac880fd0a82bd48 100644 |
--- a/components/rappor/rappor_metric.cc |
+++ b/components/rappor/rappor_metric.cc |
@@ -2,6 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+// Change for readability |
+ |
#include "components/rappor/rappor_metric.h" |
#include "base/logging.h" |
@@ -30,7 +32,7 @@ ByteVector RapporMetric::GetReport(const std::string& secret) const { |
// client's secret key + real data as a seed. The inclusion of the secret |
// in the seed avoids correlations between real and fake data. |
// The seed isn't a human-readable string. |
- std::string personalization_string = metric_name_ + |
+ const std::string personalization_string = metric_name_ + |
std::string(bytes().begin(), bytes().end()); |
HmacByteVectorGenerator hmac_generator(bytes().size(), secret, |
personalization_string); |