summaryrefslogtreecommitdiffstats
path: root/chrome/browser/bookmarks
diff options
context:
space:
mode:
authorpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-10 16:27:41 +0000
committerpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-10 16:27:41 +0000
commit187eaa7886d5c8045889f32f363dc8820e0168d1 (patch)
tree2880fb7cfe5d8b49e1f6b030462f22490a01a580 /chrome/browser/bookmarks
parente08cc13997d6f129fbc58d9100ff5e9d4a819237 (diff)
downloadchromium_src-187eaa7886d5c8045889f32f363dc8820e0168d1.zip
chromium_src-187eaa7886d5c8045889f32f363dc8820e0168d1.tar.gz
chromium_src-187eaa7886d5c8045889f32f363dc8820e0168d1.tar.bz2
Added a method to check if a browser is closing.
Added a method to get the next node ID for bookmarks managed by the bookmark model. Added AppleScript support. Added scripting definition file. Added support for saving tab. Added localization support. Added consistent error nos/error messages. (patch developed by v.a.shreyas@gmail.com) BUG=27468 TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55569 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/bookmarks')
-rw-r--r--chrome/browser/bookmarks/bookmark_model.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/bookmarks/bookmark_model.h b/chrome/browser/bookmarks/bookmark_model.h
index 6048315..00730d7 100644
--- a/chrome/browser/bookmarks/bookmark_model.h
+++ b/chrome/browser/bookmarks/bookmark_model.h
@@ -366,6 +366,9 @@ class BookmarkModel : public NotificationObserver, public BookmarkService {
// Returns whether the bookmarks file changed externally.
bool file_changed() const { return file_changed_; }
+ // Returns the next node ID.
+ int64 next_node_id() const { return next_node_id_; }
+
private:
// Used to order BookmarkNodes by URL.
class NodeURLComparator {