Home | History | Annotate | Download | only in profiles
      1 // Copyright 2013 The Chromium Authors. All rights reserved.
      2 // Use of this source code is governed by a BSD-style license that can be
      3 // found in the LICENSE file.
      4 
      5 #ifndef CHROME_BROWSER_PROFILES_BOOKMARK_MODEL_LOADED_OBSERVER_H_
      6 #define CHROME_BROWSER_PROFILES_BOOKMARK_MODEL_LOADED_OBSERVER_H_
      7 
      8 #include "base/basictypes.h"
      9 #include "base/compiler_specific.h"
     10 #include "components/bookmarks/browser/base_bookmark_model_observer.h"
     11 
     12 class Profile;
     13 
     14 class BookmarkModelLoadedObserver : public BaseBookmarkModelObserver {
     15  public:
     16   explicit BookmarkModelLoadedObserver(Profile* profile);
     17 
     18  private:
     19   virtual void BookmarkModelChanged() OVERRIDE;
     20   virtual void BookmarkModelLoaded(BookmarkModel* model,
     21                                    bool ids_reassigned) OVERRIDE;
     22   virtual void BookmarkModelBeingDeleted(BookmarkModel* model) OVERRIDE;
     23 
     24   Profile* profile_;
     25 
     26   DISALLOW_COPY_AND_ASSIGN(BookmarkModelLoadedObserver);
     27 };
     28 
     29 #endif  // CHROME_BROWSER_PROFILES_BOOKMARK_MODEL_LOADED_OBSERVER_H_
     30