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

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

Issue 2511973004: components: Cleanup class/struct fwd declarations (Closed)
Patch Set: Rebase on top of current master branch Created 4 years 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
« no previous file with comments | « components/metrics/metrics_service.h ('k') | components/nacl/broker/nacl_broker_listener.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_OBSERVER_H_ 5 #ifndef COMPONENTS_METRICS_PROFILER_TRACKING_SYNCHRONIZER_OBSERVER_H_
6 #define COMPONENTS_METRICS_PROFILER_TRACKING_SYNCHRONIZER_OBSERVER_H_ 6 #define COMPONENTS_METRICS_PROFILER_TRACKING_SYNCHRONIZER_OBSERVER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/process/process_handle.h" 11 #include "base/process/process_handle.h"
12 #include "base/time/time.h" 12 #include "base/time/time.h"
13 #include "components/metrics/proto/chrome_user_metrics_extension.pb.h" 13 #include "components/metrics/proto/chrome_user_metrics_extension.pb.h"
14 14
15 namespace base {
16 class TimeDelta;
17 }
18
19 namespace tracked_objects { 15 namespace tracked_objects {
20 struct ProcessDataPhaseSnapshot; 16 struct ProcessDataPhaseSnapshot;
21 } 17 }
22 18
23 namespace metrics { 19 namespace metrics {
24 20
25 // Set of profiling events, in no guaranteed order. Implemented as a vector 21 // Set of profiling events, in no guaranteed order. Implemented as a vector
26 // because we don't need to have an efficient .find() on it, so vector<> is more 22 // because we don't need to have an efficient .find() on it, so vector<> is more
27 // efficient. 23 // efficient.
28 typedef std::vector<ProfilerEventProto::ProfilerEvent> ProfilerEvents; 24 typedef std::vector<ProfilerEventProto::ProfilerEvent> ProfilerEvents;
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 TrackingSynchronizerObserver() {} 75 TrackingSynchronizerObserver() {}
80 virtual ~TrackingSynchronizerObserver() {} 76 virtual ~TrackingSynchronizerObserver() {}
81 77
82 private: 78 private:
83 DISALLOW_COPY_AND_ASSIGN(TrackingSynchronizerObserver); 79 DISALLOW_COPY_AND_ASSIGN(TrackingSynchronizerObserver);
84 }; 80 };
85 81
86 } // namespace metrics 82 } // namespace metrics
87 83
88 #endif // COMPONENTS_METRICS_PROFILER_TRACKING_SYNCHRONIZER_OBSERVER_H_ 84 #endif // COMPONENTS_METRICS_PROFILER_TRACKING_SYNCHRONIZER_OBSERVER_H_
OLDNEW
« no previous file with comments | « components/metrics/metrics_service.h ('k') | components/nacl/broker/nacl_broker_listener.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698