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_BOOKMARK_BRIDGE_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_BOOKMARKS_BOOKMARK_BRIDGE_H_ |
6 #define CHROME_BROWSER_ANDROID_BOOKMARKS_BOOKMARK_BRIDGE_H_ | 6 #define CHROME_BROWSER_ANDROID_BOOKMARKS_BOOKMARK_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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 jlong id, | 104 jlong id, |
105 jint type); | 105 jint type); |
106 | 106 |
107 base::android::ScopedJavaLocalRef<jobject> GetChildAt( | 107 base::android::ScopedJavaLocalRef<jobject> GetChildAt( |
108 JNIEnv* env, | 108 JNIEnv* env, |
109 const base::android::JavaParamRef<jobject>& obj, | 109 const base::android::JavaParamRef<jobject>& obj, |
110 jlong id, | 110 jlong id, |
111 jint type, | 111 jint type, |
112 jint index); | 112 jint index); |
113 | 113 |
114 void GetAllBookmarkIDsOrderedByCreationDate( | |
115 JNIEnv* env, | |
116 const base::android::JavaParamRef<jobject>& obj, | |
117 const base::android::JavaParamRef<jobject>& j_result_obj); | |
118 | |
119 void SetBookmarkTitle(JNIEnv* env, | 114 void SetBookmarkTitle(JNIEnv* env, |
120 const base::android::JavaParamRef<jobject>& obj, | 115 const base::android::JavaParamRef<jobject>& obj, |
121 jlong id, | 116 jlong id, |
122 jint type, | 117 jint type, |
123 const base::android::JavaParamRef<jstring>& title); | 118 const base::android::JavaParamRef<jstring>& title); |
124 | 119 |
125 void SetBookmarkUrl(JNIEnv* env, | 120 void SetBookmarkUrl(JNIEnv* env, |
126 const base::android::JavaParamRef<jobject>& obj, | 121 const base::android::JavaParamRef<jobject>& obj, |
127 jlong id, | 122 jlong id, |
128 jint type, | 123 jint type, |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 PrefChangeRegistrar pref_change_registrar_; | 263 PrefChangeRegistrar pref_change_registrar_; |
269 | 264 |
270 // Information about the Partner bookmarks (must check for IsLoaded()). | 265 // Information about the Partner bookmarks (must check for IsLoaded()). |
271 // This is owned by profile. | 266 // This is owned by profile. |
272 PartnerBookmarksShim* partner_bookmarks_shim_; | 267 PartnerBookmarksShim* partner_bookmarks_shim_; |
273 | 268 |
274 DISALLOW_COPY_AND_ASSIGN(BookmarkBridge); | 269 DISALLOW_COPY_AND_ASSIGN(BookmarkBridge); |
275 }; | 270 }; |
276 | 271 |
277 #endif // CHROME_BROWSER_ANDROID_BOOKMARKS_BOOKMARK_BRIDGE_H_ | 272 #endif // CHROME_BROWSER_ANDROID_BOOKMARKS_BOOKMARK_BRIDGE_H_ |
OLD | NEW |