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_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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
55 jlong id, | 55 jlong id, |
56 jint type, | 56 jint type, |
57 jstring title); | 57 jstring title); |
58 | 58 |
59 void SetBookmarkUrl(JNIEnv* env, | 59 void SetBookmarkUrl(JNIEnv* env, |
60 jobject obj, | 60 jobject obj, |
61 jlong id, | 61 jlong id, |
62 jint type, | 62 jint type, |
63 jstring url); | 63 jstring url); |
64 | 64 |
65 base::android::ScopedJavaLocalRef<jstring> GetBookmarkDescription(JNIEnv* env, | |
66 jobject obj, | |
67 jlong id, | |
68 jint type); | |
Kibeom Kim (inactive)
2014/07/31 02:03:40
nit : function parameters line wrapping http://goo
| |
69 | |
70 void SetBookmarkDescription(JNIEnv* env, | |
71 jobject obj, | |
72 jlong id, | |
73 jint type, | |
74 jstring description); | |
75 | |
65 void GetBookmarksForFolder(JNIEnv* env, | 76 void GetBookmarksForFolder(JNIEnv* env, |
66 jobject obj, | 77 jobject obj, |
67 jobject j_folder_id_obj, | 78 jobject j_folder_id_obj, |
68 jobject j_callback_obj, | 79 jobject j_callback_obj, |
69 jobject j_result_obj); | 80 jobject j_result_obj); |
70 | 81 |
71 void GetCurrentFolderHierarchy(JNIEnv* env, | 82 void GetCurrentFolderHierarchy(JNIEnv* env, |
72 jobject obj, | 83 jobject obj, |
73 jobject j_folder_id_obj, | 84 jobject j_folder_id_obj, |
74 jobject j_callback_obj, | 85 jobject j_callback_obj, |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
145 ChromeBookmarkClient* client_; // weak | 156 ChromeBookmarkClient* client_; // weak |
146 | 157 |
147 // Information about the Partner bookmarks (must check for IsLoaded()). | 158 // Information about the Partner bookmarks (must check for IsLoaded()). |
148 // This is owned by profile. | 159 // This is owned by profile. |
149 PartnerBookmarksShim* partner_bookmarks_shim_; | 160 PartnerBookmarksShim* partner_bookmarks_shim_; |
150 | 161 |
151 DISALLOW_COPY_AND_ASSIGN(BookmarksBridge); | 162 DISALLOW_COPY_AND_ASSIGN(BookmarksBridge); |
152 }; | 163 }; |
153 | 164 |
154 #endif // CHROME_BROWSER_ANDROID_BOOKMARKS_BOOKMARKS_BRIDGE_H_ | 165 #endif // CHROME_BROWSER_ANDROID_BOOKMARKS_BOOKMARKS_BRIDGE_H_ |
OLD | NEW |