chromium/content/browser/media/capture/content_capture_device_browsertest_base.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 "content/browser/media/capture/content_capture_device_browsertest_base.h"

#include <cmath>
#include <utility>

#include "base/functional/bind.h"
#include "base/run_loop.h"
#include "base/strings/stringprintf.h"
#include "content/browser/media/capture/frame_sink_video_capture_device.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/browser/web_contents.h"
#include "content/public/common/url_constants.h"
#include "content/public/test/browser_test_utils.h"
#include "content/public/test/content_browser_test.h"
#include "content/public/test/content_browser_test_utils.h"
#include "content/public/test/test_utils.h"
#include "content/shell/browser/shell.h"
#include "content/shell/common/shell_switches.h"
#include "media/base/video_types.h"
#include "net/dns/mock_host_resolver.h"
#include "net/test/embedded_test_server/embedded_test_server.h"
#include "net/test/embedded_test_server/http_request.h"
#include "net/test/embedded_test_server/http_response.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/common/chrome_debug_urls.h"
#include "ui/display/display_switches.h"
#include "url/gurl.h"

BasicHttpResponse;
HttpRequest;
HttpResponse;

namespace content {

ContentCaptureDeviceBrowserTestBase::ContentCaptureDeviceBrowserTestBase() =
    default;

ContentCaptureDeviceBrowserTestBase::~ContentCaptureDeviceBrowserTestBase() =
    default;

void ContentCaptureDeviceBrowserTestBase::ChangePageContentColor(
    SkColor color) {}

gfx::Size ContentCaptureDeviceBrowserTestBase::GetExpectedSourceSize() {}

media::VideoCaptureParams
ContentCaptureDeviceBrowserTestBase::SnapshotCaptureParams() {}

media::VideoPixelFormat
ContentCaptureDeviceBrowserTestBase::GetVideoPixelFormat() const {}

base::TimeDelta ContentCaptureDeviceBrowserTestBase::GetMinCapturePeriod() {}

void ContentCaptureDeviceBrowserTestBase::NavigateToInitialDocument() {}

void ContentCaptureDeviceBrowserTestBase::
    AllocateAndStartAndWaitForFirstFrame() {}

void ContentCaptureDeviceBrowserTestBase::StopAndDeAllocate() {}

void ContentCaptureDeviceBrowserTestBase::RunUntilIdle() {}

void ContentCaptureDeviceBrowserTestBase::NavigateToAlternateSite() {}

void ContentCaptureDeviceBrowserTestBase::CrashTheRenderer() {}

void ContentCaptureDeviceBrowserTestBase::ReloadAfterCrash() {}

bool ContentCaptureDeviceBrowserTestBase::IsSoftwareCompositingTest() const {}

bool ContentCaptureDeviceBrowserTestBase::IsFixedAspectRatioTest() const {}

bool ContentCaptureDeviceBrowserTestBase::IsCrossSiteCaptureTest() const {}

void ContentCaptureDeviceBrowserTestBase::SetUp() {}

void ContentCaptureDeviceBrowserTestBase::SetUpCommandLine(
    base::CommandLine* command_line) {}

void ContentCaptureDeviceBrowserTestBase::SetUpOnMainThread() {}

void ContentCaptureDeviceBrowserTestBase::TearDownOnMainThread() {}

std::unique_ptr<HttpResponse>
ContentCaptureDeviceBrowserTestBase::HandleRequest(const HttpRequest& request) {}

// static
constexpr char ContentCaptureDeviceBrowserTestBase::kInnerFrameHostname[];
// static
constexpr char ContentCaptureDeviceBrowserTestBase::kInnerFramePath[];
// static
constexpr char ContentCaptureDeviceBrowserTestBase::kOuterFrameHostname[];
// static
constexpr char ContentCaptureDeviceBrowserTestBase::kOuterFramePath[];
// static
constexpr char ContentCaptureDeviceBrowserTestBase::kSingleFrameHostname[];
// static
constexpr char ContentCaptureDeviceBrowserTestBase::kSingleFramePath[];
// static
constexpr char ContentCaptureDeviceBrowserTestBase::kAlternateHostname[];
// static
constexpr char ContentCaptureDeviceBrowserTestBase::kAlternatePath[];

}  // namespace content