Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / components / bookmarks / common / android / bookmark_id.cc
blobb3c5a9b4261b2dee38a1eb6696c0dda93f45d43e
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.
5 #include "components/bookmarks/common/android/bookmark_id.h"
7 #include "jni/BookmarkId_jni.h"
9 namespace bookmarks {
10 namespace android {
12 long JavaBookmarkIdGetId(JNIEnv* env, jobject obj) {
13 return Java_BookmarkId_getId(env, obj);
16 int JavaBookmarkIdGetType(JNIEnv* env, jobject obj) {
17 return Java_BookmarkId_getType(env, obj);
20 bool RegisterBookmarkId(JNIEnv* env) {
21 return RegisterNativesImpl(env);
24 } // namespace android
25 } // namespace bookmarks