#include "third_party/blink/renderer/modules/shared_storage/util.h"
#include "base/feature_list.h"
#include "base/memory/scoped_refptr.h"
#include "components/aggregation_service/aggregation_coordinator_utils.h"
#include "third_party/blink/public/common/features.h"
#include "third_party/blink/public/common/shared_storage/shared_storage_utils.h"
#include "third_party/blink/public/mojom/permissions_policy/permissions_policy_feature.mojom-blink.h"
#include "third_party/blink/public/mojom/shared_storage/shared_storage.mojom-blink.h"
#include "third_party/blink/renderer/bindings/core/v8/script_promise_resolver.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_throw_dom_exception.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_shared_storage_private_aggregation_config.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_shared_storage_run_operation_method_options.h"
#include "third_party/blink/renderer/core/execution_context/execution_context.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"
#include "third_party/blink/renderer/platform/bindings/script_state.h"
#include "third_party/blink/renderer/platform/weborigin/security_origin.h"
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"
namespace blink {
bool StringFromV8(v8::Isolate* isolate, v8::Local<v8::Value> val, String* out) { … }
bool CheckBrowsingContextIsValid(ScriptState& script_state,
ExceptionState& exception_state) { … }
bool CheckSharedStoragePermissionsPolicy(ScriptState& script_state,
ExecutionContext& execution_context,
ScriptPromiseResolverBase& resolver) { … }
bool CheckPrivateAggregationConfig(
const SharedStorageRunOperationMethodOptions& options,
ScriptState& script_state,
ScriptPromiseResolverBase& resolver,
mojom::blink::PrivateAggregationConfigPtr& out_private_aggregation_config) { … }
}