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

Side by Side Diff: content/public/browser/profiler_subscriber.h

Issue 8588023: Collect profiler stats from browser child processes. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 | Annotate | Revision Log
Property Changes:
Added: svn:executable
+ *
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698