OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "chrome/browser/android/bookmark/edit_bookmark_helper.h" | 5 #include "chrome/browser/android/bookmarks/edit_bookmark_helper.h" |
6 | 6 |
7 #include "base/android/jni_android.h" | 7 #include "base/android/jni_android.h" |
8 #include "base/android/jni_string.h" | 8 #include "base/android/jni_string.h" |
9 #include "chrome/browser/android/bookmarks/partner_bookmarks_shim.h" | 9 #include "chrome/browser/android/bookmarks/partner_bookmarks_shim.h" |
10 #include "chrome/browser/profiles/incognito_helpers.h" | 10 #include "chrome/browser/profiles/incognito_helpers.h" |
11 #include "chrome/browser/profiles/profile.h" | 11 #include "chrome/browser/profiles/profile.h" |
12 #include "chrome/browser/profiles/profile_android.h" | 12 #include "chrome/browser/profiles/profile_android.h" |
13 #include "jni/EditBookmarkHelper_jni.h" | 13 #include "jni/EditBookmarkHelper_jni.h" |
14 | 14 |
15 using bookmarks::BookmarkNode; | 15 using bookmarks::BookmarkNode; |
(...skipping 16 matching lines...) Expand all Loading... |
32 | 32 |
33 partner_bookmarks_shim->RenameBookmark( | 33 partner_bookmarks_shim->RenameBookmark( |
34 node, | 34 node, |
35 base::android::ConvertJavaStringToUTF16(env, new_title)); | 35 base::android::ConvertJavaStringToUTF16(env, new_title)); |
36 } | 36 } |
37 | 37 |
38 // static | 38 // static |
39 bool RegisterEditBookmarkHelper(JNIEnv* env) { | 39 bool RegisterEditBookmarkHelper(JNIEnv* env) { |
40 return RegisterNativesImpl(env); | 40 return RegisterNativesImpl(env); |
41 } | 41 } |
OLD | NEW |