#ifndef CHROME_BROWSER_EXTENSIONS_API_READING_LIST_PRIVATE_READING_LIST_PRIVATE_API_H_
#define CHROME_BROWSER_EXTENSIONS_API_READING_LIST_PRIVATE_READING_LIST_PRIVATE_API_H_
#include "base/values.h"
#include "chrome/browser/extensions/chrome_extension_function.h"
#include "chrome/common/extensions/api/reading_list_private.h"
namespace content {
class WebContents;
}
namespace extensions {
class ReadingListPrivateAddEntryFunction : public ChromeAsyncExtensionFunction {
public:
DECLARE_EXTENSION_FUNCTION("readingListPrivate.addEntry",
READINGLISTPRIVATE_ADDENTRY)
protected:
virtual ~ReadingListPrivateAddEntryFunction() {}
virtual bool RunImpl() OVERRIDE;
};
class ReadingListPrivateRemoveEntryFunction
: public ChromeSyncExtensionFunction {
public:
DECLARE_EXTENSION_FUNCTION("readingListPrivate.removeEntry",
READINGLISTPRIVATE_REMOVEENTRY)
protected:
virtual ~ReadingListPrivateRemoveEntryFunction() {}
virtual bool RunImpl() OVERRIDE;
};
class ReadingListPrivateGetEntriesFunction
: public ChromeSyncExtensionFunction {
public:
DECLARE_EXTENSION_FUNCTION("readingListPrivate.getEntries",
READINGLISTPRIVATE_GETENTRIES)
protected:
virtual ~ReadingListPrivateGetEntriesFunction() {}
virtual bool RunImpl() OVERRIDE;
};
}
#endif