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/enhanced_bookmarks/android/component_jni_registrar.h"
7 #include "base/android/jni_android.h"
8 #include "base/android/jni_registrar.h"
9 #include "base/basictypes.h"
10 #include "components/enhanced_bookmarks/android/enhanced_bookmarks_bridge.h"
12 using base::android::RegistrationMethod
;
14 namespace enhanced_bookmarks
{
17 static RegistrationMethod kEnhancedBookmarksRegisteredMethods
[] = {
18 {"EnhancedBookmarksBridge", RegisterEnhancedBookmarksBridge
},
21 bool RegisterEnhancedBookmarks(JNIEnv
* env
) {
22 return base::android::RegisterNativeMethods(
24 kEnhancedBookmarksRegisteredMethods
,
25 arraysize(kEnhancedBookmarksRegisteredMethods
));
28 } // namespace android
29 } // namespace enhanced_bookmarks