Index: components/cronet/android/java/src/org/chromium/net/UrlRequest.java |
diff --git a/components/cronet/android/java/src/org/chromium/net/UrlRequest.java b/components/cronet/android/java/src/org/chromium/net/UrlRequest.java |
index b78dd6313f41db201860790ca8a0e44833cef430..f198b7f1f38995811b79df485b9b7c11e1511e6c 100644 |
--- a/components/cronet/android/java/src/org/chromium/net/UrlRequest.java |
+++ b/components/cronet/android/java/src/org/chromium/net/UrlRequest.java |
@@ -91,6 +91,12 @@ public interface UrlRequest { |
public void resume(); |
/** |
+ * Bypasses cache for the request. If context is not set up to use cache, |
+ * this call has no effect. |
+ */ |
+ public void bypassCache(); |
+ |
+ /** |
* Note: There are deliberately no accessors for the results of the request |
* here. Having none removes any ambiguity over when they are populated, |
* particularly in the redirect case. |