diff options
author | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-14 23:14:59 +0000 |
---|---|---|
committer | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-14 23:14:59 +0000 |
commit | 61424c0631ac4cc5838cf6a80406fc98ca60220d (patch) | |
tree | 773f1a61d46c82b01886ff9dfff318292f67d8fb /chrome/browser/extensions/extension_bookmarks_module.h | |
parent | 980656f5f9500c6a79152434652b8817dd6b7a03 (diff) | |
download | chromium_src-61424c0631ac4cc5838cf6a80406fc98ca60220d.zip chromium_src-61424c0631ac4cc5838cf6a80406fc98ca60220d.tar.gz chromium_src-61424c0631ac4cc5838cf6a80406fc98ca60220d.tar.bz2 |
Small cleanup to extension function registration to avoid scattered definitions.
BUG=no
Review URL: http://codereview.chromium.org/274059
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29059 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_bookmarks_module.h')
-rw-r--r-- | chrome/browser/extensions/extension_bookmarks_module.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/chrome/browser/extensions/extension_bookmarks_module.h b/chrome/browser/extensions/extension_bookmarks_module.h index cb2cd6c..6d86bc8 100644 --- a/chrome/browser/extensions/extension_bookmarks_module.h +++ b/chrome/browser/extensions/extension_bookmarks_module.h @@ -82,34 +82,46 @@ class BookmarksFunction : public AsyncExtensionFunction, class GetBookmarksFunction : public BookmarksFunction { virtual bool RunImpl(); + DECLARE_EXTENSION_FUNCTION_NAME("bookmarks.get") }; class GetBookmarkChildrenFunction : public BookmarksFunction { virtual bool RunImpl(); + DECLARE_EXTENSION_FUNCTION_NAME("bookmarks.getChildren") }; class GetBookmarkTreeFunction : public BookmarksFunction { virtual bool RunImpl(); + DECLARE_EXTENSION_FUNCTION_NAME("bookmarks.getTree") }; class SearchBookmarksFunction : public BookmarksFunction { virtual bool RunImpl(); + DECLARE_EXTENSION_FUNCTION_NAME("bookmarks.search") }; class RemoveBookmarkFunction : public BookmarksFunction { virtual bool RunImpl(); + DECLARE_EXTENSION_FUNCTION_NAME("bookmarks.remove") +}; + +class RemoveTreeBookmarkFunction : public RemoveBookmarkFunction { + DECLARE_EXTENSION_FUNCTION_NAME("bookmarks.removeTree") }; class CreateBookmarkFunction : public BookmarksFunction { virtual bool RunImpl(); + DECLARE_EXTENSION_FUNCTION_NAME("bookmarks.create") }; class MoveBookmarkFunction : public BookmarksFunction { virtual bool RunImpl(); + DECLARE_EXTENSION_FUNCTION_NAME("bookmarks.move") }; class UpdateBookmarkFunction : public BookmarksFunction { virtual bool RunImpl(); + DECLARE_EXTENSION_FUNCTION_NAME("bookmarks.update") }; #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_BOOKMARKS_MODULE_H_ |