chromium/third_party/blink/renderer/modules/shared_storage/shared_storage_operation_definition.h

// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef THIRD_PARTY_BLINK_RENDERER_MODULES_SHARED_STORAGE_SHARED_STORAGE_OPERATION_DEFINITION_H_
#define THIRD_PARTY_BLINK_RENDERER_MODULES_SHARED_STORAGE_SHARED_STORAGE_OPERATION_DEFINITION_H_

#include "third_party/blink/renderer/modules/modules_export.h"
#include "third_party/blink/renderer/platform/bindings/name_client.h"
#include "third_party/blink/renderer/platform/bindings/script_state.h"
#include "third_party/blink/renderer/platform/bindings/trace_wrapper_v8_reference.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
#include "third_party/blink/renderer/platform/heap/member.h"
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"

namespace blink {

class V8NoArgumentConstructor;
class V8RunFunctionForSharedStorageSelectURLOperation;
class V8RunFunctionForSharedStorageRunOperation;

// The definition of the shared storage operation registered via
// `register(name, operation)`.
class MODULES_EXPORT SharedStorageOperationDefinition final
    : public GarbageCollected<SharedStorageOperationDefinition>,
      public NameClient {};

}  // namespace blink

#endif  // THIRD_PARTY_BLINK_RENDERER_MODULES_SHARED_STORAGE_SHARED_STORAGE_OPERATION_DEFINITION_H_