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

Unified Diff: base/metrics/field_trial.h

Issue 11783033: Fix problem where field trials using kExpirationYearInFuture could get disabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 11 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 | base/metrics/field_trial.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/metrics/field_trial.h
===================================================================
--- base/metrics/field_trial.h (revision 175535)
+++ base/metrics/field_trial.h (working copy)
@@ -283,8 +283,9 @@
// second process to mimic our state (i.e., provide the same group name).
static const char kPersistentStringSeparator; // Currently a slash.
- // Define expiration year in future. It is initialized to two years from Now.
- static int kExpirationYearInFuture;
+ // Year that is guaranteed to not be expired when instantiating a field trial
+ // via |FactoryGetFieldTrial()|. Set to two years from the build date.
Ilya Sherman 2013/01/08 21:18:53 nit: Please use two spaces after the period for co
Alexei Svitkine (slow) 2013/01/09 15:24:58 Done.
+ static int kExpirationYearNotExpired;
Ilya Sherman 2013/01/08 21:18:53 nit: I think the previous name was slightly cleare
Alexei Svitkine (slow) 2013/01/08 21:56:22 The reason I changed the name is because after thi
Ilya Sherman 2013/01/08 22:02:04 I agree that the new name is more technically corr
Alexei Svitkine (slow) 2013/01/09 15:24:58 Changed to kNoExpirationYear.
// Observer is notified when a FieldTrial's group is selected.
class BASE_EXPORT Observer {
« no previous file with comments | « no previous file | base/metrics/field_trial.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698