Chromium Code Reviews| Index: content/public/browser/profiler_synchronizer.h |
| =================================================================== |
| --- content/public/browser/profiler_synchronizer.h (revision 0) |
| +++ content/public/browser/profiler_synchronizer.h (revision 0) |
| @@ -0,0 +1,23 @@ |
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CONTENT_PUBLIC_BROWSER_PROFILER_SYNCHRONIZER_H_ |
| +#define CONTENT_PUBLIC_BROWSER_PROFILER_SYNCHRONIZER_H_ |
| +#pragma once |
| + |
| +#include "content/common/content_export.h" |
| + |
| +namespace content { |
| + |
| +// Contact all processes and ask them to profiler data. It returns 2 to indicate |
| +// that ProfilerController's OnPendingProcesses will be called once for renderer |
| +// processes and another for browser child processes. |
| +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
|
| + |
| +// Contact all processes and set profiler status to |enable|. |
| +CONTENT_EXPORT void SetProfilerStatus(bool enable); |
| + |
| +} // namespace content |
| + |
| +#endif // CONTENT_PUBLIC_BROWSER_PROFILER_SYNCHRONIZER_H_ |
| Property changes on: content\public\browser\profiler_synchronizer.h |
| ___________________________________________________________________ |
| Added: svn:executable |
| + * |