#include "content/browser/scheduler/responsiveness/metric_source.h"
#include "base/functional/bind.h"
#include "base/pending_task.h"
#include "build/build_config.h"
#include "content/browser/scheduler/responsiveness/message_loop_observer.h"
#include "content/browser/scheduler/responsiveness/native_event_observer.h"
#include "content/public/browser/browser_task_traits.h"
#include "content/public/browser/browser_thread.h"
namespace content {
namespace responsiveness {
MetricSource::Delegate::~Delegate() = default;
MetricSource::MetricSource(Delegate* delegate) : … { … }
void MetricSource::SetUp() { … }
void MetricSource::Destroy(base::ScopedClosureRunner on_finish_destroy) { … }
std::unique_ptr<NativeEventObserver> MetricSource::CreateNativeEventObserver() { … }
MetricSource::~MetricSource() { … }
void MetricSource::RegisterMessageLoopObserverUI() { … }
void MetricSource::RegisterMessageLoopObserverIO() { … }
void MetricSource::SetUpOnIOThread() { … }
void MetricSource::TearDownOnIOThread(
base::ScopedClosureRunner on_finish_destroy) { … }
void MetricSource::TearDownOnUIThread(
base::ScopedClosureRunner on_finish_destroy) { … }
}
}