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

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: 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..65b795a16f904734202fef42276837ba431368fb 100644
--- a/components/metrics/metrics_service.h
+++ b/components/metrics/metrics_service.h
@@ -67,7 +67,9 @@ struct SyntheticTrialGroup {
base::TimeTicks start_time;
private:
+ //Synthetic field trial users:
friend class MetricsService;
+ friend class DataReductionProxyChromeSettings;
Alexei Svitkine (slow) 2014/07/30 17:27:04 This is a layering violation, since the component
megjablon 2014/07/30 18:50:48 Done.
FRIEND_TEST_ALL_PREFIXES(MetricsServiceTest, RegisterSyntheticTrial);
// This constructor is private specifically so as to control which code is

Powered by Google App Engine
This is Rietveld 408576698