|
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_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_ | |
OLD | NEW |