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

Unified Diff: chrome/browser/instant/instant_field_trial.h

Issue 7558014: Add a URL param to indicate group selection in Instant field trial. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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: chrome/browser/instant/instant_field_trial.h
diff --git a/chrome/browser/instant/instant_field_trial.h b/chrome/browser/instant/instant_field_trial.h
index fd808f60058ad29b0396e75f73296f070986104e..2fdc7187e4395d61461d3bd647695d9d05ce596e 100644
--- a/chrome/browser/instant/instant_field_trial.h
+++ b/chrome/browser/instant/instant_field_trial.h
@@ -51,6 +51,9 @@ class InstantFieldTrial {
// names, to split histograms by field trial groups.
static std::string GetGroupName(Profile* profile);
+ // Returns a string denoting the user's group, for adding as a URL param.
+ static std::string GetGroupAsUrlParam(Profile* profile);
+
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(InstantFieldTrial);
};

Powered by Google App Engine
This is Rietveld 408576698