#ifndef THIRD_PARTY_BLINK_RENDERER_BINDINGS_CORE_V8_V8_COMPILE_HINTS_PRODUCER_H_
#define THIRD_PARTY_BLINK_RENDERER_BINDINGS_CORE_V8_V8_COMPILE_HINTS_PRODUCER_H_
#include "third_party/blink/renderer/bindings/buildflags.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
#if BUILDFLAG(PRODUCE_V8_COMPILE_HINTS)
#include "third_party/blink/renderer/platform/heap/collection_support/heap_vector.h"
#include "third_party/blink/renderer/platform/heap/member.h"
#include "third_party/blink/renderer/platform/wtf/vector.h"
#include "v8/include/v8-traced-handle.h"
#include "v8/include/v8.h"
namespace blink {
class ExecutionContext;
class Frame;
class Page;
class ScriptState;
namespace v8_compile_hints {
class V8CrowdsourcedCompileHintsProducer
: public GarbageCollected<V8CrowdsourcedCompileHintsProducer> { … };
}
}
#else
namespace blink {
class Page;
namespace v8_compile_hints {
class V8CrowdsourcedCompileHintsProducer
: public GarbageCollected<V8CrowdsourcedCompileHintsProducer> {
public:
explicit V8CrowdsourcedCompileHintsProducer(Page* page) {}
V8CrowdsourcedCompileHintsProducer(
const V8CrowdsourcedCompileHintsProducer&) = delete;
V8CrowdsourcedCompileHintsProducer& operator=(
const V8CrowdsourcedCompileHintsProducer&) = delete;
void GenerateData() {}
void Trace(Visitor* visitor) const {}
bool MightGenerateData() const { return false; }
void ClearData() {}
};
}
}
#endif
#endif