OLD | NEW |
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_IOS_IOS_TRACKING_SYNCHRONIZER_DELEGATE_H_ | 5 #ifndef COMPONENTS_METRICS_PROFILER_IOS_IOS_TRACKING_SYNCHRONIZER_DELEGATE_H_ |
6 #define COMPONENTS_METRICS_PROFILER_IOS_IOS_TRACKING_SYNCHRONIZER_DELEGATE_H_ | 6 #define COMPONENTS_METRICS_PROFILER_IOS_IOS_TRACKING_SYNCHRONIZER_DELEGATE_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/macros.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "components/metrics/profiler/tracking_synchronizer_delegate.h" | 10 #include "components/metrics/profiler/tracking_synchronizer_delegate.h" |
11 | 11 |
12 namespace metrics { | 12 namespace metrics { |
13 | 13 |
14 // Provides an implementation of TrackingSynchronizerDelegate for usage on iOS. | 14 // Provides an implementation of TrackingSynchronizerDelegate for usage on iOS. |
15 // This implementation is minimal, as on iOS there are no child processes. | 15 // This implementation is minimal, as on iOS there are no child processes. |
16 class IOSTrackingSynchronizerDelegate : public TrackingSynchronizerDelegate { | 16 class IOSTrackingSynchronizerDelegate : public TrackingSynchronizerDelegate { |
17 public: | 17 public: |
18 ~IOSTrackingSynchronizerDelegate() override; | 18 ~IOSTrackingSynchronizerDelegate() override; |
(...skipping 12 matching lines...) Expand all Loading... |
31 void OnProfilingPhaseCompleted(int profiling_phase) override; | 31 void OnProfilingPhaseCompleted(int profiling_phase) override; |
32 | 32 |
33 TrackingSynchronizer* const synchronizer_; | 33 TrackingSynchronizer* const synchronizer_; |
34 | 34 |
35 DISALLOW_COPY_AND_ASSIGN(IOSTrackingSynchronizerDelegate); | 35 DISALLOW_COPY_AND_ASSIGN(IOSTrackingSynchronizerDelegate); |
36 }; | 36 }; |
37 | 37 |
38 } // namespace metrics | 38 } // namespace metrics |
39 | 39 |
40 #endif // COMPONENTS_METRICS_PROFILER_IOS_IOS_TRACKING_SYNCHRONIZER_DELEGATE_H_ | 40 #endif // COMPONENTS_METRICS_PROFILER_IOS_IOS_TRACKING_SYNCHRONIZER_DELEGATE_H_ |
OLD | NEW |