summaryrefslogtreecommitdiff
path: root/src/buildtool/execution_api/execution_service/execution_server.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtool/execution_api/execution_service/execution_server.hpp')
-rw-r--r--src/buildtool/execution_api/execution_service/execution_server.hpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/buildtool/execution_api/execution_service/execution_server.hpp b/src/buildtool/execution_api/execution_service/execution_server.hpp
index 2ae636da..09c750ec 100644
--- a/src/buildtool/execution_api/execution_service/execution_server.hpp
+++ b/src/buildtool/execution_api/execution_service/execution_server.hpp
@@ -143,11 +143,13 @@ class ExecutionServiceImpl final : public bazel_re::Execution::Service {
Logger logger_{"execution-service"};
[[nodiscard]] auto ToIExecutionAction(::bazel_re::Action const& action,
- ::bazel_re::Command const& command)
- const noexcept -> std::optional<IExecutionAction::Ptr>;
+ ::bazel_re::Command const& command,
+ bool legacy_client) const noexcept
+ -> std::optional<IExecutionAction::Ptr>;
[[nodiscard]] auto ToBazelExecuteResponse(
- gsl::not_null<LocalResponse*> const& local_response) const noexcept
+ gsl::not_null<LocalResponse*> const& local_response,
+ bool legacy_client) const noexcept
-> expected<::bazel_re::ExecuteResponse, std::string>;
void WriteResponse(