#include "chrome/renderer/bound_session_credentials/bound_session_request_throttled_in_renderer_manager.h"
#include <vector>
#include "base/functional/bind.h"
#include "base/sequence_checker.h"
#include "base/task/sequenced_task_runner.h"
#include "base/task/single_thread_task_runner.h"
#include "base/task/task_runner.h"
#include "chrome/common/renderer_configuration.mojom.h"
#include "content/public/child/child_thread.h"
#include "mojo/public/cpp/bindings/callback_helpers.h"
namespace {
UnblockAction;
ResumeOrCancelThrottledRequestCallback;
ResumeBlockedRequestsTrigger;
void OnHandleRequestBlockedOnCookie(
ResumeOrCancelThrottledRequestCallback callback,
ResumeBlockedRequestsTrigger trigger) { … }
}
scoped_refptr<BoundSessionRequestThrottledInRendererManager>
BoundSessionRequestThrottledInRendererManager::Create(
mojo::PendingRemote<chrome::mojom::BoundSessionRequestThrottledHandler>
pending_remote) { … }
BoundSessionRequestThrottledInRendererManager::
BoundSessionRequestThrottledInRendererManager() { … }
BoundSessionRequestThrottledInRendererManager::
~BoundSessionRequestThrottledInRendererManager() { … }
void BoundSessionRequestThrottledInRendererManager::Initialize(
mojo::PendingRemote<chrome::mojom::BoundSessionRequestThrottledHandler>
pending_remote) { … }
void BoundSessionRequestThrottledInRendererManager::
HandleRequestBlockedOnCookie(
const GURL& untrusted_request_url,
ResumeOrCancelThrottledRequestCallback callback) { … }