Popular sites on the NTP: check that experiment group StartsWith (rather than IS...
[chromium-blink-merge.git] / chrome / browser / profiles / bookmark_model_loaded_observer.h
blobf23e1a6751aee82a45610bd7cd9dce87f142a062
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.
5 #ifndef CHROME_BROWSER_PROFILES_BOOKMARK_MODEL_LOADED_OBSERVER_H_
6 #define CHROME_BROWSER_PROFILES_BOOKMARK_MODEL_LOADED_OBSERVER_H_
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "components/bookmarks/browser/base_bookmark_model_observer.h"
12 class Profile;
14 class BookmarkModelLoadedObserver
15 : public bookmarks::BaseBookmarkModelObserver {
16 public:
17 explicit BookmarkModelLoadedObserver(Profile* profile);
19 private:
20 void BookmarkModelChanged() override;
21 void BookmarkModelLoaded(bookmarks::BookmarkModel* model,
22 bool ids_reassigned) override;
23 void BookmarkModelBeingDeleted(bookmarks::BookmarkModel* model) override;
25 Profile* profile_;
27 DISALLOW_COPY_AND_ASSIGN(BookmarkModelLoadedObserver);
30 #endif // CHROME_BROWSER_PROFILES_BOOKMARK_MODEL_LOADED_OBSERVER_H_