chromium/media/base/watch_time_keys.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 "media/base/watch_time_keys.h"

#include "base/notreached.h"

namespace media {

// TODO(dalecurtis): Key strings aren't really necessary anymore, so instead
// of hard coding these, switch to generating them.

// Audio+video watch time metrics.
static const char kWatchTimeAudioVideoAll[] =;
static const char kWatchTimeAudioVideoMse[] =;
static const char kWatchTimeAudioVideoEme[] =;
static const char kWatchTimeAudioVideoSrc[] =;
static const char kWatchTimeAudioVideoBattery[] =;
static const char kWatchTimeAudioVideoAc[] =;
static const char kWatchTimeAudioVideoDisplayFullscreen[] =;
static const char kWatchTimeAudioVideoDisplayInline[] =;
static const char kWatchTimeAudioVideoDisplayPictureInPicture[] =;
static const char kWatchTimeAudioVideoEmbeddedExperience[] =;
static const char kWatchTimeAudioVideoNativeControlsOn[] =;
static const char kWatchTimeAudioVideoNativeControlsOff[] =;

// Audio only "watch time" metrics.
static const char kWatchTimeAudioAll[] =;
static const char kWatchTimeAudioMse[] =;
static const char kWatchTimeAudioEme[] =;
static const char kWatchTimeAudioSrc[] =;
static const char kWatchTimeAudioBattery[] =;
static const char kWatchTimeAudioAc[] =;
static const char kWatchTimeAudioEmbeddedExperience[] =;
static const char kWatchTimeAudioNativeControlsOn[] =;
static const char kWatchTimeAudioNativeControlsOff[] =;

static const char kWatchTimeAudioBackgroundAll[] =;
static const char kWatchTimeAudioBackgroundMse[] =;
static const char kWatchTimeAudioBackgroundEme[] =;
static const char kWatchTimeAudioBackgroundSrc[] =;
static const char kWatchTimeAudioBackgroundBattery[] =;
static const char kWatchTimeAudioBackgroundAc[] =;
static const char kWatchTimeAudioBackgroundEmbeddedExperience[] =;

// Audio+video background watch time metrics.
static const char kWatchTimeAudioVideoBackgroundAll[] =;
static const char kWatchTimeAudioVideoBackgroundMse[] =;
static const char kWatchTimeAudioVideoBackgroundEme[] =;
static const char kWatchTimeAudioVideoBackgroundSrc[] =;
static const char kWatchTimeAudioVideoBackgroundBattery[] =;
static const char kWatchTimeAudioVideoBackgroundAc[] =;
static const char kWatchTimeAudioVideoBackgroundEmbeddedExperience[] =;

// Audio+video muted watch time metrics.
static const char kWatchTimeAudioVideoMutedAll[] =;
static const char kWatchTimeAudioVideoMutedMse[] =;
static const char kWatchTimeAudioVideoMutedEme[] =;
static const char kWatchTimeAudioVideoMutedSrc[] =;

// Media Foundation AudioVideo watch time metric.
static const char kWatchTimeAudioVideoMediaFoundationAll[] =;
static const char kWatchTimeAudioVideoMediaFoundationEme[] =;

const char kWatchTimeUnderflowCount[] =;

const char kMeanTimeBetweenRebuffersAudioSrc[] =;
const char kMeanTimeBetweenRebuffersAudioMse[] =;
const char kMeanTimeBetweenRebuffersAudioEme[] =;
const char kMeanTimeBetweenRebuffersAudioVideoSrc[] =;
const char kMeanTimeBetweenRebuffersAudioVideoMse[] =;
const char kMeanTimeBetweenRebuffersAudioVideoEme[] =;

const char kRebuffersCountAudioSrc[] =;
const char kRebuffersCountAudioMse[] =;
const char kRebuffersCountAudioEme[] =;
const char kRebuffersCountAudioVideoSrc[] =;
const char kRebuffersCountAudioVideoMse[] =;
const char kRebuffersCountAudioVideoEme[] =;

const char kDiscardedWatchTimeAudioSrc[] =;
const char kDiscardedWatchTimeAudioMse[] =;
const char kDiscardedWatchTimeAudioEme[] =;
const char kDiscardedWatchTimeAudioVideoSrc[] =;
const char kDiscardedWatchTimeAudioVideoMse[] =;
const char kDiscardedWatchTimeAudioVideoEme[] =;

std::string_view ConvertWatchTimeKeyToStringForUma(WatchTimeKey key) {}

}  // namespace media