OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 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_ANDROID_BOOKMARKS_BOOKMARKS_BRIDGE_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_BOOKMARKS_BOOKMARKS_BRIDGE_H_ |
6 #define CHROME_BROWSER_ANDROID_BOOKMARKS_BOOKMARKS_BRIDGE_H_ | 6 #define CHROME_BROWSER_ANDROID_BOOKMARKS_BOOKMARKS_BRIDGE_H_ |
7 | 7 |
8 #include <jni.h> | 8 #include <jni.h> |
9 | 9 |
10 #include "base/android/jni_android.h" | 10 #include "base/android/jni_android.h" |
11 #include "base/android/jni_weak_ref.h" | 11 #include "base/android/jni_weak_ref.h" |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/prefs/pref_change_registrar.h" | |
15 #include "chrome/browser/android/bookmarks/partner_bookmarks_shim.h" | 14 #include "chrome/browser/android/bookmarks/partner_bookmarks_shim.h" |
16 #include "components/bookmarks/browser/base_bookmark_model_observer.h" | 15 #include "components/bookmarks/browser/base_bookmark_model_observer.h" |
17 #include "components/bookmarks/common/android/bookmark_id.h" | 16 #include "components/bookmarks/common/android/bookmark_id.h" |
| 17 #include "components/prefs/pref_change_registrar.h" |
18 | 18 |
19 namespace bookmarks { | 19 namespace bookmarks { |
20 class BookmarkModel; | 20 class BookmarkModel; |
21 class ManagedBookmarkService; | 21 class ManagedBookmarkService; |
22 class ScopedGroupBookmarkActions; | 22 class ScopedGroupBookmarkActions; |
23 } | 23 } |
24 | 24 |
25 class Profile; | 25 class Profile; |
26 | 26 |
27 // The delegate to fetch bookmarks information for the Android native | 27 // The delegate to fetch bookmarks information for the Android native |
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
263 PrefChangeRegistrar pref_change_registrar_; | 263 PrefChangeRegistrar pref_change_registrar_; |
264 | 264 |
265 // Information about the Partner bookmarks (must check for IsLoaded()). | 265 // Information about the Partner bookmarks (must check for IsLoaded()). |
266 // This is owned by profile. | 266 // This is owned by profile. |
267 PartnerBookmarksShim* partner_bookmarks_shim_; | 267 PartnerBookmarksShim* partner_bookmarks_shim_; |
268 | 268 |
269 DISALLOW_COPY_AND_ASSIGN(BookmarksBridge); | 269 DISALLOW_COPY_AND_ASSIGN(BookmarksBridge); |
270 }; | 270 }; |
271 | 271 |
272 #endif // CHROME_BROWSER_ANDROID_BOOKMARKS_BOOKMARKS_BRIDGE_H_ | 272 #endif // CHROME_BROWSER_ANDROID_BOOKMARKS_BOOKMARKS_BRIDGE_H_ |
OLD | NEW |