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

Side by Side Diff: chrome/browser/android/enhanced_bookmarks/enhanced_bookmarks_bridge.h

Issue 694093002: Add method to get filters for a bookmark in Enhanced bookmark bridge (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: solve a partner bookmark case Created 6 years, 1 month 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 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
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
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 _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698