Index: components/variations/active_field_trials.h |
diff --git a/components/variations/active_field_trials.h b/components/variations/active_field_trials.h |
index 9e4667738181bc549569b8e8dc5bd35455ec16ad..486377bd0209bd8e09ac1a7777433580090e1fbe 100644 |
--- a/components/variations/active_field_trials.h |
+++ b/components/variations/active_field_trials.h |
@@ -10,6 +10,7 @@ |
#include <string> |
#include "base/metrics/field_trial.h" |
+#include "base/strings/string_piece.h" |
namespace variations { |
@@ -21,8 +22,8 @@ struct ActiveGroupId { |
}; |
// Returns an ActiveGroupId struct for the given trial and group names. |
-ActiveGroupId MakeActiveGroupId(const std::string& trial_name, |
- const std::string& group_name); |
+ActiveGroupId MakeActiveGroupId(base::StringPiece trial_name, |
+ base::StringPiece group_name); |
// We need to supply a Compare class for templates since ActiveGroupId is a |
// user-defined type. |