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

Unified Diff: chrome/common/metrics/variations/variations_util_unittest.cc

Issue 10830318: Use a different algorithm with the low entropy source for field trials. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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/common/metrics/variations/variations_util_unittest.cc
===================================================================
--- chrome/common/metrics/variations/variations_util_unittest.cc (revision 151948)
+++ chrome/common/metrics/variations/variations_util_unittest.cc (working copy)
@@ -30,7 +30,7 @@
class VariationsHelperTest : public ::testing::Test {
public:
- VariationsHelperTest() {
+ VariationsHelperTest() : field_trial_list_(NULL) {
// Since the API can only be called on the UI thread, we have to fake that
// we're on it.
ui_thread_.reset(new content::TestBrowserThread(
@@ -49,6 +49,7 @@
int next_year_;
private:
+ base::FieldTrialList field_trial_list_;
MessageLoop message_loop_;
scoped_ptr<content::TestBrowserThread> ui_thread_;
};

Powered by Google App Engine
This is Rietveld 408576698