From eea8fd55353c798c2e58351be37dec3b5d69595b Mon Sep 17 00:00:00 2001 From: "sky@chromium.org" Date: Wed, 16 Dec 2009 00:08:10 +0000 Subject: Lands http://codereview.chromium.org/469009 for Thiago: bookmarks: Update parent (folder) modified time when we create a new bookmark node. BUG=none TEST=none Review URL: http://codereview.chromium.org/500005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34626 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/bookmarks/bookmark_model.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'chrome/browser/bookmarks/bookmark_model.h') diff --git a/chrome/browser/bookmarks/bookmark_model.h b/chrome/browser/bookmarks/bookmark_model.h index 5d03af7..ba66791 100644 --- a/chrome/browser/bookmarks/bookmark_model.h +++ b/chrome/browser/bookmarks/bookmark_model.h @@ -274,6 +274,9 @@ class BookmarkModel : public NotificationObserver, public BookmarkService { const std::wstring& title, bool is_starred); + // Sets the date modified time of the specified node. + void SetDateGroupModified(const BookmarkNode* parent, const base::Time time); + // Resets the 'date modified' time of the node to 0. This is used during // importing to exclude the newly created groups from showing up in the // combobox of most recently modified groups. @@ -356,9 +359,6 @@ class BookmarkModel : public NotificationObserver, public BookmarkService { // Returns true if the parent and index are valid. bool IsValidIndex(const BookmarkNode* parent, int index, bool allow_end); - // Sets the date modified time of the specified node. - void SetDateGroupModified(const BookmarkNode* parent, const base::Time time); - // Creates the bookmark bar/other nodes. These call into // CreateRootNodeFromStarredEntry. BookmarkNode* CreateBookmarkNode(); -- cgit v1.1