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

Unified Diff: content/public/android/java/src/org/chromium/content_public/browser/NavigationHistory.java

Issue 406023002: Restructuring NavigationController functionalities from ContentViewCore to NavigationController (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased the patch with findbugs_known_bugs.txt changes. Created 6 years, 3 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/public/android/java/src/org/chromium/content_public/browser/NavigationHistory.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/NavigationHistory.java b/content/public/android/java/src/org/chromium/content_public/browser/NavigationHistory.java
similarity index 84%
rename from content/public/android/java/src/org/chromium/content/browser/NavigationHistory.java
rename to content/public/android/java/src/org/chromium/content_public/browser/NavigationHistory.java
index 6e4347bfc5f36d0f97d8e17da7a0dbdbebc05996..6338738acf5541e22132b270f22612d01e0b9d65 100644
--- a/content/public/android/java/src/org/chromium/content/browser/NavigationHistory.java
+++ b/content/public/android/java/src/org/chromium/content_public/browser/NavigationHistory.java
@@ -2,7 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-package org.chromium.content.browser;
+package org.chromium.content_public.browser;
+
+//import org.chromium.content_public.browser.NavigationEntry;
import java.util.ArrayList;
@@ -16,11 +18,11 @@ public class NavigationHistory {
private final ArrayList<NavigationEntry> mEntries = new ArrayList<NavigationEntry>();
private int mCurrentEntryIndex;
- protected void addEntry(NavigationEntry entry) {
+ public void addEntry(NavigationEntry entry) {
mEntries.add(entry);
}
- /* package */ void setCurrentEntryIndex(int currentEntryIndex) {
+ public void setCurrentEntryIndex(int currentEntryIndex) {
mCurrentEntryIndex = currentEntryIndex;
}

Powered by Google App Engine
This is Rietveld 408576698