#include "chrome/browser/extensions/api/reading_list/reading_list_api.h"
#include "base/containers/flat_set.h"
#include "base/location.h"
#include "base/time/time.h"
#include "chrome/browser/extensions/api/reading_list/reading_list_api_constants.h"
#include "chrome/browser/extensions/api/reading_list/reading_list_util.h"
#include "chrome/browser/reading_list/reading_list_model_factory.h"
#include "chrome/common/extensions/api/reading_list.h"
#include "components/reading_list/core/reading_list_entry.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"
#include "url/gurl.h"
namespace extensions {
ReadingListAddEntryFunction::ReadingListAddEntryFunction() = default;
ReadingListAddEntryFunction::~ReadingListAddEntryFunction() = default;
ExtensionFunction::ResponseAction ReadingListAddEntryFunction::Run() { … }
void ReadingListAddEntryFunction::ReadingListModelLoaded(
const ReadingListModel* model) { … }
ExtensionFunction::ResponseValue
ReadingListAddEntryFunction::AddEntryToReadingList() { … }
ReadingListRemoveEntryFunction::ReadingListRemoveEntryFunction() = default;
ReadingListRemoveEntryFunction::~ReadingListRemoveEntryFunction() = default;
ExtensionFunction::ResponseAction ReadingListRemoveEntryFunction::Run() { … }
void ReadingListRemoveEntryFunction::ReadingListModelLoaded(
const ReadingListModel* model) { … }
ExtensionFunction::ResponseValue
ReadingListRemoveEntryFunction::RemoveEntryFromReadingList() { … }
ReadingListUpdateEntryFunction::ReadingListUpdateEntryFunction() = default;
ReadingListUpdateEntryFunction::~ReadingListUpdateEntryFunction() = default;
ExtensionFunction::ResponseAction ReadingListUpdateEntryFunction::Run() { … }
void ReadingListUpdateEntryFunction::ReadingListModelLoaded(
const ReadingListModel* model) { … }
ExtensionFunction::ResponseValue
ReadingListUpdateEntryFunction::UpdateEntriesInTheReadingList() { … }
ReadingListQueryFunction::ReadingListQueryFunction() = default;
ReadingListQueryFunction::~ReadingListQueryFunction() = default;
ExtensionFunction::ResponseAction ReadingListQueryFunction::Run() { … }
void ReadingListQueryFunction::ReadingListModelLoaded(
const ReadingListModel* model) { … }
ExtensionFunction::ResponseValue ReadingListQueryFunction::MatchEntries() { … }
}