#ifndef THIRD_PARTY_BLINK_RENDERER_BINDINGS_CORE_V8_V8_STRING_RESOURCE_H_
#define THIRD_PARTY_BLINK_RENDERER_BINDINGS_CORE_V8_V8_STRING_RESOURCE_H_
#include "base/notreached.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"
#include "third_party/blink/renderer/platform/bindings/string_resource.h"
#include "third_party/blink/renderer/platform/bindings/to_blink_string.h"
#include "third_party/blink/renderer/platform/wtf/allocator/allocator.h"
#include "third_party/blink/renderer/platform/wtf/text/atomic_string.h"
#include "third_party/blink/renderer/platform/wtf/text/string_view.h"
#include "third_party/blink/renderer/platform/wtf/threading.h"
#include "v8/include/v8.h"
namespace blink {
enum V8StringResourceMode { … };
template <V8StringResourceMode Mode = kDefaultMode>
class V8StringResource { … };
template <>
inline bool V8StringResource<kDefaultMode>::IsValid() const { … }
template <>
inline String V8StringResource<kDefaultMode>::FallbackString() const { … }
template <>
inline bool V8StringResource<kTreatNullAsEmptyString>::IsValid() const { … }
template <>
inline String V8StringResource<kTreatNullAsEmptyString>::FallbackString()
const { … }
template <>
inline bool V8StringResource<kTreatNullAsNullString>::IsValid() const { … }
template <>
inline String V8StringResource<kTreatNullAsNullString>::FallbackString() const { … }
template <>
inline bool V8StringResource<kTreatNullAndUndefinedAsNullString>::IsValid()
const { … }
template <>
inline String
V8StringResource<kTreatNullAndUndefinedAsNullString>::FallbackString() const { … }
}
#endif