chromium/chrome/browser/controlled_frame/controlled_frame_test_base.cc

// Copyright 2024 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/controlled_frame/controlled_frame_test_base.h"

#include <memory>
#include <optional>
#include <string>
#include <string_view>
#include <utility>

#include "base/types/expected.h"
#include "chrome/browser/web_applications/isolated_web_apps/isolated_web_app_url_info.h"
#include "chrome/browser/web_applications/isolated_web_apps/test/isolated_web_app_builder.h"
#include "chrome/common/chrome_features.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/common/content_features.h"
#include "content/public/common/content_switches.h"
#include "content/public/test/browser_test_utils.h"
#include "extensions/browser/guest_view/web_view/web_view_guest.h"

namespace controlled_frame {

ControlledFrameTestBase::ControlledFrameTestBase()
    :{}

ControlledFrameTestBase::ControlledFrameTestBase(
    const version_info::Channel& channel,
    const FeatureSetting& feature_setting,
    const FlagSetting& flag_setting)
    :{}

ControlledFrameTestBase::~ControlledFrameTestBase() = default;

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

std::string ControlledFrameTestBase::ConfigToString() {}

void ControlledFrameTestBase::ConfigureEnvironment() {}

void ControlledFrameTestBase::StartContentServer(
    std::string_view chrome_test_data_relative_dir) {}

web_app::IsolatedWebAppUrlInfo
ControlledFrameTestBase::CreateAndInstallEmptyApp(
    const web_app::ManifestBuilder& manifest_builder) {}

// Keep this in sync with web_kiosk_base_test.cc.
[[nodiscard]] bool ControlledFrameTestBase::CreateControlledFrame(
    content::RenderFrameHost* frame,
    const GURL& src) {}

std::pair<content::RenderFrameHost*, content::RenderFrameHost*>
ControlledFrameTestBase::InstallAndOpenIwaThenCreateControlledFrame(
    std::optional<std::string_view> controlled_frame_host_name,
    std::string_view controlled_frame_src_relative_url,
    web_app::ManifestBuilder manfest_buider) {}

extensions::WebViewGuest* ControlledFrameTestBase::GetWebViewGuest(
    content::RenderFrameHost* embedder_frame) {}

}  // namespace controlled_frame