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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
42 void GetTopLevelFolderParentIDs(JNIEnv* env, | 42 void GetTopLevelFolderParentIDs(JNIEnv* env, |
43 jobject obj, | 43 jobject obj, |
44 jobject j_result_obj); | 44 jobject j_result_obj); |
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 GetAllFoldersWithDepths(JNIEnv* env, | |
53 jobject obj, | |
54 jobject j_folder_obj, | |
newt (away)
2014/09/05 02:10:21
I'd also change the parameter names: s/j_folder_ob
Ian Wen
2014/09/05 21:17:32
Done.
| |
55 jobject j_depth_obj); | |
56 | |
57 base::android::ScopedJavaLocalRef<jobject> GetMobileFolderId(JNIEnv* env, | |
58 jobject obj); | |
59 | |
52 void GetChildIDs(JNIEnv* env, | 60 void GetChildIDs(JNIEnv* env, |
53 jobject obj, | 61 jobject obj, |
54 jlong id, | 62 jlong id, |
55 jint type, | 63 jint type, |
56 jboolean get_folders, | 64 jboolean get_folders, |
57 jboolean get_bookmarks, | 65 jboolean get_bookmarks, |
58 jobject j_result_obj); | 66 jobject j_result_obj); |
59 | 67 |
60 void GetAllBookmarkIDsOrderedByCreationDate(JNIEnv* env, | 68 void GetAllBookmarkIDsOrderedByCreationDate(JNIEnv* env, |
61 jobject obj, | 69 jobject obj, |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
158 ChromeBookmarkClient* client_; // weak | 166 ChromeBookmarkClient* client_; // weak |
159 | 167 |
160 // Information about the Partner bookmarks (must check for IsLoaded()). | 168 // Information about the Partner bookmarks (must check for IsLoaded()). |
161 // This is owned by profile. | 169 // This is owned by profile. |
162 PartnerBookmarksShim* partner_bookmarks_shim_; | 170 PartnerBookmarksShim* partner_bookmarks_shim_; |
163 | 171 |
164 DISALLOW_COPY_AND_ASSIGN(BookmarksBridge); | 172 DISALLOW_COPY_AND_ASSIGN(BookmarksBridge); |
165 }; | 173 }; |
166 | 174 |
167 #endif // CHROME_BROWSER_ANDROID_BOOKMARKS_BOOKMARKS_BRIDGE_H_ | 175 #endif // CHROME_BROWSER_ANDROID_BOOKMARKS_BOOKMARKS_BRIDGE_H_ |
OLD | NEW |