chromium/chrome/browser/extensions/api/reading_list/reading_list_api.h

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

#ifndef CHROME_BROWSER_EXTENSIONS_API_READING_LIST_READING_LIST_API_H_
#define CHROME_BROWSER_EXTENSIONS_API_READING_LIST_READING_LIST_API_H_

#include "base/scoped_observation.h"
#include "components/reading_list/core/reading_list_model.h"
#include "components/reading_list/core/reading_list_model_observer.h"
#include "extensions/browser/extension_function.h"

namespace extensions {

class ReadingListAddEntryFunction : public ExtensionFunction,
                                    public ReadingListModelObserver {};

class ReadingListRemoveEntryFunction : public ExtensionFunction,
                                       public ReadingListModelObserver {};

class ReadingListUpdateEntryFunction : public ExtensionFunction,
                                       public ReadingListModelObserver {};

class ReadingListQueryFunction : public ExtensionFunction,
                                 public ReadingListModelObserver {};

}  // namespace extensions

#endif  // CHROME_BROWSER_EXTENSIONS_API_READING_LIST_READING_LIST_API_H_