#include "components/dom_distiller/content/browser/uma_helper.h"
#include "base/metrics/histogram_functions.h"
#include "base/time/time.h"
#include "components/dom_distiller/content/browser/distillability_driver.h"
#include "content/public/browser/visibility.h"
#include "content/public/browser/web_contents.h"
namespace dom_distiller {
void UMAHelper::DistillabilityDriverTimer::Start(bool is_distilled_page) { … }
void UMAHelper::DistillabilityDriverTimer::Resume() { … }
void UMAHelper::DistillabilityDriverTimer::Pause() { … }
void UMAHelper::DistillabilityDriverTimer::Reset() { … }
bool UMAHelper::DistillabilityDriverTimer::HasStarted() { … }
base::TimeDelta UMAHelper::DistillabilityDriverTimer::GetElapsedTime() { … }
void UMAHelper::RecordReaderModeEntry(ReaderModeEntryPoint entry_point) { … }
void UMAHelper::RecordReaderModeExit(ReaderModeEntryPoint exit_point) { … }
void UMAHelper::UpdateTimersOnContentsChange(
content::WebContents* web_contents,
content::WebContents* old_contents) { … }
void UMAHelper::StartTimerIfNeeded(content::WebContents* web_contents,
ReaderModePageType page_type) { … }
void UMAHelper::UpdateTimersOnNavigation(content::WebContents* web_contents,
ReaderModePageType page_type) { … }
}