#include "third_party/blink/public/common/media/watch_time_component.h"
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/common/media/display_type.h"
namespace blink {
class WatchTimeInterceptor : public media::mojom::WatchTimeRecorder { … };
class WatchTimeComponentTest : public testing::Test { … };
constexpr media::WatchTimeKey kTestKey = …;
TEST_F(WatchTimeComponentTest, BasicFlow) { … }
TEST_F(WatchTimeComponentTest, SetCurrentValue) { … }
TEST_F(WatchTimeComponentTest, RecordDuringFinalizeRespectsCurrentTime) { … }
TEST_F(WatchTimeComponentTest, SetPendingValue) { … }
TEST_F(WatchTimeComponentTest, WithValueToKeyCB) { … }
TEST_F(WatchTimeComponentTest, NoAutomaticFinalize) { … }
}