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..54b72a195286a99ee0c9776613e7b6acd2171654 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(); |
/** |
+ * Disables cache for the request. If context is not set up to use cache, |
+ * this call has no effect. |
+ */ |
+ public void disableCache(); |
+ |
+ /** |
* 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. |