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_CONTENT_CONTENT_TRACKING_SYNCHRONIZER_DELEGA
TE_H_ | 5 #ifndef COMPONENTS_METRICS_PROFILER_CONTENT_CONTENT_TRACKING_SYNCHRONIZER_DELEGA
TE_H_ |
6 #define COMPONENTS_METRICS_PROFILER_CONTENT_CONTENT_TRACKING_SYNCHRONIZER_DELEGA
TE_H_ | 6 #define COMPONENTS_METRICS_PROFILER_CONTENT_CONTENT_TRACKING_SYNCHRONIZER_DELEGA
TE_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 #include "content/public/browser/profiler_subscriber.h" | 11 #include "content/public/browser/profiler_subscriber.h" |
12 | 12 |
13 namespace metrics { | 13 namespace metrics { |
14 | 14 |
15 // Provides an implementation of TrackingSynchronizerDelegate for use on | 15 // Provides an implementation of TrackingSynchronizerDelegate for use on |
16 // //content-based platforms. Specifically, drives the tracking of profiler data | 16 // //content-based platforms. Specifically, drives the tracking of profiler data |
17 // for child processes by interacting with content::ProfilerController. | 17 // for child processes by interacting with content::ProfilerController. |
18 class ContentTrackingSynchronizerDelegate : public TrackingSynchronizerDelegate, | 18 class ContentTrackingSynchronizerDelegate : public TrackingSynchronizerDelegate, |
(...skipping 24 matching lines...) Expand all Loading... |
43 content::ProcessType process_type) override; | 43 content::ProcessType process_type) override; |
44 | 44 |
45 TrackingSynchronizer* const synchronizer_; | 45 TrackingSynchronizer* const synchronizer_; |
46 | 46 |
47 DISALLOW_COPY_AND_ASSIGN(ContentTrackingSynchronizerDelegate); | 47 DISALLOW_COPY_AND_ASSIGN(ContentTrackingSynchronizerDelegate); |
48 }; | 48 }; |
49 | 49 |
50 } // namespace metrics | 50 } // namespace metrics |
51 | 51 |
52 #endif // COMPONENTS_METRICS_PROFILER_CONTENT_CONTENT_TRACKING_SYNCHRONIZER_DEL
EGATE_H_ | 52 #endif // COMPONENTS_METRICS_PROFILER_CONTENT_CONTENT_TRACKING_SYNCHRONIZER_DEL
EGATE_H_ |
OLD | NEW |