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 package org.chromium.components.enhancedbookmarks; | 5 package org.chromium.chrome.browser; |
6 | 6 |
7 import org.chromium.base.JNINamespace; | 7 import org.chromium.base.JNINamespace; |
8 import org.chromium.components.bookmarks.BookmarkId; | 8 import org.chromium.components.bookmarks.BookmarkId; |
9 | 9 |
10 /** | 10 /** |
11 * Access gate to C++ side enhanced bookmarks functionalities. | 11 * Access gate to C++ side enhanced bookmarks functionalities. |
12 */ | 12 */ |
13 @JNINamespace("enhanced_bookmarks::android") | 13 @JNINamespace("enhanced_bookmarks::android") |
14 public final class EnhancedBookmarksBridge { | 14 public final class EnhancedBookmarksBridge { |
15 private long mNativeEnhancedBookmarksBridge; | 15 private long mNativeEnhancedBookmarksBridge; |
(...skipping 20 matching lines...) Expand all Loading... |
36 | 36 |
37 private native long nativeInit(long bookmarkModelPointer); | 37 private native long nativeInit(long bookmarkModelPointer); |
38 | 38 |
39 private native void nativeDestroy(long nativeEnhancedBookmarksBridge); | 39 private native void nativeDestroy(long nativeEnhancedBookmarksBridge); |
40 | 40 |
41 private native String nativeGetBookmarkDescription(long nativeEnhancedBookma
rksBridge, long id, | 41 private native String nativeGetBookmarkDescription(long nativeEnhancedBookma
rksBridge, long id, |
42 int type); | 42 int type); |
43 private native void nativeSetBookmarkDescription(long nativeEnhancedBookmark
sBridge, long id, | 43 private native void nativeSetBookmarkDescription(long nativeEnhancedBookmark
sBridge, long id, |
44 int type, String description); | 44 int type, String description); |
45 } | 45 } |
OLD | NEW |