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

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: Remove partner bookmark from result 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.
newt (away) 2014/08/28 18:51:38 Don't comment this method, since it's already comm
Ian Wen 2014/08/28 21:18:05 Done.
43 // Partner bookmarks are also not included.
44 void GetEditablePermanentIDs(JNIEnv* env,
45 jobject obj,
46 jobject j_result_obj);
47
42 void GetChildIDs(JNIEnv* env, 48 void GetChildIDs(JNIEnv* env,
43 jobject obj, 49 jobject obj,
44 jlong id, 50 jlong id,
45 jint type, 51 jint type,
46 jboolean get_folders, 52 jboolean get_folders,
47 jboolean get_bookmarks, 53 jboolean get_bookmarks,
48 jobject j_result_obj); 54 jobject j_result_obj);
49 55
50 void GetAllBookmarkIDsOrderedByCreationDate(JNIEnv* env, 56 void GetAllBookmarkIDsOrderedByCreationDate(JNIEnv* env,
51 jobject obj, 57 jobject obj,
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 ChromeBookmarkClient* client_; // weak 154 ChromeBookmarkClient* client_; // weak
149 155
150 // Information about the Partner bookmarks (must check for IsLoaded()). 156 // Information about the Partner bookmarks (must check for IsLoaded()).
151 // This is owned by profile. 157 // This is owned by profile.
152 PartnerBookmarksShim* partner_bookmarks_shim_; 158 PartnerBookmarksShim* partner_bookmarks_shim_;
153 159
154 DISALLOW_COPY_AND_ASSIGN(BookmarksBridge); 160 DISALLOW_COPY_AND_ASSIGN(BookmarksBridge);
155 }; 161 };
156 162
157 #endif // CHROME_BROWSER_ANDROID_BOOKMARKS_BOOKMARKS_BRIDGE_H_ 163 #endif // CHROME_BROWSER_ANDROID_BOOKMARKS_BOOKMARKS_BRIDGE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698