Page MenuHomePhabricator

D4090.diff
No OneTemporary

D4090.diff

diff --git a/services/backup/src/BackupServiceImpl.h b/services/backup/src/BackupServiceImpl.h
--- a/services/backup/src/BackupServiceImpl.h
+++ b/services/backup/src/BackupServiceImpl.h
@@ -31,6 +31,10 @@
grpc::ServerWriteReactor<backup::PullBackupResponse> *PullBackup(
grpc::CallbackServerContext *context,
const backup::PullBackupRequest *request) override;
+
+ grpc::ServerReadReactor<backup::AddAttachmentRequest> *AddAttachment(
+ grpc::CallbackServerContext *context,
+ google::protobuf::Empty *response) override;
};
} // namespace network
diff --git a/services/backup/src/BackupServiceImpl.cpp b/services/backup/src/BackupServiceImpl.cpp
--- a/services/backup/src/BackupServiceImpl.cpp
+++ b/services/backup/src/BackupServiceImpl.cpp
@@ -1,5 +1,6 @@
#include "BackupServiceImpl.h"
+#include "AddAttachmentReactor.h"
#include "CreateNewBackupReactor.h"
#include "PullBackupReactor.h"
#include "RecoverBackupKeyReactor.h"
@@ -47,5 +48,12 @@
return reactor;
}
+grpc::ServerReadReactor<backup::AddAttachmentRequest> *
+BackupServiceImpl::AddAttachment(
+ grpc::CallbackServerContext *context,
+ google::protobuf::Empty *response) {
+ return new reactor::AddAttachmentReactor(response);
+}
+
} // namespace network
} // namespace comm

File Metadata

Mime Type
text/plain
Expires
Sat, Dec 28, 11:02 AM (7 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2725984
Default Alt Text
D4090.diff (1 KB)

Event Timeline