chromium/third_party/blink/renderer/core/frame/settings_string_converter.h

// Copyright 2024 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_CORE_FRAME_SETTINGS_STRING_CONVERTER_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_FRAME_SETTINGS_STRING_CONVERTER_H_

#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"

// Converter from String to Type for the generated Settings::SetFromStrings().

namespace blink {

template <typename T>
struct FromString {};

template <>
struct FromString<String> {};

template <>
struct FromString<bool> {};

template <>
struct FromString<float> {};

template <>
struct FromString<double> {};

template <>
struct FromString<gfx::Size> {};

}  // namespace blink

#endif  // THIRD_PARTY_BLINK_RENDERER_CORE_FRAME_SETTINGS_STRING_CONVERTER_H_