| Index: content/browser/profiler_message_filter.h
|
| diff --git a/content/browser/profiler_message_filter.h b/content/browser/profiler_message_filter.h
|
| index 79e6e942fef4097ff9e112fce80bc8b62c90241b..5fc569392e03ef8341a5cf26e34d27de58d433cb 100644
|
| --- a/content/browser/profiler_message_filter.h
|
| +++ b/content/browser/profiler_message_filter.h
|
| @@ -8,15 +8,18 @@
|
| #include <string>
|
|
|
| #include "content/public/browser/browser_message_filter.h"
|
| +#include "content/public/common/process_type.h"
|
|
|
| -namespace base {
|
| -class DictionaryValue;
|
| +namespace tracked_objects {
|
| +struct ProcessDataSnapshot;
|
| }
|
|
|
| +namespace content {
|
| +
|
| // This class sends and receives profiler messages in the browser process.
|
| -class ProfilerMessageFilter : public content::BrowserMessageFilter {
|
| +class ProfilerMessageFilter : public BrowserMessageFilter {
|
| public:
|
| - ProfilerMessageFilter();
|
| + explicit ProfilerMessageFilter(ProcessType process_type);
|
| virtual ~ProfilerMessageFilter();
|
|
|
| // content::BrowserMessageFilter implementation.
|
| @@ -28,11 +31,15 @@ class ProfilerMessageFilter : public content::BrowserMessageFilter {
|
|
|
| private:
|
| // Message handlers.
|
| - void OnChildProfilerData(int sequence_number,
|
| - const base::DictionaryValue& profiler_data);
|
| + void OnChildProfilerData(
|
| + int sequence_number,
|
| + const tracked_objects::ProcessDataSnapshot& profiler_data);
|
| +
|
| + ProcessType process_type_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(ProfilerMessageFilter);
|
| };
|
|
|
| -#endif // CONTENT_BROWSER_PROFILER_MESSAGE_FILTER_H_
|
| +} // namespace content
|
|
|
| +#endif // CONTENT_BROWSER_PROFILER_MESSAGE_FILTER_H_
|
|
|