OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_ENHANCED_BOOKMARKS_ENHANCED_BOOKMARKS_BRIDGE_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_ENHANCED_BOOKMARKS_ENHANCED_BOOKMARKS_BRIDGE_H_ |
6 #define CHROME_BROWSER_ANDROID_ENHANCED_BOOKMARKS_ENHANCED_BOOKMARKS_BRIDGE_H_ | 6 #define CHROME_BROWSER_ANDROID_ENHANCED_BOOKMARKS_ENHANCED_BOOKMARKS_BRIDGE_H_ |
7 | 7 |
8 #include "base/android/jni_android.h" | 8 #include "base/android/jni_android.h" |
9 #include "base/android/jni_weak_ref.h" | 9 #include "base/android/jni_weak_ref.h" |
10 #include "chrome/browser/profiles/profile.h" | 10 #include "chrome/browser/profiles/profile.h" |
(...skipping 17 matching lines...) Expand all Loading... |
28 JNIEnv* env, | 28 JNIEnv* env, |
29 jobject obj, | 29 jobject obj, |
30 jlong id, | 30 jlong id, |
31 jint type); | 31 jint type); |
32 void SetBookmarkDescription(JNIEnv* env, | 32 void SetBookmarkDescription(JNIEnv* env, |
33 jobject obj, | 33 jobject obj, |
34 jlong id, | 34 jlong id, |
35 jint type, | 35 jint type, |
36 jstring description); | 36 jstring description); |
37 | 37 |
| 38 base::android::ScopedJavaLocalRef<jobjectArray> GetFiltersForBookmark( |
| 39 JNIEnv* env, |
| 40 jobject obj, |
| 41 jlong id, |
| 42 jint type); |
38 void GetBookmarksForFilter(JNIEnv* env, | 43 void GetBookmarksForFilter(JNIEnv* env, |
39 jobject obj, | 44 jobject obj, |
40 jstring filter, | 45 jstring filter, |
41 jobject j_result_obj); | 46 jobject j_result_obj); |
42 base::android::ScopedJavaLocalRef<jobjectArray> GetFilters(JNIEnv* env, | 47 base::android::ScopedJavaLocalRef<jobjectArray> GetFilters(JNIEnv* env, |
43 jobject obj); | 48 jobject obj); |
44 | 49 |
45 base::android::ScopedJavaLocalRef<jobject> AddFolder(JNIEnv* env, | 50 base::android::ScopedJavaLocalRef<jobject> AddFolder(JNIEnv* env, |
46 jobject obj, | 51 jobject obj, |
47 jobject j_parent_id_obj, | 52 jobject j_parent_id_obj, |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 Profile* profile_; // weak | 86 Profile* profile_; // weak |
82 DISALLOW_COPY_AND_ASSIGN(EnhancedBookmarksBridge); | 87 DISALLOW_COPY_AND_ASSIGN(EnhancedBookmarksBridge); |
83 }; | 88 }; |
84 | 89 |
85 bool RegisterEnhancedBookmarksBridge(JNIEnv* env); | 90 bool RegisterEnhancedBookmarksBridge(JNIEnv* env); |
86 | 91 |
87 } // namespace android | 92 } // namespace android |
88 } // namespace enhanced_bookmarks | 93 } // namespace enhanced_bookmarks |
89 | 94 |
90 #endif // CHROME_BROWSER_ANDROID_ENHANCED_BOOKMARKS_ENHANCED_BOOKMARKS_BRIDGE_H
_ | 95 #endif // CHROME_BROWSER_ANDROID_ENHANCED_BOOKMARKS_ENHANCED_BOOKMARKS_BRIDGE_H
_ |
OLD | NEW |