| Index: chrome/common/metrics/variations/variations_associated_data.cc
|
| diff --git a/chrome/common/metrics/variations/variations_associated_data.cc b/chrome/common/metrics/variations/variations_associated_data.cc
|
| index f74bc85bde80e61cd53aa6b38a37a73bd5c03e0c..9a1a56ec18dfaeda9b07d98337097b902601f9fa 100644
|
| --- a/chrome/common/metrics/variations/variations_associated_data.cc
|
| +++ b/chrome/common/metrics/variations/variations_associated_data.cc
|
| @@ -132,6 +132,11 @@ class VariationsParamAssociator {
|
| return true;
|
| }
|
|
|
| + void ClearAllParamsForTesting() {
|
| + base::AutoLock scoped_lock(lock_);
|
| + variation_params_.clear();
|
| + }
|
| +
|
| private:
|
| friend struct DefaultSingletonTraits<VariationsParamAssociator>;
|
|
|
| @@ -222,6 +227,10 @@ void ClearAllVariationIDs() {
|
| GroupMapAccessor::GetInstance()->ClearAllMapsForTesting();
|
| }
|
|
|
| +void ClearAllVariationParams() {
|
| + VariationsParamAssociator::GetInstance()->ClearAllParamsForTesting();
|
| +}
|
| +
|
| } // namespace testing
|
|
|
| } // namespace chrome_variations
|
|
|