|
OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CONTENT_PUBLIC_BROWSER_PROFILER_SUBSCRIBER_H_ | |
6 #define CONTENT_PUBLIC_BROWSER_PROFILER_SUBSCRIBER_H_ | |
7 | |
8 #include "content/common/content_export.h" | |
9 | |
10 namespace base { | |
11 class DictionaryValue; | |
12 } | |
13 | |
14 // Objects interested in receiving profiler data derive from ProfilerSubscriber. | |
15 // See also: profiler_message_filter.h | |
16 // See also: child_profiler_message_filter.h | |
jam
2011/11/28 15:17:34
nit: these two comments aren't necessary, someone
ramant (doing other things)
2011/11/29 01:32:20
Done.
| |
17 class CONTENT_EXPORT ProfilerSubscriber { | |
jam
2011/11/28 15:17:34
all classes in content/public have to be in the co
ramant (doing other things)
2011/11/29 01:32:20
Done.
| |
18 public: | |
19 virtual ~ProfilerSubscriber() {} | |
20 | |
21 virtual void OnPendingProcesses(int sequence_number, | |
jam
2011/11/28 15:17:34
nit: here and below, please add comments for the m
ramant (doing other things)
2011/11/29 01:32:20
Done.
| |
22 int pending_processes) = 0; | |
23 | |
24 virtual void OnProfilerDataCollected( | |
25 int sequence_number, | |
26 const base::DictionaryValue& profiler_data) = 0; | |
27 }; | |
28 | |
29 #endif // CONTENT_PUBLIC_BROWSER_PROFILER_SUBSCRIBER_H_ | |
OLD | NEW |