Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(487)

Unified Diff: components/metrics/call_stack_profile_metrics_provider.cc

Issue 2480203002: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Sync CL to position 430550 Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/infobars/core/infobar_delegate.h ('k') | components/metrics/metrics_log.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « components/infobars/core/infobar_delegate.h ('k') | components/metrics/metrics_log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698