Index: chrome/browser/enhanced_bookmarks/android/enhanced_bookmarks_bridge.cc |
diff --git a/chrome/browser/enhanced_bookmarks/android/enhanced_bookmarks_bridge.cc b/chrome/browser/enhanced_bookmarks/android/enhanced_bookmarks_bridge.cc |
index 96c2f5be0a3aab92cb4ec2108c68461af45d2dc8..401e0fb59a64197b8c483c9cab0a493411a7063b 100644 |
--- a/chrome/browser/enhanced_bookmarks/android/enhanced_bookmarks_bridge.cc |
+++ b/chrome/browser/enhanced_bookmarks/android/enhanced_bookmarks_bridge.cc |
@@ -23,6 +23,7 @@ |
#include "components/bookmarks/common/android/bookmark_id.h" |
#include "components/bookmarks/common/android/bookmark_type.h" |
#include "components/enhanced_bookmarks/enhanced_bookmark_model.h" |
+#include "components/enhanced_bookmarks/enhanced_bookmark_utils.h" |
#include "components/enhanced_bookmarks/image_record.h" |
#include "components/signin/core/browser/signin_manager.h" |
#include "content/public/browser/browser_thread.h" |
@@ -313,6 +314,10 @@ bool EnhancedBookmarksBridge::IsEditable(const BookmarkNode* node) const { |
bookmarks::prefs::kEditBookmarksEnabled); |
} |
+static jint GetDefaultViewMode(JNIEnv* env, jclass jcaller) { |
+ return enhanced_bookmarks::GetDefaultViewMode(); |
+} |
+ |
static jlong Init(JNIEnv* env, jobject obj, jobject j_profile) { |
return reinterpret_cast<jlong>(new EnhancedBookmarksBridge( |
env, obj, ProfileAndroid::FromProfileAndroid(j_profile))); |