OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "components/enhanced_bookmarks/android/enhanced_bookmarks_bridge.h" | 5 #include "chrome/browser/android/enhanced_bookmarks/enhanced_bookmarks_bridge.h" |
6 | 6 |
7 #include "base/android/jni_string.h" | 7 #include "base/android/jni_string.h" |
8 #include "components/bookmarks/browser/bookmark_model.h" | 8 #include "components/bookmarks/browser/bookmark_model.h" |
9 #include "components/bookmarks/browser/bookmark_utils.h" | 9 #include "components/bookmarks/browser/bookmark_utils.h" |
10 #include "components/bookmarks/common/android/bookmark_type.h" | 10 #include "components/bookmarks/common/android/bookmark_type.h" |
11 #include "components/enhanced_bookmarks/metadata_accessor.h" | 11 #include "components/enhanced_bookmarks/metadata_accessor.h" |
12 #include "jni/EnhancedBookmarksBridge_jni.h" | 12 #include "jni/EnhancedBookmarksBridge_jni.h" |
13 | 13 |
14 using bookmarks::BookmarkType; | 14 using bookmarks::BookmarkType; |
15 | 15 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 return reinterpret_cast<jlong>( | 60 return reinterpret_cast<jlong>( |
61 new EnhancedBookmarksBridge(env, obj, bookmark_model_ptr)); | 61 new EnhancedBookmarksBridge(env, obj, bookmark_model_ptr)); |
62 } | 62 } |
63 | 63 |
64 bool RegisterEnhancedBookmarksBridge(JNIEnv* env) { | 64 bool RegisterEnhancedBookmarksBridge(JNIEnv* env) { |
65 return RegisterNativesImpl(env); | 65 return RegisterNativesImpl(env); |
66 } | 66 } |
67 | 67 |
68 } // namespace android | 68 } // namespace android |
69 } // namespace enhanced_bookmarks | 69 } // namespace enhanced_bookmarks |
OLD | NEW |