From 3f8e1a85ed8e52bae47629b8a283381376dfe2bf Mon Sep 17 00:00:00 2001 From: Jonathan Tatum Date: Thu, 1 May 2025 17:36:26 -0700 Subject: [PATCH] Inline reference to renamed class. PiperOrigin-RevId: 753791440 --- runtime/BUILD | 1 - runtime/runtime.h | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/runtime/BUILD b/runtime/BUILD index 0c32fbdce..f4c1e3f04 100644 --- a/runtime/BUILD +++ b/runtime/BUILD @@ -190,7 +190,6 @@ cc_library( ":activation_interface", ":runtime_issue", "//base:ast", - "//base:data", "//common:native_type", "//common:value", "@com_google_absl//absl/base:core_headers", diff --git a/runtime/runtime.h b/runtime/runtime.h index cb5b66363..7386a5cee 100644 --- a/runtime/runtime.h +++ b/runtime/runtime.h @@ -28,8 +28,8 @@ #include "absl/status/status.h" #include "absl/status/statusor.h" #include "base/ast.h" -#include "base/type_provider.h" #include "common/native_type.h" +#include "common/type_reflector.h" #include "common/value.h" #include "runtime/activation_interface.h" #include "runtime/runtime_issue.h" @@ -80,7 +80,7 @@ class Program { return Evaluate(arena, /*message_factory=*/nullptr, activation); } - virtual const TypeProvider& GetTypeProvider() const = 0; + virtual const TypeReflector& GetTypeProvider() const = 0; }; // Representation for a traceable CEL expression. @@ -170,7 +170,7 @@ class Runtime { CreateTraceableProgram(std::unique_ptr ast, const CreateProgramOptions& options) const = 0; - virtual const TypeProvider& GetTypeProvider() const = 0; + virtual const TypeReflector& GetTypeProvider() const = 0; virtual const google::protobuf::DescriptorPool* ABSL_NONNULL GetDescriptorPool() const = 0;