diff options
Diffstat (limited to 'src/buildtool/execution_api/execution_service/server_implementation.hpp')
-rw-r--r-- | src/buildtool/execution_api/execution_service/server_implementation.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/buildtool/execution_api/execution_service/server_implementation.hpp b/src/buildtool/execution_api/execution_service/server_implementation.hpp index 581365ff..4abf744f 100644 --- a/src/buildtool/execution_api/execution_service/server_implementation.hpp +++ b/src/buildtool/execution_api/execution_service/server_implementation.hpp @@ -20,10 +20,11 @@ #include <string> #include "gsl/gsl" -#include "src/buildtool/execution_api/common/api_bundle.hpp" #include "src/buildtool/execution_api/local/context.hpp" #include "src/buildtool/execution_api/remote/context.hpp" +class LocalApi; + class ServerImpl final { public: [[nodiscard]] static auto Create( @@ -44,12 +45,11 @@ class ServerImpl final { /// \brief Start the execution service. /// \param local_context The LocalContext to be used. /// \param remote_context The RemoteContext to be used. - /// \param apis Apis to be used, only local api is actually - /// needed. + /// \param local_api The LocalApi used. /// \param op_exponent Log2 threshold for operation cache. auto Run(gsl::not_null<LocalContext const*> const& local_context, gsl::not_null<RemoteContext const*> const& remote_context, - ApiBundle const& apis, + gsl::not_null<LocalApi const*> const& local_api, std::optional<std::uint8_t> op_exponent) -> bool; private: |