#include "headless/lib/headless_content_client.h"
#include "components/embedder_support/origin_trials/origin_trial_policy_impl.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/resource/resource_bundle.h"
namespace headless {
HeadlessContentClient::HeadlessContentClient() = default;
HeadlessContentClient::~HeadlessContentClient() = default;
std::u16string HeadlessContentClient::GetLocalizedString(int message_id) { … }
std::string_view HeadlessContentClient::GetDataResource(
int resource_id,
ui::ResourceScaleFactor scale_factor) { … }
base::RefCountedMemory* HeadlessContentClient::GetDataResourceBytes(
int resource_id) { … }
std::string HeadlessContentClient::GetDataResourceString(int resource_id) { … }
gfx::Image& HeadlessContentClient::GetNativeImageNamed(int resource_id) { … }
blink::OriginTrialPolicy* HeadlessContentClient::GetOriginTrialPolicy() { … }
}