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

Unified Diff: chrome_frame/test/run_all_unittests.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
« no previous file with comments | « chrome_frame/chrome_tab.cc ('k') | content/renderer/renderer_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/test/run_all_unittests.cc
===================================================================
--- chrome_frame/test/run_all_unittests.cc (revision 152812)
+++ chrome_frame/test/run_all_unittests.cc (working copy)
@@ -11,6 +11,7 @@
#include "base/threading/platform_thread.h"
#include "base/win/scoped_com_initializer.h"
#include "chrome/common/chrome_paths.h"
+#include "chrome/common/metrics/entropy_provider.h"
#include "chrome/test/logging/win/test_log_collector.h"
#include "chrome_frame/crash_server_init.h"
#include "chrome_frame/test/chrome_frame_test_utils.h"
@@ -54,7 +55,7 @@
// Set up a FieldTrialList to keep any field trials we have going in
// Chrome Frame happy.
- base::FieldTrialList field_trial_list("42");
+ base::FieldTrialList field_trial_list(new metrics::SHA1EntropyProvider("42"));
base::TestSuite test_suite(argc, argv);
« no previous file with comments | « chrome_frame/chrome_tab.cc ('k') | content/renderer/renderer_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698