summaryrefslogtreecommitdiff
path: root/chromium/java/com/android/webview
diff options
context:
space:
mode:
authorIgnacio Solla <igsolla@google.com>2014-11-06 17:16:05 +0000
committerIgnacio Solla Paula <igsolla@google.com>2014-11-12 23:49:01 +0000
commit93aa4460a530e619bd586213e0bf4a740f54a141 (patch)
treec2681104833493d72a94898f23321f2974b12f15 /chromium/java/com/android/webview
parent53cb980b31715024c38abc06a5147918ca937e39 (diff)
downloadwebview-93aa4460a530e619bd586213e0bf4a740f54a141.tar.gz
[WebView] Remove unused method in CookieManager
Change-Id: I3d9d761d6d32eff392bfb568cef10657464ba117 (cherry picked from commit edcfb0f0e74b0cbbd025397ecec6a80cb866854d)
Diffstat (limited to 'chromium/java/com/android/webview')
-rw-r--r--chromium/java/com/android/webview/chromium/CookieManagerAdapter.java10
1 files changed, 6 insertions, 4 deletions
diff --git a/chromium/java/com/android/webview/chromium/CookieManagerAdapter.java b/chromium/java/com/android/webview/chromium/CookieManagerAdapter.java
index 44c2258..2dd34a3 100644
--- a/chromium/java/com/android/webview/chromium/CookieManagerAdapter.java
+++ b/chromium/java/com/android/webview/chromium/CookieManagerAdapter.java
@@ -88,6 +88,12 @@ public class CookieManagerAdapter extends CookieManager {
return getCookie(url);
}
+ // TODO(igsolla): remove this override once the WebView apk does not longer need
+ // to be binary compatibility with the API 21 version of the framework
+ /**
+ * IMPORTANT: This override is required for compatibility with the API 21 version of
+ * {@link CookieManager}.
+ */
@Override
public synchronized String getCookie(WebAddress uri) {
return mChromeCookieManager.getCookie(uri.toString());
@@ -133,10 +139,6 @@ public class CookieManagerAdapter extends CookieManager {
mChromeCookieManager.flushCookieStore();
}
- protected void flushCookieStore() {
- flush();
- }
-
@Override
protected boolean allowFileSchemeCookiesImpl() {
return mChromeCookieManager.allowFileSchemeCookies();