diff options
author | arv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-03 00:35:23 +0000 |
---|---|---|
committer | arv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-03 00:35:23 +0000 |
commit | b85456f5a60e8080ef3a968344ac19b18ceb4fee (patch) | |
tree | 84cb83c2e280116519a26e4b1db29e19f1267cd5 /chrome/browser/extensions/extension_bookmark_manager_api.h | |
parent | ed83f8526a749b9342460606bde05300957468fb (diff) | |
download | chromium_src-b85456f5a60e8080ef3a968344ac19b18ceb4fee.zip chromium_src-b85456f5a60e8080ef3a968344ac19b18ceb4fee.tar.gz chromium_src-b85456f5a60e8080ef3a968344ac19b18ceb4fee.tar.bz2 |
Clean up bookmark manager extension api code a bit.
The macros used to verify the extension adds a return false but our function used to return a BookmarkNode*. I now changed this to a helper funciton that returns a pointer and NULL in the case of failure.
I also added a GetBookmarkNodesFromArguments which returns a vector.
BUG=None
TEST=Bookmark manager copy/paste should still work.
Review URL: http://codereview.chromium.org/561024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37911 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_bookmark_manager_api.h')
-rw-r--r-- | chrome/browser/extensions/extension_bookmark_manager_api.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/chrome/browser/extensions/extension_bookmark_manager_api.h b/chrome/browser/extensions/extension_bookmark_manager_api.h index 188164e..aab4422 100644 --- a/chrome/browser/extensions/extension_bookmark_manager_api.h +++ b/chrome/browser/extensions/extension_bookmark_manager_api.h @@ -14,8 +14,6 @@ class BookmarkNode; class ClipboardBookmarkManagerFunction : public BookmarksFunction { protected: bool CopyOrCut(bool cut); - // Returns a single bookmark node from the ID passed as the first argument. - const BookmarkNode* GetNodeFromArguments(); }; class CopyBookmarkManagerFunction : public ClipboardBookmarkManagerFunction { |