#include "chrome/browser/metrics/first_web_contents_profiler_base.h"
#include "build/build_config.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_window.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "content/public/browser/navigation_entry.h"
#include "content/public/browser/navigation_handle.h"
#include "content/public/browser/web_contents_observer.h"
namespace metrics {
FirstWebContentsProfilerBase::FirstWebContentsProfilerBase(
content::WebContents* web_contents)
: … { … }
FirstWebContentsProfilerBase::~FirstWebContentsProfilerBase() = default;
content::WebContents* FirstWebContentsProfilerBase::GetVisibleContents(
Browser* browser) { … }
void FirstWebContentsProfilerBase::DidStartNavigation(
content::NavigationHandle* navigation_handle) { … }
void FirstWebContentsProfilerBase::DidFinishNavigation(
content::NavigationHandle* navigation_handle) { … }
void FirstWebContentsProfilerBase::DidFirstVisuallyNonEmptyPaint() { … }
void FirstWebContentsProfilerBase::OnVisibilityChanged(
content::Visibility visibility) { … }
void FirstWebContentsProfilerBase::WebContentsDestroyed() { … }
void FirstWebContentsProfilerBase::FinishedCollectingMetrics(
StartupProfilingFinishReason finish_reason) { … }
}