From c5d637fbb15874caa0d9669ac8cc79912ed4d5d9 Mon Sep 17 00:00:00 2001 From: Jarred Sumner Date: Sat, 9 Apr 2022 19:53:17 -0700 Subject: WIP --- .../bindings/webcore/JSFetchRequestCredentials.h | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 src/javascript/jsc/bindings/webcore/JSFetchRequestCredentials.h (limited to 'src/javascript/jsc/bindings/webcore/JSFetchRequestCredentials.h') diff --git a/src/javascript/jsc/bindings/webcore/JSFetchRequestCredentials.h b/src/javascript/jsc/bindings/webcore/JSFetchRequestCredentials.h new file mode 100644 index 000000000..74030df84 --- /dev/null +++ b/src/javascript/jsc/bindings/webcore/JSFetchRequestCredentials.h @@ -0,0 +1,34 @@ +/* + This file is part of the WebKit open source project. + This file has been generated by generate-bindings.pl. DO NOT MODIFY! + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public License + along with this library; see the file COPYING.LIB. If not, write to + the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. +*/ + +#pragma once + +#include "FetchRequestCredentials.h" +#include "JSDOMConvertEnumeration.h" + +namespace WebCore { + +String convertEnumerationToString(FetchRequestCredentials); +template<> JSC::JSString* convertEnumerationToJS(JSC::JSGlobalObject&, FetchRequestCredentials); + +template<> std::optional parseEnumeration(JSC::JSGlobalObject&, JSC::JSValue); +template<> const char* expectedEnumerationValues(); + +} // namespace WebCore -- cgit v1.2.3