Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(501)

Unified Diff: components/variations/active_field_trials.cc

Issue 2950173003: Support add-on 'field trial' records. (Closed)
Patch Set: addressed review comments by asvitkine Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/variations/active_field_trials.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/variations/active_field_trials.cc
diff --git a/components/variations/active_field_trials.cc b/components/variations/active_field_trials.cc
index 71ff95d7e9f126defc1c3d4deb1c7058a30b37a2..bf35bc060cbc2ae4fe26ceba7098b2cef7a3ed1a 100644
--- a/components/variations/active_field_trials.cc
+++ b/components/variations/active_field_trials.cc
@@ -40,8 +40,8 @@ void AppendActiveGroupIdsAsStrings(
} // namespace
-ActiveGroupId MakeActiveGroupId(const std::string& trial_name,
- const std::string& group_name) {
+ActiveGroupId MakeActiveGroupId(base::StringPiece trial_name,
+ base::StringPiece group_name) {
ActiveGroupId id;
id.name = metrics::HashName(trial_name);
id.group = metrics::HashName(group_name);
« no previous file with comments | « components/variations/active_field_trials.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698