chromium/chrome/test/media_router/media_router_e2e_browsertest.cc

// Copyright 2015 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/test/media_router/media_router_e2e_browsertest.h"

#include <memory>
#include <vector>

#include "base/command_line.h"
#include "base/containers/contains.h"
#include "base/functional/bind.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser_finder.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "chrome/test/base/ui_test_utils.h"
#include "components/media_router/browser/media_router.h"
#include "components/media_router/browser/media_router_factory.h"
#include "components/media_router/common/media_source.h"
#include "components/media_router/common/route_request_result.h"
#include "components/sessions/content/session_tab_helper.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/test_utils.h"
#include "media/base/test_data_util.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/origin.h"

namespace {
// URL to launch Castv2Player_Staging app on Chromecast
const char kCastAppPresentationUrl[] =;
const char kVideo[] =;
const char kBearVP9Video[] =;
const char kOrigin[] =;
}  // namespace

namespace media_router {

MediaRouterE2EBrowserTest::MediaRouterE2EBrowserTest()
    :{}

MediaRouterE2EBrowserTest::~MediaRouterE2EBrowserTest() {}

void MediaRouterE2EBrowserTest::SetUpOnMainThread() {}

void MediaRouterE2EBrowserTest::TearDownOnMainThread() {}

bool MediaRouterE2EBrowserTest::RequiresMediaRouteProviders() const {}

void MediaRouterE2EBrowserTest::OnRouteResponseReceived(
    mojom::RoutePresentationConnectionPtr,
    const RouteRequestResult& result) {}

void MediaRouterE2EBrowserTest::CreateMediaRoute(
    const MediaSource& source,
    const url::Origin& origin,
    content::WebContents* web_contents) {}

void MediaRouterE2EBrowserTest::StopMediaRoute() {}

bool MediaRouterE2EBrowserTest::IsSinkDiscovered() const {}

bool MediaRouterE2EBrowserTest::IsRouteCreated() const {}

void MediaRouterE2EBrowserTest::OpenMediaPage() {}

// Test cases

IN_PROC_BROWSER_TEST_P(MediaRouterE2EBrowserTest, MANUAL_TabMirroring) {}

IN_PROC_BROWSER_TEST_P(MediaRouterE2EBrowserTest, MANUAL_CastApp) {}

INSTANTIATE_MEDIA_ROUTER_INTEGRATION_BROWER_TEST_SUITE();

}  // namespace media_router