// 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. #include "third_party/blink/renderer/bindings/core/v8/v8_compile_hints_common.h" #include "base/containers/span.h" #include "base/hash/hash.h" #include "third_party/blink/renderer/platform/weborigin/kurl.h" namespace blink::v8_compile_hints { uint32_t ScriptNameHash(v8::Local<v8::Value> name_value, v8::Local<v8::Context> context, v8::Isolate* isolate) { … } uint32_t ScriptNameHash(const KURL& url) { … } uint32_t CombineHash(uint32_t script_name_hash, int position) { … } } // namespace blink::v8_compile_hints