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 <set> | 8 #include <set> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/deferred_sequenced_task_runner.h" | 11 #include "base/deferred_sequenced_task_runner.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "build/build_config.h" | 13 #include "build/build_config.h" |
14 #include "build/buildflag.h" | 14 #include "build/buildflag.h" |
15 #include "chrome/common/features.h" | 15 #include "chrome/common/features.h" |
16 #include "components/bookmarks/browser/bookmark_client.h" | 16 #include "components/bookmarks/browser/bookmark_client.h" |
17 | 17 |
18 class GURL; | 18 class GURL; |
19 class Profile; | 19 class Profile; |
20 | 20 |
21 namespace base { | |
22 class ListValue; | |
23 } | |
24 | |
25 namespace bookmarks { | 21 namespace bookmarks { |
26 class BookmarkModel; | 22 class BookmarkModel; |
27 class BookmarkNode; | 23 class BookmarkNode; |
28 class BookmarkPermanentNode; | 24 class BookmarkPermanentNode; |
29 class ManagedBookmarkService; | 25 class ManagedBookmarkService; |
30 } | 26 } |
31 | 27 |
32 #if BUILDFLAG(ANDROID_JAVA_UI) | 28 #if BUILDFLAG(ANDROID_JAVA_UI) |
33 namespace offline_pages { | 29 namespace offline_pages { |
34 class OfflinePageBookmarkObserver; | 30 class OfflinePageBookmarkObserver; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 #if BUILDFLAG(ANDROID_JAVA_UI) | 70 #if BUILDFLAG(ANDROID_JAVA_UI) |
75 // Owns the observer used by Offline Page listening to Bookmark Model events. | 71 // Owns the observer used by Offline Page listening to Bookmark Model events. |
76 std::unique_ptr<offline_pages::OfflinePageBookmarkObserver> | 72 std::unique_ptr<offline_pages::OfflinePageBookmarkObserver> |
77 offline_page_observer_; | 73 offline_page_observer_; |
78 #endif | 74 #endif |
79 | 75 |
80 DISALLOW_COPY_AND_ASSIGN(ChromeBookmarkClient); | 76 DISALLOW_COPY_AND_ASSIGN(ChromeBookmarkClient); |
81 }; | 77 }; |
82 | 78 |
83 #endif // CHROME_BROWSER_BOOKMARKS_CHROME_BOOKMARK_CLIENT_H_ | 79 #endif // CHROME_BROWSER_BOOKMARKS_CHROME_BOOKMARK_CLIENT_H_ |
OLD | NEW |