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

Unified Diff: chrome/browser/chrome_browser_field_trials.h

Issue 13255003: Add method to invoke mobile only field trials. Add a field trial that controls rollout of data comp… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Wrap everything in guades. Created 7 years, 9 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 | « no previous file | chrome/browser/chrome_browser_field_trials.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_browser_field_trials.h
diff --git a/chrome/browser/chrome_browser_field_trials.h b/chrome/browser/chrome_browser_field_trials.h
index bd0cf6274a365b29c9e48a9a0e30b67779269b59..7755af5685b1238e9e7b3fb3648bac693b9fef02 100644
--- a/chrome/browser/chrome_browser_field_trials.h
+++ b/chrome/browser/chrome_browser_field_trials.h
@@ -33,6 +33,15 @@ class ChromeBrowserFieldTrials {
// |local_state| is needed by some other methods called from within this one.
void SetupDesktopFieldTrials(PrefService* local_state);
+#if defined(OS_ANDROID) || defined(OS_IOS)
+ // Sets up mobile-only field trials.
+ // Add invocation of your field trial initialization code in this method.
+ void SetupMobileFieldTrials();
+
+ // Mobile compression rollout field trial.
+ void DataCompressionProxyFieldTrial();
+#endif // defined(OS_ANDROID) || defined(OS_IOS)
+
// This is not quite a field trial initialization, but it's an initialization
// that depends on a field trial, so why not? :-)
// |local_state| is needed to reset a local pref based on the chosen group.
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_field_trials.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698