| Index: base/metrics/field_trial.h
|
| diff --git a/base/metrics/field_trial.h b/base/metrics/field_trial.h
|
| index 509ace4f77df5a6ec62a80d13eb18f19813a482b..14793bf5606f97e411633213234ad0b0b328e8d9 100644
|
| --- a/base/metrics/field_trial.h
|
| +++ b/base/metrics/field_trial.h
|
| @@ -69,6 +69,7 @@
|
| #include "base/macros.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "base/memory/shared_memory.h"
|
| +#include "base/metrics/field_trial_param_associator.h"
|
| #include "base/metrics/persistent_memory_allocator.h"
|
| #include "base/observer_list_threadsafe.h"
|
| #include "base/process/launch.h"
|
| @@ -428,6 +429,9 @@ class BASE_EXPORT FieldTrialList {
|
| // metrics, crashes, etc.
|
| static std::string FindFullName(const std::string& trial_name);
|
|
|
| + static bool FindParams(const std::string& trial_name,
|
| + FieldTrialParamAssociator::FieldTrialParams* params);
|
| +
|
| // Returns true if the named trial has been registered.
|
| static bool TrialExists(const std::string& trial_name);
|
|
|
| @@ -539,6 +543,7 @@ class BASE_EXPORT FieldTrialList {
|
| // Allow tests to access our innards for testing purposes.
|
| FRIEND_TEST_ALL_PREFIXES(FieldTrialListTest, InstantiateAllocator);
|
| FRIEND_TEST_ALL_PREFIXES(FieldTrialListTest, AddTrialsToAllocator);
|
| + FRIEND_TEST_ALL_PREFIXES(FieldTrialListTest, AssociateFieldTrialParams);
|
|
|
| // Expects a mapped piece of shared memory |shm| that was created from the
|
| // browser process's field_trial_allocator and shared via the command line.
|
|
|