Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Side by Side Diff: chrome/browser/android/bookmarks/bookmarks_bridge.h

Issue 533363002: [Android] Add uncategorized bookmark querying JNI bridge function. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@stars-top-level-brdige
Patch Set: two nits Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 GetUncategorizedBookmarkIDs(JNIEnv* env,
53 jobject obj,
54 jobject j_result_obj);
55
52 void GetChildIDs(JNIEnv* env, 56 void GetChildIDs(JNIEnv* env,
53 jobject obj, 57 jobject obj,
54 jlong id, 58 jlong id,
55 jint type, 59 jint type,
56 jboolean get_folders, 60 jboolean get_folders,
57 jboolean get_bookmarks, 61 jboolean get_bookmarks,
58 jobject j_result_obj); 62 jobject j_result_obj);
59 63
60 void GetAllBookmarkIDsOrderedByCreationDate(JNIEnv* env, 64 void GetAllBookmarkIDsOrderedByCreationDate(JNIEnv* env,
61 jobject obj, 65 jobject obj,
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 ChromeBookmarkClient* client_; // weak 162 ChromeBookmarkClient* client_; // weak
159 163
160 // Information about the Partner bookmarks (must check for IsLoaded()). 164 // Information about the Partner bookmarks (must check for IsLoaded()).
161 // This is owned by profile. 165 // This is owned by profile.
162 PartnerBookmarksShim* partner_bookmarks_shim_; 166 PartnerBookmarksShim* partner_bookmarks_shim_;
163 167
164 DISALLOW_COPY_AND_ASSIGN(BookmarksBridge); 168 DISALLOW_COPY_AND_ASSIGN(BookmarksBridge);
165 }; 169 };
166 170
167 #endif // CHROME_BROWSER_ANDROID_BOOKMARKS_BOOKMARKS_BRIDGE_H_ 171 #endif // CHROME_BROWSER_ANDROID_BOOKMARKS_BOOKMARKS_BRIDGE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698