Chromium Code Reviews| Index: content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java |
| diff --git a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java |
| index 739a66ab7a2fb0074f31d921dd8aa60857e11c7b..36c20b20d90f2c0f29c98f561d039311c5c4c5d7 100644 |
| --- a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java |
| +++ b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java |
| @@ -1228,10 +1228,11 @@ public class ContentViewCore |
| /** |
| * Reload the current page. |
| + * @param ignoreCache Ignore the contents of the cache and reload everything from the network. |
| */ |
| - public void reload() { |
| + public void reload(boolean ignoreCache) { |
|
joth
2013/11/06 19:57:28
There were plans afoot to make ContentViewCore be
gone
2013/11/06 21:24:35
I think that's how an older patch set was? Ted as
Ted C
2013/11/06 21:38:14
WebContents doesn't actually export a reload funct
|
| mAccessibilityInjector.addOrRemoveAccessibilityApisIfNecessary(); |
| - if (mNativeContentViewCore != 0) nativeReload(mNativeContentViewCore); |
| + if (mNativeContentViewCore != 0) nativeReload(mNativeContentViewCore, ignoreCache); |
| } |
| /** |
| @@ -3305,7 +3306,7 @@ public class ContentViewCore |
| private native void nativeStopLoading(int nativeContentViewCoreImpl); |
| - private native void nativeReload(int nativeContentViewCoreImpl); |
| + private native void nativeReload(int nativeContentViewCoreImpl, boolean ignoreCache); |
| private native void nativeCancelPendingReload(int nativeContentViewCoreImpl); |