| Index: components/bookmarks/common/android/component_jni_registrar.cc
|
| diff --git a/components/bookmarks/common/android/component_jni_registrar.cc b/components/bookmarks/common/android/component_jni_registrar.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..56a924aa6ced36fc7a4cf0a7fd21d3fe33a62f53
|
| --- /dev/null
|
| +++ b/components/bookmarks/common/android/component_jni_registrar.cc
|
| @@ -0,0 +1,26 @@
|
| +// 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.
|
| +
|
| +#include "components/bookmarks/common/android/component_jni_registrar.h"
|
| +
|
| +#include "base/android/jni_android.h"
|
| +#include "base/android/jni_registrar.h"
|
| +#include "components/bookmarks/common/android/bookmark_id.h"
|
| +
|
| +namespace bookmarks {
|
| +namespace android {
|
| +
|
| +static base::android::RegistrationMethod kBookmarksRegisteredMethods[] = {
|
| + {"BookmarkId", RegisterBookmarkId},
|
| +};
|
| +
|
| +bool RegisterBookmarks(JNIEnv* env) {
|
| + return base::android::RegisterNativeMethods(
|
| + env,
|
| + kBookmarksRegisteredMethods,
|
| + arraysize(kBookmarksRegisteredMethods));
|
| +}
|
| +
|
| +} // namespace android
|
| +} // namespace bookmarks
|
|
|