Index: chrome/browser/bookmarks/bookmark_model.h |
=================================================================== |
--- chrome/browser/bookmarks/bookmark_model.h (revision 16874) |
+++ chrome/browser/bookmarks/bookmark_model.h (working copy) |
@@ -324,6 +324,10 @@ |
// testing. |
void ClearStore(); |
+ // Sets/returns whether or not bookmark IDs are persisted or not. |
+ bool PersistIDs() const { return persist_ids_; } |
+ void SetPersistIDs(bool value); |
+ |
private: |
// Used to order BookmarkNodes by URL. |
class NodeURLComparator { |
@@ -418,6 +422,11 @@ |
// the returned object. |
BookmarkStorage::LoadDetails* CreateLoadDetails(); |
+ // Registers bookmarks related prefs. |
+ void RegisterPreferences(); |
+ // Loads bookmark related preferences. |
+ void LoadPreferences(); |
+ |
NotificationRegistrar registrar_; |
Profile* profile_; |
@@ -425,6 +434,9 @@ |
// Whether the initial set of data has been loaded. |
bool loaded_; |
+ // Whether to persist bookmark IDs. |
+ bool persist_ids_; |
+ |
// The root node. This contains the bookmark bar node and the 'other' node as |
// children. |
BookmarkNode root_; |