OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_BOOKMARKS_CHROME_BOOKMARK_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_BOOKMARKS_CHROME_BOOKMARK_CLIENT_H_ |
6 #define CHROME_BROWSER_BOOKMARKS_CHROME_BOOKMARK_CLIENT_H_ | 6 #define CHROME_BROWSER_BOOKMARKS_CHROME_BOOKMARK_CLIENT_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "components/bookmarks/core/browser/base_bookmark_model_observer.h" | 9 #include "components/bookmarks/browser/base_bookmark_model_observer.h" |
10 #include "components/bookmarks/core/browser/bookmark_client.h" | 10 #include "components/bookmarks/browser/bookmark_client.h" |
11 #include "components/keyed_service/core/keyed_service.h" | 11 #include "components/keyed_service/core/keyed_service.h" |
12 #include "content/public/browser/notification_observer.h" | 12 #include "content/public/browser/notification_observer.h" |
13 #include "content/public/browser/notification_registrar.h" | 13 #include "content/public/browser/notification_registrar.h" |
14 | 14 |
15 class BookmarkModel; | 15 class BookmarkModel; |
16 class Profile; | 16 class Profile; |
17 | 17 |
18 class ChromeBookmarkClient : public BookmarkClient, | 18 class ChromeBookmarkClient : public BookmarkClient, |
19 public content::NotificationObserver, | 19 public content::NotificationObserver, |
20 public KeyedService, | 20 public KeyedService, |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 Profile* profile_; | 66 Profile* profile_; |
67 | 67 |
68 content::NotificationRegistrar registrar_; | 68 content::NotificationRegistrar registrar_; |
69 | 69 |
70 scoped_ptr<BookmarkModel> model_; | 70 scoped_ptr<BookmarkModel> model_; |
71 | 71 |
72 DISALLOW_COPY_AND_ASSIGN(ChromeBookmarkClient); | 72 DISALLOW_COPY_AND_ASSIGN(ChromeBookmarkClient); |
73 }; | 73 }; |
74 | 74 |
75 #endif // CHROME_BROWSER_BOOKMARKS_CHROME_BOOKMARK_CLIENT_H_ | 75 #endif // CHROME_BROWSER_BOOKMARKS_CHROME_BOOKMARK_CLIENT_H_ |
OLD | NEW |