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

Unified Diff: components/metrics/profiler/tracking_synchronizer.h

Issue 666133002: Standardize usage of virtual/override/final in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months 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
Index: components/metrics/profiler/tracking_synchronizer.h
diff --git a/components/metrics/profiler/tracking_synchronizer.h b/components/metrics/profiler/tracking_synchronizer.h
index 2bc08e7d8c4339ef1200d35b20b048625c2e9f7c..fefe8d9457eb7c9e91798261f890cf3b7c9590d6 100644
--- a/components/metrics/profiler/tracking_synchronizer.h
+++ b/components/metrics/profiler/tracking_synchronizer.h
@@ -57,22 +57,22 @@ class TrackingSynchronizer
// Update the number of pending processes for the given |sequence_number|.
// This is called on UI thread.
- virtual void OnPendingProcesses(int sequence_number,
- int pending_processes,
- bool end) override;
+ void OnPendingProcesses(int sequence_number,
+ int pending_processes,
+ bool end) override;
private:
friend class base::RefCountedThreadSafe<TrackingSynchronizer>;
class RequestContext;
- virtual ~TrackingSynchronizer();
+ ~TrackingSynchronizer() override;
// Send profiler_data back to callback_object_ by calling
// DecrementPendingProcessesAndSendData which records that we are waiting
// for one less profiler data from renderer or browser child process for the
// given sequence number. This method is accessible on UI thread.
- virtual void OnProfilerDataCollected(
+ void OnProfilerDataCollected(
int sequence_number,
const tracked_objects::ProcessDataSnapshot& profiler_data,
int process_type) override;
« no previous file with comments | « components/metrics/profiler/profiler_metrics_provider.h ('k') | components/metrics/test_metrics_service_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698