blob: 22fd0458ce51650f740022d4e02ada2322694437 [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 GARNET_BIN_FEEDBACK_DATA_FEEDBACK_AGENT_H_
#define GARNET_BIN_FEEDBACK_DATA_FEEDBACK_AGENT_H_
#include <fuchsia/feedback/cpp/fidl.h>
namespace fuchsia {
namespace feedback {
// Provides data useful to attach in feedback reports (crash or user feedback).
class FeedbackAgent : public DataProvider {
public:
// Returns a PNG image of the current view.
void GetPngScreenshot(GetPngScreenshotCallback callback) override;
};
} // namespace feedback
} // namespace fuchsia
#endif // GARNET_BIN_FEEDBACK_DATA_FEEDBACK_AGENT_H_