#include "components/performance_manager/public/decorators/page_load_tracker_decorator_helper.h"
#include "base/functional/bind.h"
#include "base/memory/raw_ptr.h"
#include "components/performance_manager/decorators/page_load_tracker_decorator.h"
#include "components/performance_manager/graph/page_node_impl.h"
#include "components/performance_manager/performance_manager_impl.h"
#include "components/performance_manager/public/performance_manager.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/web_contents.h"
#include "content/public/browser/web_contents_observer.h"
namespace performance_manager {
namespace {
void NotifyPageLoadTrackerDecoratorOnPMSequence(content::WebContents* contents,
void (*method)(PageNodeImpl*)) { … }
}
class PageLoadTrackerDecoratorHelper::WebContentsObserver
: public content::WebContentsObserver { … };
PageLoadTrackerDecoratorHelper::PageLoadTrackerDecoratorHelper() { … }
PageLoadTrackerDecoratorHelper::~PageLoadTrackerDecoratorHelper() { … }
void PageLoadTrackerDecoratorHelper::OnPageNodeCreatedForWebContents(
content::WebContents* web_contents) { … }
}