#include "chrome/renderer/worker_content_settings_client.h"
#include "base/memory/ptr_util.h"
#include "components/content_settings/renderer/content_settings_agent_impl.h"
#include "content/public/common/url_constants.h"
#include "content/public/renderer/render_frame.h"
#include "content/public/renderer/render_thread.h"
#include "third_party/blink/public/platform/browser_interface_broker_proxy.h"
#include "third_party/blink/public/platform/url_conversion.h"
#include "third_party/blink/public/platform/web_security_origin.h"
#include "third_party/blink/public/web/web_document.h"
#include "third_party/blink/public/web/web_local_frame.h"
#include "url/origin.h"
WorkerContentSettingsClient::WorkerContentSettingsClient(
content::RenderFrame* render_frame)
: … { … }
WorkerContentSettingsClient::WorkerContentSettingsClient(
const WorkerContentSettingsClient& other)
: … { … }
WorkerContentSettingsClient::~WorkerContentSettingsClient() { … }
std::unique_ptr<blink::WebContentSettingsClient>
WorkerContentSettingsClient::Clone() { … }
void WorkerContentSettingsClient::AllowStorageAccess(
StorageType storage_type,
base::OnceCallback<void(bool)> callback) { … }
bool WorkerContentSettingsClient::AllowStorageAccessSync(
StorageType storage_type) { … }
bool WorkerContentSettingsClient::AllowRunningInsecureContent(
bool allowed_per_settings,
const blink::WebURL& url) { … }
bool WorkerContentSettingsClient::ShouldAutoupgradeMixedContent() { … }
void WorkerContentSettingsClient::EnsureContentSettingsManager() const { … }