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

Unified Diff: net/disk_cache/backend_impl.cc

Issue 6213001: disable field trials if the build is 30 days or older (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 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 | « chrome/renderer/render_thread.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/backend_impl.cc
===================================================================
--- net/disk_cache/backend_impl.cc (revision 70854)
+++ net/disk_cache/backend_impl.cc (working copy)
@@ -182,7 +182,8 @@
scoped_refptr<base::FieldTrial> trial2(
new base::FieldTrial("CacheThrottle", 100));
int group2a = trial2->AppendGroup("CacheThrottle_On", 10); // 10 % in.
- trial2->AppendGroup("CacheThrottle_Off", 10); // 10 % control.
+ trial2->AppendGroup("CacheThrottle_Off",
+ base::FieldTrial::kAllRemainingProbability); // 90 % control.
rvargas (doing something else) 2011/01/12 19:25:14 This is not the same. The experiment has a control
jar (doing other things) 2011/01/13 00:04:56 As per our discussion.... We need some way to est
return trial2->group() == group2a;
}
« no previous file with comments | « chrome/renderer/render_thread.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698