| Index: content/public/browser/tracing_controller.h
|
| diff --git a/content/public/browser/tracing_controller.h b/content/public/browser/tracing_controller.h
|
| index ae46199d2b9d55d7eec35bbf2abb74bab194d9f5..3353089dab4fb4e7d926959d03575f331109d6d1 100644
|
| --- a/content/public/browser/tracing_controller.h
|
| +++ b/content/public/browser/tracing_controller.h
|
| @@ -8,6 +8,7 @@
|
| #include <set>
|
|
|
| #include "base/debug/trace_event.h"
|
| +#include "base/debug/trace_event_synthetic_delay.h"
|
| #include "content/common/content_export.h"
|
|
|
| namespace base {
|
| @@ -146,6 +147,17 @@ class TracingController {
|
| virtual bool GetTraceBufferPercentFull(
|
| const GetTraceBufferPercentFullCallback& callback) = 0;
|
|
|
| + // Configure a synthetic delay for all processes.
|
| + //
|
| + // Once all child processes have acked the delay configuration,
|
| + // ConfigureSyntheticDelayCallback is called back.
|
| + typedef base::Callback<void()> ConfigureSyntheticDelayCallback;
|
| + virtual void ConfigureSyntheticDelay(
|
| + const std::string& name,
|
| + base::TimeDelta target_duration,
|
| + base::debug::TraceEventSyntheticDelay::Mode mode,
|
| + const ConfigureSyntheticDelayCallback& callback) = 0;
|
| +
|
| protected:
|
| virtual ~TracingController() {}
|
| };
|
|
|