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

Side by Side Diff: content/public/browser/profiler_synchronizer.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_SYNCHRONIZER_H_
6 #define CONTENT_PUBLIC_BROWSER_PROFILER_SYNCHRONIZER_H_
7 #pragma once
8
9 #include "content/common/content_export.h"
10
11 namespace content {
12
13 // Contact all processes and ask them to profiler data. It returns 2 to indicate
14 // that ProfilerController's OnPendingProcesses will be called once for renderer
15 // processes and another for browser child processes.
16 CONTENT_EXPORT int GetProfilerData(int sequence_number);
jam 2011/11/28 15:17:34 just a few general notes about the api: -it seems
ramant (doing other things) 2011/11/29 01:32:20 Didn't want chrome code to know how many type proc
jam 2011/11/30 00:22:25 but it's not hiding it if we tell the embedder thi
17
18 // Contact all processes and set profiler status to |enable|.
19 CONTENT_EXPORT void SetProfilerStatus(bool enable);
20
21 } // namespace content
22
23 #endif // CONTENT_PUBLIC_BROWSER_PROFILER_SYNCHRONIZER_H_
OLDNEW
« content/public/browser/profiler_subscriber.h ('K') | « content/public/browser/profiler_subscriber.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698