chromium/chrome/browser/media/media_engagement_session.cc

// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/media/media_engagement_session.h"

#include "chrome/browser/media/media_engagement_score.h"
#include "chrome/browser/media/media_engagement_service.h"
#include "media/base/media_switches.h"
#include "services/metrics/public/cpp/ukm_builders.h"
#include "services/metrics/public/cpp/ukm_entry_builder.h"
#include "services/metrics/public/cpp/ukm_recorder.h"

MediaEngagementSession::MediaEngagementSession(MediaEngagementService* service,
                                               const url::Origin& origin,
                                               RestoreType restore_status,
                                               ukm::SourceId ukm_source_id)
    :{}

bool MediaEngagementSession::IsSameOriginWith(const GURL& url) const {}

void MediaEngagementSession::RecordSignificantMediaElementPlayback() {}

void MediaEngagementSession::RecordSignificantAudioContextPlayback() {}

void MediaEngagementSession::RecordShortPlaybackIgnored(int length_msec) {}

void MediaEngagementSession::RegisterAudiblePlayers(
    int32_t audible_players,
    int32_t significant_players) {}

bool MediaEngagementSession::WasSignificantPlaybackRecorded() const {}

bool MediaEngagementSession::significant_media_element_playback_recorded()
    const {}

bool MediaEngagementSession::significant_audio_context_playback_recorded()
    const {}

const url::Origin& MediaEngagementSession::origin() const {}

MediaEngagementSession::~MediaEngagementSession() {}

void MediaEngagementSession::RecordSignificantPlayback() {}

void MediaEngagementSession::RecordUkmMetrics() {}

bool MediaEngagementSession::HasPendingPlaybackToCommit() const {}

bool MediaEngagementSession::HasPendingDataToCommit() const {}

void MediaEngagementSession::CommitPendingData() {}