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

Unified Diff: components/metrics/metrics_service.h

Issue 421653005: Adding synthetic field trial for DataReductionProxyEnabled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@newPltWithCL
Patch Set: Addressed asvitkine comments Created 6 years, 5 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
Index: components/metrics/metrics_service.h
diff --git a/components/metrics/metrics_service.h b/components/metrics/metrics_service.h
index b0dcb82beaa053d5a89fbeed8fefffdb5f2e1f76..7171dc0d21df90763e225124a6960bd1d4d85af0 100644
--- a/components/metrics/metrics_service.h
+++ b/components/metrics/metrics_service.h
@@ -67,6 +67,8 @@ struct SyntheticTrialGroup {
base::TimeTicks start_time;
private:
+ // Synthetic field trial users:
+ friend class ChromeMetricsServiceAccessor;
Alexei Svitkine (slow) 2014/07/30 19:00:32 Can you change this to be MetricsServiceAccessor?
megjablon 2014/07/30 21:27:07 Does this looks like what you want?
friend class MetricsService;
FRIEND_TEST_ALL_PREFIXES(MetricsServiceTest, RegisterSyntheticTrial);

Powered by Google App Engine
This is Rietveld 408576698