blob: 49c79269db9f6dbb87ef01c4a399683be7dfc1d0 [file] [log] [blame]
// Copyright 2021 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_WEBCODECS_HARDWARE_PREFERENCE_H_
#define THIRD_PARTY_BLINK_RENDERER_MODULES_WEBCODECS_HARDWARE_PREFERENCE_H_
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"
namespace blink {
enum class HardwarePreference {
kNoPreference,
kPreferSoftware,
kPreferHardware
};
HardwarePreference StringToHardwarePreference(const String& value);
} // namespace blink
#endif // THIRD_PARTY_BLINK_RENDERER_MODULES_WEBCODECS_HARDWARE_PREFERENCE_H_