[android] Include "must-revalidate" in putResourceWithURL

This commit is contained in:
Chris Loer
2018-10-17 11:06:40 -07:00
committed by Chris Loer
parent aab55cfbcd
commit 44f79031b7
3 changed files with 8 additions and 3 deletions

View File

@@ -480,7 +480,9 @@ public class OfflineManager {
* @param modified Optional "modified" response header, in seconds since 1970, or 0 if not set
* @param expires Optional "expires" response header, in seconds since 1970, or 0 if not set
* @param etag Optional "entity tag" response header
* @param mustRevalidate Indicates whether response can be used after it's stale
*/
@Keep
public native void putResourceWithUrl(String url, byte[] data, long modified, long expires, String etag);
public native void putResourceWithUrl(String url, byte[] data, long modified, long expires,
String etag, boolean mustRevalidate);
}