Adding instrumentation to locate the source of jankiness
[chromium-blink-merge.git] / chrome / browser / profiles / bookmark_model_loaded_observer.h
blob49b6722de3e2bec3b442a42affcb248ea2695ade
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 : public BaseBookmarkModelObserver {
15 public:
16 explicit BookmarkModelLoadedObserver(Profile* profile);
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;
24 Profile* profile_;
26 DISALLOW_COPY_AND_ASSIGN(BookmarkModelLoadedObserver);
29 #endif // CHROME_BROWSER_PROFILES_BOOKMARK_MODEL_LOADED_OBSERVER_H_