#include "content/browser/scheduler/responsiveness/message_loop_observer.h"
#include "base/task/current_thread.h"
namespace content {
namespace responsiveness {
MessageLoopObserver::MessageLoopObserver(
WillProcessTaskCallback will_process_task_callback,
DidProcessTaskCallback did_process_task_callback)
: … { … }
MessageLoopObserver::~MessageLoopObserver() { … }
void MessageLoopObserver::WillProcessTask(const base::PendingTask& pending_task,
bool was_blocked_or_low_priority) { … }
void MessageLoopObserver::DidProcessTask(
const base::PendingTask& pending_task) { … }
}
}