blob: d194dcc4291157359c067832a5c237a7acb70a60 [file] [log] [blame]
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SRC_DEVELOPER_FEEDBACK_AGENT_ATTACHMENTS_H_
#define SRC_DEVELOPER_FEEDBACK_AGENT_ATTACHMENTS_H_
#include <fuchsia/feedback/cpp/fidl.h>
#include <lib/fit/promise.h>
#include <lib/sys/cpp/service_directory.h>
#include <vector>
namespace fuchsia {
namespace feedback {
// Returns attachments useful to attach in feedback reports (crash or user
// feedback).
std::vector<fit::promise<Attachment>> GetAttachments(
std::shared_ptr<::sys::ServiceDirectory> services);
} // namespace feedback
} // namespace fuchsia
#endif // SRC_DEVELOPER_FEEDBACK_AGENT_ATTACHMENTS_H_