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

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

Issue 506353003: [Enhanced Bookmark] Add GetAllFoldersWithDepth in bookmark bridge (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 // Returns permanent ids that are not root nor nodes under managed folder.
43 void GetEditablePermanentIDs(JNIEnv* env,
44 jobject obj,
45 jobject j_result_obj);
46
42 void GetChildIDs(JNIEnv* env, 47 void GetChildIDs(JNIEnv* env,
43 jobject obj, 48 jobject obj,
44 jlong id, 49 jlong id,
45 jint type, 50 jint type,
46 jboolean get_folders, 51 jboolean get_folders,
47 jboolean get_bookmarks, 52 jboolean get_bookmarks,
48 jobject j_result_obj); 53 jobject j_result_obj);
49 54
50 void GetAllBookmarkIDsOrderedByCreationDate(JNIEnv* env, 55 void GetAllBookmarkIDsOrderedByCreationDate(JNIEnv* env,
51 jobject obj, 56 jobject obj,
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 ChromeBookmarkClient* client_; // weak 153 ChromeBookmarkClient* client_; // weak
149 154
150 // Information about the Partner bookmarks (must check for IsLoaded()). 155 // Information about the Partner bookmarks (must check for IsLoaded()).
151 // This is owned by profile. 156 // This is owned by profile.
152 PartnerBookmarksShim* partner_bookmarks_shim_; 157 PartnerBookmarksShim* partner_bookmarks_shim_;
153 158
154 DISALLOW_COPY_AND_ASSIGN(BookmarksBridge); 159 DISALLOW_COPY_AND_ASSIGN(BookmarksBridge);
155 }; 160 };
156 161
157 #endif // CHROME_BROWSER_ANDROID_BOOKMARKS_BOOKMARKS_BRIDGE_H_ 162 #endif // CHROME_BROWSER_ANDROID_BOOKMARKS_BOOKMARKS_BRIDGE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698