Index: components/bookmarks/common/android/bookmark_id.h |
diff --git a/components/bookmarks/common/android/bookmark_id.h b/components/bookmarks/common/android/bookmark_id.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..61fd7a8c4242982594ef0d103e651bf531f3a0b9 |
--- /dev/null |
+++ b/components/bookmarks/common/android/bookmark_id.h |
@@ -0,0 +1,24 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef COMPONENTS_BOOKMARKS_COMMON_ANDROID_BOOKMARK_ID_H_ |
+#define COMPONENTS_BOOKMARKS_COMMON_ANDROID_BOOKMARK_ID_H_ |
+ |
+#include <jni.h> |
+ |
+namespace bookmarks { |
+namespace android { |
+ |
+// See BookmarkId#getId |
+long JavaBookmarkIdGetId(JNIEnv* env, jobject obj); |
+ |
+// See BookmarkId#getType |
+int JavaBookmarkIdGetType(JNIEnv* env, jobject obj); |
+ |
+bool RegisterBookmarkId(JNIEnv* env); |
+ |
+} // namespace android |
+} // namespace bookmarks |
+ |
+#endif // COMPONENTS_BOOKMARKS_COMMON_ANDROID_BOOKMARK_ID_H_ |