Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1967)

Unified Diff: android_webview/java/src/org/chromium/android_webview/AwContents.java

Issue 11419093: [Android WebView] Implement WebSettings.{get|set}CacheMode (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: android_webview/java/src/org/chromium/android_webview/AwContents.java
diff --git a/android_webview/java/src/org/chromium/android_webview/AwContents.java b/android_webview/java/src/org/chromium/android_webview/AwContents.java
index d1060cf74f5dfdada4c8b92cc16b52459885648d..d40bca293b4293919b1b8b27e2769c0852b2a33a 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwContents.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwContents.java
@@ -130,6 +130,12 @@ public class AwContents {
private class IoThreadClientImpl implements AwContentsIoThreadClient {
// Called on the IO thread.
boliu 2012/11/20 20:00:09 nit: Just write this comment once above the class?
mnaganov (inactive) 2012/11/21 10:37:08 Done.
@Override
+ public int getCacheMode() {
+ return AwContents.this.mSettings.getCacheMode();
+ }
+
+ // Called on the IO thread.
+ @Override
public InterceptedRequestData shouldInterceptRequest(final String url) {
InterceptedRequestData interceptedRequestData =
AwContents.this.mContentsClient.shouldInterceptRequest(url);

Powered by Google App Engine
This is Rietveld 408576698