Index: chrome/browser/bookmarks/bookmark_model.h |
diff --git a/chrome/browser/bookmarks/bookmark_model.h b/chrome/browser/bookmarks/bookmark_model.h |
index 5f42c1c223cdbfb6ab07b3f86de897d7d50621d1..244c0afe5f7a5c6f5d49dd6d4e51dbe56eb21707 100644 |
--- a/chrome/browser/bookmarks/bookmark_model.h |
+++ b/chrome/browser/bookmarks/bookmark_model.h |
@@ -11,6 +11,8 @@ |
#include "base/basictypes.h" |
#include "base/compiler_specific.h" |
+#include "base/memory/ref_counted.h" |
+#include "base/memory/scoped_ptr.h" |
#include "base/observer_list.h" |
#include "base/string16.h" |
#include "base/synchronization/lock.h" |
@@ -18,6 +20,7 @@ |
#include "chrome/browser/bookmarks/bookmark_service.h" |
#include "chrome/browser/favicon/favicon_service.h" |
#include "chrome/browser/history/history.h" |
+#include "chrome/browser/prefs/pref_change_registrar.h" |
#include "content/browser/cancelable_request.h" |
#include "content/common/notification_registrar.h" |
#include "googleurl/src/gurl.h" |
@@ -417,6 +420,9 @@ class BookmarkModel : public NotificationObserver, public BookmarkService { |
NotificationRegistrar registrar_; |
+ // Listens for changes to the kShowBookmarkBar preference. |
+ PrefChangeRegistrar pref_change_registrar_; |
+ |
Profile* profile_; |
// Whether the initial set of data has been loaded. |