| Index: chrome/browser/bookmarks/bookmark_model.h
|
| ===================================================================
|
| --- chrome/browser/bookmarks/bookmark_model.h (revision 137731)
|
| +++ chrome/browser/bookmarks/bookmark_model.h (working copy)
|
| @@ -21,6 +21,7 @@
|
| #include "chrome/browser/cancelable_request.h"
|
| #include "chrome/browser/favicon/favicon_service.h"
|
| #include "chrome/browser/history/history.h"
|
| +#include "chrome/browser/profiles/profile_keyed_service.h"
|
| #include "content/public/browser/notification_registrar.h"
|
| #include "googleurl/src/gurl.h"
|
| #include "third_party/skia/include/core/SkBitmap.h"
|
| @@ -192,19 +193,18 @@
|
| // An observer may be attached to observe relevant events.
|
| //
|
| // You should NOT directly create a BookmarkModel, instead go through the
|
| -// Profile.
|
| +// BookmarkModelFactory.
|
| class BookmarkModel : public content::NotificationObserver,
|
| - public BookmarkService {
|
| + public BookmarkService,
|
| + public ProfileKeyedService {
|
| public:
|
| explicit BookmarkModel(Profile* profile);
|
| virtual ~BookmarkModel();
|
|
|
| - static void RegisterUserPrefs(PrefService* prefs);
|
| -
|
| // Invoked prior to destruction to release any necessary resources.
|
| - void Cleanup();
|
| + void Shutdown() OVERRIDE;
|
|
|
| - // Loads the bookmarks. This is called by Profile upon creation of the
|
| + // Loads the bookmarks. This is called upon creation of the
|
| // BookmarkModel. You need not invoke this directly.
|
| void Load();
|
|
|
|
|