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

Unified Diff: chrome/browser/android/metrics/uma_session_stats.cc

Issue 2569973002: Revert of Restrict transmission of external exp ids to signed in users. (Closed)
Patch Set: Created 4 years 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
Index: chrome/browser/android/metrics/uma_session_stats.cc
diff --git a/chrome/browser/android/metrics/uma_session_stats.cc b/chrome/browser/android/metrics/uma_session_stats.cc
index c318ddbde290a837b7cddf11af1d815616888bd1..d2ce89b1769eb5fce2eeb861b258f1fcf152a4d6 100644
--- a/chrome/browser/android/metrics/uma_session_stats.cc
+++ b/chrome/browser/android/metrics/uma_session_stats.cc
@@ -168,11 +168,8 @@
active_group.name = metrics::HashName(trial_name_utf8);
for (int experiment_id : experiment_ids) {
active_group.group = metrics::HashName(base::IntToString(experiment_id));
- // Since external experiments are not based on Chrome's low entropy source,
- // they are only sent to Google web properties for signed in users to make
- // sure that this couldn't be used to identify a user that's not signed in.
variations::AssociateGoogleVariationIDForceHashes(
- variations::GOOGLE_WEB_PROPERTIES_SIGNED_IN, active_group,
+ variations::GOOGLE_WEB_PROPERTIES, active_group,
static_cast<variations::VariationID>(experiment_id));
group_name_hashes.push_back(active_group.group);
}

Powered by Google App Engine
This is Rietveld 408576698