| Index: chrome/android/java/src/org/chromium/chrome/browser/TabBase.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/TabBase.java b/chrome/android/java/src/org/chromium/chrome/browser/TabBase.java
|
| index ea58f094cbbd653757d641b14ee0410aedb7d321..4cdcfd39f485c285c11b155a9f0c655ce73b0413 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/TabBase.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/TabBase.java
|
| @@ -5,14 +5,12 @@
|
| package org.chromium.chrome.browser;
|
|
|
| import android.app.Activity;
|
| -import android.app.Dialog;
|
| import android.content.Context;
|
| import android.graphics.Color;
|
| import android.view.View;
|
|
|
| import org.chromium.base.CalledByNative;
|
| import org.chromium.base.ObserverList;
|
| -import org.chromium.chrome.browser.RepostFormWarningDialog;
|
| import org.chromium.chrome.browser.infobar.AutoLoginProcessor;
|
| import org.chromium.chrome.browser.infobar.InfoBarContainer;
|
| import org.chromium.chrome.browser.profiles.Profile;
|
| @@ -327,10 +325,19 @@ public abstract class TabBase implements NavigationClient {
|
|
|
| /**
|
| * Reloads the current page content if it is a {@link ContentView}.
|
| + * TODO(dfalcantara): Get rid of this function.
|
| */
|
| public void reload() {
|
| + reload(false);
|
| + }
|
| +
|
| + /**
|
| + * Reloads the current page content if it is a {@link ContentView}.
|
| + * @param ignoreCache Ignore the contents of the cache and reload directly from the network.
|
| + */
|
| + public void reload(boolean ignoreCache) {
|
| // TODO(dtrainor): Should we try to rebuild the ContentView if it's frozen?
|
| - if (mContentViewCore != null) mContentViewCore.reload();
|
| + if (mContentViewCore != null) mContentViewCore.reload(ignoreCache);
|
| }
|
|
|
| /** Stop the current navigation. */
|
|
|