#include "chrome/browser/media/router/media_router_feature.h"
#include <memory>
#include "base/test/scoped_feature_list.h"
#include "base/time/time.h"
#include "base/values.h"
#include "build/build_config.h"
#include "chrome/common/pref_names.h"
#include "chrome/test/base/testing_profile.h"
#include "components/media_router/common/pref_names.h"
#include "components/prefs/pref_registry_simple.h"
#include "components/prefs/testing_pref_service.h"
#include "components/sync_preferences/testing_pref_service_syncable.h"
#include "content/public/test/browser_task_environment.h"
#include "media/base/media_switches.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace media_router {
TEST(MediaRouterFeatureTest, GetCastAllowAllIPsPref) { … }
TEST(MediaRouterFeatureTest, GetReceiverIdHashToken) { … }
TEST(MediaRouterFeatureTest, GetCastMirroringPlayoutDelay) { … }
TEST(MediaRouterFeatureTest, GetCastMirroringPlayoutDelayCommandLine) { … }
class MediaRouterEnabledTest : public ::testing::Test { … };
TEST_F(MediaRouterEnabledTest, TestEnabledByPolicy) { … }
TEST_F(MediaRouterEnabledTest, TestDisabledByPolicy) { … }
}