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 3// found in the LICENSE file. 4 5#ifndef COMPONENTS_BOOKMARKS_COMMON_ANDROID_BOOKMARK_ID_H_ 6#define COMPONENTS_BOOKMARKS_COMMON_ANDROID_BOOKMARK_ID_H_ 7 8#include <jni.h> 9 10namespace bookmarks { 11namespace android { 12 13// See BookmarkId#getId 14long JavaBookmarkIdGetId(JNIEnv* env, jobject obj); 15 16// See BookmarkId#getType 17int JavaBookmarkIdGetType(JNIEnv* env, jobject obj); 18 19bool RegisterBookmarkId(JNIEnv* env); 20 21} // namespace android 22} // namespace bookmarks 23 24#endif // COMPONENTS_BOOKMARKS_COMMON_ANDROID_BOOKMARK_ID_H_ 25