| Index: components/metrics/call_stack_profile_metrics_provider.cc
|
| diff --git a/components/metrics/call_stack_profile_metrics_provider.cc b/components/metrics/call_stack_profile_metrics_provider.cc
|
| index 9f323fdc28a48f2708826ddd768e1a8118dc8367..6e320c82067651a5cf5390b6de17656d3ca8e9fa 100644
|
| --- a/components/metrics/call_stack_profile_metrics_provider.cc
|
| +++ b/components/metrics/call_stack_profile_metrics_provider.cc
|
| @@ -89,7 +89,6 @@ class PendingProfiles {
|
| public:
|
| static PendingProfiles* GetInstance();
|
|
|
| - void Clear();
|
| void Swap(std::vector<ProfilesState>* profiles);
|
|
|
| // Enables the collection of profiles by CollectProfilesIfCollectionEnabled if
|
| @@ -136,11 +135,6 @@ PendingProfiles* PendingProfiles::GetInstance() {
|
| base::LeakySingletonTraits<PendingProfiles>>::get();
|
| }
|
|
|
| -void PendingProfiles::Clear() {
|
| - base::AutoLock scoped_lock(lock_);
|
| - profiles_.clear();
|
| -}
|
| -
|
| void PendingProfiles::Swap(std::vector<ProfilesState>* profiles) {
|
| base::AutoLock scoped_lock(lock_);
|
| profiles_.swap(*profiles);
|
|
|