chromium/extensions/browser/api/feedback_private/feedback_private_api.h

// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef EXTENSIONS_BROWSER_API_FEEDBACK_PRIVATE_FEEDBACK_PRIVATE_API_H_
#define EXTENSIONS_BROWSER_API_FEEDBACK_PRIVATE_FEEDBACK_PRIVATE_API_H_

#include <memory>

#include "base/memory/raw_ptr.h"
#include "base/memory/scoped_refptr.h"
#include "build/chromeos_buildflags.h"
#include "components/feedback/system_logs/system_logs_source.h"
#include "extensions/browser/api/feedback_private/feedback_service.h"
#include "extensions/browser/browser_context_keyed_api_factory.h"
#include "extensions/browser/extension_function.h"
#include "extensions/common/api/feedback_private.h"
#include "ui/gfx/geometry/rect.h"

namespace extensions {

#if BUILDFLAG(IS_CHROMEOS_ASH)
class LogSourceAccessManager;
#endif  // BUILDFLAG(IS_CHROMEOS_ASH)

class FeedbackPrivateAPI : public BrowserContextKeyedAPI {};

class FeedbackPrivateGetUserEmailFunction : public ExtensionFunction {};

class FeedbackPrivateGetSystemInformationFunction : public ExtensionFunction {};

// This function only reads from actual log sources on Chrome OS. On other
// platforms, it just returns EmptyResponse().
class FeedbackPrivateReadLogSourceFunction : public ExtensionFunction {};

class FeedbackPrivateSendFeedbackFunction : public ExtensionFunction {};

class FeedbackPrivateOpenFeedbackFunction : public ExtensionFunction {};

}  // namespace extensions

#endif  // EXTENSIONS_BROWSER_API_FEEDBACK_PRIVATE_FEEDBACK_PRIVATE_API_H_