1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
content / public / browser / media_player_watch_time.cc [blame]
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/public/browser/media_player_watch_time.h"
namespace content {
MediaPlayerWatchTime::MediaPlayerWatchTime(
GURL url,
GURL origin,
base::TimeDelta cumulative_watch_time,
base::TimeDelta last_timestamp,
bool has_video,
bool has_audio)
: url(url),
origin(origin),
cumulative_watch_time(cumulative_watch_time),
last_timestamp(last_timestamp),
has_video(has_video),
has_audio(has_audio) {}
MediaPlayerWatchTime::MediaPlayerWatchTime(const MediaPlayerWatchTime& other) =
default;
} // namespace content