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

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

Issue 516323003: [Android] JNI bridges for querying top level bookmark folders. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: factory to a function 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 21 matching lines...) Expand all
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698