// Copyright 2015 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_PUBLIC_BROWSER_BACKGROUND_TRACING_MANAGER_H_ #define CONTENT_PUBLIC_BROWSER_BACKGROUND_TRACING_MANAGER_H_ #include <memory> #include <string> #include "base/time/time.h" #include "base/token.h" #include "base/trace_event/trace_event_impl.h" #include "content/common/content_export.h" #include "third_party/perfetto/protos/perfetto/config/chrome/scenario_config.gen.h" namespace content { class BackgroundTracingConfig; // BackgroundTracingManager is used on the browser process to trigger the // collection of trace data and upload the results. Only the browser UI thread // is allowed to interact with the BackgroundTracingManager. All callbacks are // called on the UI thread. class BackgroundTracingManager { … }; } // namespace content #endif // CONTENT_PUBLIC_BROWSER_BACKGROUND_TRACING_MANAGER_H_