| Index: chrome/browser/metrics/variations/variations_service.cc
|
| diff --git a/chrome/browser/metrics/variations/variations_service.cc b/chrome/browser/metrics/variations/variations_service.cc
|
| index 10255e3329435977af36d089fb765dfd0e35f810..1b7979c98aaa468b635b6e58466e3c975097ef6c 100644
|
| --- a/chrome/browser/metrics/variations/variations_service.cc
|
| +++ b/chrome/browser/metrics/variations/variations_service.cc
|
| @@ -15,6 +15,7 @@
|
| #include "base/version.h"
|
| #include "chrome/browser/browser_process.h"
|
| #include "chrome/browser/metrics/proto/trials_seed.pb.h"
|
| +#include "chrome/browser/prefs/pref_registry_simple.h"
|
| #include "chrome/browser/prefs/pref_service.h"
|
| #include "chrome/common/chrome_switches.h"
|
| #include "chrome/common/metrics/variations/variations_util.h"
|
| @@ -192,8 +193,9 @@ void VariationsService::SetCreateTrialsFromSeedCalledForTesting(bool called) {
|
| }
|
|
|
| // static
|
| -void VariationsService::RegisterPrefs(PrefServiceSimple* prefs) {
|
| - prefs->RegisterStringPref(prefs::kVariationsSeed, std::string());
|
| +void VariationsService::RegisterPrefs(PrefRegistrySimple* prefs) {
|
| + prefs
|
| +->RegisterStringPref(prefs::kVariationsSeed, std::string());
|
| prefs->RegisterInt64Pref(prefs::kVariationsSeedDate,
|
| base::Time().ToInternalValue());
|
| }
|
|
|