diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-09 18:13:23 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-09 18:13:23 +0000 |
commit | 76624fdeda4c8409a6bfd8a5f48de00dbceb0760 (patch) | |
tree | 22bd8e87cf465edae499dfd6db54ee53372fceb5 /chrome/browser/bookmarks/bookmark_utils.h | |
parent | cf3962da7f15177d96837194323141d64f279c81 (diff) | |
download | chromium_src-76624fdeda4c8409a6bfd8a5f48de00dbceb0760.zip chromium_src-76624fdeda4c8409a6bfd8a5f48de00dbceb0760.tar.gz chromium_src-76624fdeda4c8409a6bfd8a5f48de00dbceb0760.tar.bz2 |
Allow the NTP to be bookmarked.
BUG=none
TEST=Try to bookmark the NTP.
Review URL: http://codereview.chromium.org/269028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28564 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/bookmarks/bookmark_utils.h')
-rw-r--r-- | chrome/browser/bookmarks/bookmark_utils.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/bookmarks/bookmark_utils.h b/chrome/browser/bookmarks/bookmark_utils.h index 0b5718d..116d41f 100644 --- a/chrome/browser/bookmarks/bookmark_utils.h +++ b/chrome/browser/bookmarks/bookmark_utils.h @@ -182,9 +182,8 @@ void RegisterPrefs(PrefService* prefs); // Register user prefs for BookmarkBar, BookmarkView, ... void RegisterUserPrefs(PrefService* prefs); -// Returns whether |tab_contents| can be bookmarked. If it can, |url| and -// |title| are filled in. Any of the parameters may be NULL. -bool GetURLAndTitleToBookmark(TabContents* tab_contents, +// Fills in the URL and title for a bookmark of |tab_contents|. +void GetURLAndTitleToBookmark(TabContents* tab_contents, GURL* url, std::wstring* title); |