chromium/chrome/browser/ui/views/media_router/cast_dialog_metrics_unittest.cc

// Copyright 2018 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/ui/views/media_router/cast_dialog_metrics.h"

#include "base/test/metrics/histogram_tester.h"
#include "base/time/time.h"
#include "chrome/browser/ui/media_router/ui_media_sink.h"
#include "chrome/browser/ui/views/media_router/cast_dialog_sink_button.h"
#include "chrome/common/pref_names.h"
#include "chrome/test/base/testing_profile.h"
#include "chrome/test/views/chrome_views_test_base.h"
#include "components/media_router/common/mojom/media_route_provider_id.mojom-shared.h"
#include "components/media_router/common/pref_names.h"
#include "components/prefs/pref_service.h"
#include "content/public/test/browser_task_environment.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

Bucket;
ElementsAre;

namespace media_router {

namespace {

const base::Time init_time =;
const base::Time paint_time =;
const base::Time sink_load_time =;
const base::Time start_casting_time =;
const base::Time close_dialog_time =;

}  // namespace

class CastDialogMetricsTest : public ChromeViewsTestBase {};

TEST_F(CastDialogMetricsTest, OnSinksLoaded) {}

TEST_F(CastDialogMetricsTest, OnStartCasting) {}

TEST_F(CastDialogMetricsTest, OnRecordSinkCount) {}

TEST_F(CastDialogMetricsTest, OnRecordSinkCountSinkView) {}

TEST_F(CastDialogMetricsTest, RecordIconState) {}

TEST_F(CastDialogMetricsTest, RecordDialogActivationLocationAndCastMode) {}

}  // namespace media_router