| 381 | } |
| 382 | |
| 383 | Status TestFlightServer::DoAction(const ServerCallContext& context, const Action& action, |
| 384 | std::unique_ptr<ResultStream>* out) { |
| 385 | if (action.type == "action1") { |
| 386 | return RunAction1(action, out); |
| 387 | } else if (action.type == "action2") { |
| 388 | return RunAction2(out); |
| 389 | } else if (action.type == "list-incoming-headers") { |
| 390 | return ListIncomingHeaders(context, action, out); |
| 391 | } else { |
| 392 | return Status::NotImplemented(action.type); |
| 393 | } |
| 394 | } |
| 395 | |
| 396 | Status TestFlightServer::ListActions(const ServerCallContext& context, |
| 397 | std::vector<ActionType>* out) { |
nothing calls this directly
no test coverage detected