| 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 380bd8eb31be91cb5a3a12216410f6d3706d6a83..389f34cca11678f01ac2f958e02a0d28cbc3fdd5 100644
|
| --- a/chrome/browser/metrics/variations/variations_service.h
|
| +++ b/chrome/browser/metrics/variations/variations_service.h
|
| @@ -99,11 +99,13 @@ class VariationsService
|
| PrefService* local_prefs);
|
|
|
| // Returns whether |study| should be disabled according to its restriction
|
| - // parameters. Uses |version_info| for min / max version checks and
|
| - // |reference_date| for the start date check.
|
| + // parameters. Uses |version_info| for min / max version checks,
|
| + // |reference_date| for the start date check and |channel| for channel
|
| + // checks.
|
| static bool ShouldAddStudy(const Study& study,
|
| const chrome::VersionInfo& version_info,
|
| - const base::Time& reference_date);
|
| + const base::Time& reference_date,
|
| + chrome::VersionInfo::Channel channel);
|
|
|
| // Checks whether a study is applicable for the given |channel| per |filter|.
|
| static bool CheckStudyChannel(const Study_Filter& filter,
|
|
|