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

Side by Side Diff: components/metrics/profiler/tracking_synchronizer_delegate.h

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn Created 4 years, 12 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_METRICS_PROFILER_TRACKING_SYNCHRONIZER_DELEGATE_H_ 5 #ifndef COMPONENTS_METRICS_PROFILER_TRACKING_SYNCHRONIZER_DELEGATE_H_
6 #define COMPONENTS_METRICS_PROFILER_TRACKING_SYNCHRONIZER_DELEGATE_H_ 6 #define COMPONENTS_METRICS_PROFILER_TRACKING_SYNCHRONIZER_DELEGATE_H_
7 7
8 #include "base/basictypes.h"
9 8
10 namespace metrics { 9 namespace metrics {
11 10
12 class TrackingSynchronizer; 11 class TrackingSynchronizer;
13 12
14 // An abstraction of TrackingSynchronizer-related operations that depend on the 13 // An abstraction of TrackingSynchronizer-related operations that depend on the
15 // platform. 14 // platform.
16 class TrackingSynchronizerDelegate { 15 class TrackingSynchronizerDelegate {
17 public: 16 public:
18 virtual ~TrackingSynchronizerDelegate() {} 17 virtual ~TrackingSynchronizerDelegate() {}
19 18
20 // Should perform the platform-specific action that is needed to start 19 // Should perform the platform-specific action that is needed to start
21 // gathering profiler data for all relevant child processes. 20 // gathering profiler data for all relevant child processes.
22 virtual void GetProfilerDataForChildProcesses( 21 virtual void GetProfilerDataForChildProcesses(
23 int sequence_number, 22 int sequence_number,
24 int current_profiling_phase) = 0; 23 int current_profiling_phase) = 0;
25 24
26 // Called when |profiling_phase| has completed. 25 // Called when |profiling_phase| has completed.
27 virtual void OnProfilingPhaseCompleted(int profiling_phase) = 0; 26 virtual void OnProfilingPhaseCompleted(int profiling_phase) = 0;
28 }; 27 };
29 28
30 } // namespace metrics 29 } // namespace metrics
31 30
32 #endif // COMPONENTS_METRICS_PROFILER_TRACKING_SYNCHRONIZER_DELEGATE_H_ 31 #endif // COMPONENTS_METRICS_PROFILER_TRACKING_SYNCHRONIZER_DELEGATE_H_
OLDNEW
« no previous file with comments | « components/metrics/profiler/tracking_synchronizer.cc ('k') | components/metrics/profiler/tracking_synchronizer_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698