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" |
(...skipping 21 matching lines...) Expand all Loading... |
32 base::android::ScopedJavaLocalRef<jobject> GetBookmarkByID( | 32 base::android::ScopedJavaLocalRef<jobject> GetBookmarkByID( |
33 JNIEnv* env, | 33 JNIEnv* env, |
34 jobject obj, | 34 jobject obj, |
35 jlong id, | 35 jlong id, |
36 jint type); | 36 jint type); |
37 | 37 |
38 void GetPermanentNodeIDs(JNIEnv* env, | 38 void GetPermanentNodeIDs(JNIEnv* env, |
39 jobject obj, | 39 jobject obj, |
40 jobject j_result_obj); | 40 jobject j_result_obj); |
41 | 41 |
| 42 void GetTopLevelFolderParentIDs(JNIEnv* env, |
| 43 jobject obj, |
| 44 jobject j_result_obj); |
| 45 |
| 46 void GetTopLevelFolderIDs(JNIEnv* env, |
| 47 jobject obj, |
| 48 jboolean get_special, |
| 49 jboolean get_normal, |
| 50 jobject j_result_obj); |
| 51 |
42 void GetChildIDs(JNIEnv* env, | 52 void GetChildIDs(JNIEnv* env, |
43 jobject obj, | 53 jobject obj, |
44 jlong id, | 54 jlong id, |
45 jint type, | 55 jint type, |
46 jboolean get_folders, | 56 jboolean get_folders, |
47 jboolean get_bookmarks, | 57 jboolean get_bookmarks, |
48 jobject j_result_obj); | 58 jobject j_result_obj); |
49 | 59 |
50 void GetAllBookmarkIDsOrderedByCreationDate(JNIEnv* env, | 60 void GetAllBookmarkIDsOrderedByCreationDate(JNIEnv* env, |
51 jobject obj, | 61 jobject obj, |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 ChromeBookmarkClient* client_; // weak | 158 ChromeBookmarkClient* client_; // weak |
149 | 159 |
150 // Information about the Partner bookmarks (must check for IsLoaded()). | 160 // Information about the Partner bookmarks (must check for IsLoaded()). |
151 // This is owned by profile. | 161 // This is owned by profile. |
152 PartnerBookmarksShim* partner_bookmarks_shim_; | 162 PartnerBookmarksShim* partner_bookmarks_shim_; |
153 | 163 |
154 DISALLOW_COPY_AND_ASSIGN(BookmarksBridge); | 164 DISALLOW_COPY_AND_ASSIGN(BookmarksBridge); |
155 }; | 165 }; |
156 | 166 |
157 #endif // CHROME_BROWSER_ANDROID_BOOKMARKS_BOOKMARKS_BRIDGE_H_ | 167 #endif // CHROME_BROWSER_ANDROID_BOOKMARKS_BOOKMARKS_BRIDGE_H_ |
OLD | NEW |