#include "headless/lib/browser/headless_browser_context_options.h"
#include <string>
#include <utility>
namespace headless {
namespace {
template <class T>
const T& ReturnOverriddenValue(const std::optional<T>& value,
const T& default_value) { … }
}
HeadlessBrowserContextOptions::HeadlessBrowserContextOptions(
HeadlessBrowserContextOptions&& options) = default;
HeadlessBrowserContextOptions::~HeadlessBrowserContextOptions() = default;
HeadlessBrowserContextOptions& HeadlessBrowserContextOptions::operator=(
HeadlessBrowserContextOptions&& options) = default;
HeadlessBrowserContextOptions::HeadlessBrowserContextOptions(
HeadlessBrowser::Options* options)
: … { … }
const std::string& HeadlessBrowserContextOptions::accept_language() const { … }
const std::string& HeadlessBrowserContextOptions::user_agent() const { … }
const net::ProxyConfig* HeadlessBrowserContextOptions::proxy_config() const { … }
const gfx::Size& HeadlessBrowserContextOptions::window_size() const { … }
const base::FilePath& HeadlessBrowserContextOptions::user_data_dir() const { … }
const base::FilePath& HeadlessBrowserContextOptions::disk_cache_dir() const { … }
bool HeadlessBrowserContextOptions::incognito_mode() const { … }
bool HeadlessBrowserContextOptions::block_new_web_contents() const { … }
gfx::FontRenderParams::Hinting
HeadlessBrowserContextOptions::font_render_hinting() const { … }
}