Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(551)

Unified Diff: content/browser/frame_host/navigation_controller_android.cc

Issue 675133002: Export GetLastCommittedEntryIndex and RemoveEntryAtIndex to Java layer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update comments Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/frame_host/navigation_controller_android.cc
diff --git a/content/browser/frame_host/navigation_controller_android.cc b/content/browser/frame_host/navigation_controller_android.cc
index d6ab29b84fa2ec38d1b03b3910606a9647ebdb99..52ef78ee5d151bd63e974933a74612918a96f1fb 100644
--- a/content/browser/frame_host/navigation_controller_android.cc
+++ b/content/browser/frame_host/navigation_controller_android.cc
@@ -311,4 +311,15 @@ NavigationControllerAndroid::GetPendingEntry(JNIEnv* env, jobject obj) {
env, entry, navigation_controller_->GetPendingEntryIndex());
}
+jint NavigationControllerAndroid::GetLastCommittedEntryIndex(JNIEnv* env,
+ jobject obj) {
+ return navigation_controller_->GetLastCommittedEntryIndex();
+}
+
+jboolean NavigationControllerAndroid::RemoveEntryAtIndex(JNIEnv* env,
+ jobject obj,
+ jint index) {
+ return navigation_controller_->RemoveEntryAtIndex(index);
+}
+
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698