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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 | 45 |
46 void GetTopLevelFolderIDs(JNIEnv* env, | 46 void GetTopLevelFolderIDs(JNIEnv* env, |
47 jobject obj, | 47 jobject obj, |
48 jboolean get_special, | 48 jboolean get_special, |
49 jboolean get_normal, | 49 jboolean get_normal, |
50 jobject j_result_obj); | 50 jobject j_result_obj); |
51 | 51 |
52 void GetUncategorizedBookmarkIDs(JNIEnv* env, | 52 void GetUncategorizedBookmarkIDs(JNIEnv* env, |
53 jobject obj, | 53 jobject obj, |
54 jobject j_result_obj); | 54 jobject j_result_obj); |
| 55 void GetAllFoldersWithDepths(JNIEnv* env, |
| 56 jobject obj, |
| 57 jobject j_folders_obj, |
| 58 jobject j_depths_obj); |
| 59 |
| 60 base::android::ScopedJavaLocalRef<jobject> GetMobileFolderId(JNIEnv* env, |
| 61 jobject obj); |
55 | 62 |
56 void GetChildIDs(JNIEnv* env, | 63 void GetChildIDs(JNIEnv* env, |
57 jobject obj, | 64 jobject obj, |
58 jlong id, | 65 jlong id, |
59 jint type, | 66 jint type, |
60 jboolean get_folders, | 67 jboolean get_folders, |
61 jboolean get_bookmarks, | 68 jboolean get_bookmarks, |
62 jobject j_result_obj); | 69 jobject j_result_obj); |
63 | 70 |
64 void GetAllBookmarkIDsOrderedByCreationDate(JNIEnv* env, | 71 void GetAllBookmarkIDsOrderedByCreationDate(JNIEnv* env, |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 ChromeBookmarkClient* client_; // weak | 169 ChromeBookmarkClient* client_; // weak |
163 | 170 |
164 // Information about the Partner bookmarks (must check for IsLoaded()). | 171 // Information about the Partner bookmarks (must check for IsLoaded()). |
165 // This is owned by profile. | 172 // This is owned by profile. |
166 PartnerBookmarksShim* partner_bookmarks_shim_; | 173 PartnerBookmarksShim* partner_bookmarks_shim_; |
167 | 174 |
168 DISALLOW_COPY_AND_ASSIGN(BookmarksBridge); | 175 DISALLOW_COPY_AND_ASSIGN(BookmarksBridge); |
169 }; | 176 }; |
170 | 177 |
171 #endif // CHROME_BROWSER_ANDROID_BOOKMARKS_BOOKMARKS_BRIDGE_H_ | 178 #endif // CHROME_BROWSER_ANDROID_BOOKMARKS_BOOKMARKS_BRIDGE_H_ |
OLD | NEW |