diff options
Diffstat (limited to 'src/buildtool/execution_api/execution_service')
-rw-r--r-- | src/buildtool/execution_api/execution_service/bytestream_server.hpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/buildtool/execution_api/execution_service/bytestream_server.hpp b/src/buildtool/execution_api/execution_service/bytestream_server.hpp index f4c000f0..69a30713 100644 --- a/src/buildtool/execution_api/execution_service/bytestream_server.hpp +++ b/src/buildtool/execution_api/execution_service/bytestream_server.hpp @@ -27,7 +27,7 @@ class BytestreamServiceImpl : public ::google::bytestream::ByteStream::Service { // responses are delivered as the results of a server-side streaming RPC. auto Read(::grpc::ServerContext* context, const ::google::bytestream::ReadRequest* request, - ::grpc::ServerWriter< ::google::bytestream::ReadResponse>* writer) + ::grpc::ServerWriter<::google::bytestream::ReadResponse>* writer) -> ::grpc::Status override; // `Write()` is used to send the contents of a resource as a sequence of // bytes. The bytes are sent in a sequence of request protos of a @@ -51,10 +51,9 @@ class BytestreamServiceImpl : public ::google::bytestream::ByteStream::Service { // check the `WriteResponse` it receives to determine how much data the // service was able to commit and whether the service views the resource as // `complete` or not. - auto Write( - ::grpc::ServerContext* context, - ::grpc::ServerReader< ::google::bytestream::WriteRequest>* reader, - ::google::bytestream::WriteResponse* response) + auto Write(::grpc::ServerContext* context, + ::grpc::ServerReader<::google::bytestream::WriteRequest>* reader, + ::google::bytestream::WriteResponse* response) -> ::grpc::Status override; // `QueryWriteStatus()` is used to find the `committed_size` for a resource // that is being written, which can then be used as the `write_offset` for |