| Index: chrome/browser/metrics/variations/variations_service.h
|
| diff --git a/chrome/browser/metrics/variations/variations_service.h b/chrome/browser/metrics/variations/variations_service.h
|
| index 2ad70265263a69d70d7e0fe23fbbd4ab14478ade..72a9cebdb6c727d8000e69c9adb5438049f27cef 100644
|
| --- a/chrome/browser/metrics/variations/variations_service.h
|
| +++ b/chrome/browser/metrics/variations/variations_service.h
|
| @@ -26,6 +26,10 @@
|
| class PrefService;
|
| class PrefRegistrySimple;
|
|
|
| +namespace user_prefs {
|
| +class PrefRegistrySyncable;
|
| +}
|
| +
|
| namespace chrome_variations {
|
|
|
| class VariationsSeed;
|
| @@ -67,9 +71,16 @@ class VariationsService
|
| // Register Variations related prefs in Local State.
|
| static void RegisterPrefs(PrefRegistrySimple* registry);
|
|
|
| + // TODO
|
| + static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
|
| +
|
| // Factory method for creating a VariationsService.
|
| static VariationsService* Create(PrefService* local_state);
|
|
|
| + void set_policy_pref_service(PrefService* service) {
|
| + policy_pref_service_ = service;
|
| + }
|
| +
|
| protected:
|
| // Starts the fetching process once, where |OnURLFetchComplete| is called with
|
| // the response.
|
| @@ -110,6 +121,9 @@ class VariationsService
|
| // The pref service used to store persist the variations seed.
|
| PrefService* local_state_;
|
|
|
| + // TODO:
|
| + PrefService* policy_pref_service_;
|
| +
|
| VariationsSeedStore seed_store_;
|
|
|
| // Contains the scheduler instance that handles timing for requests to the
|
|
|