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

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

Issue 13902021: Implement clearFormData for WebViewDatabase (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: modify DEPS Created 7 years, 8 months 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
« no previous file with comments | « no previous file | android_webview/java/src/org/chromium/android_webview/AwFormDatabase.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/java/src/org/chromium/android_webview/AwBrowserContext.java
diff --git a/android_webview/java/src/org/chromium/android_webview/AwBrowserContext.java b/android_webview/java/src/org/chromium/android_webview/AwBrowserContext.java
index 6cfea367ce8f16637e0d9b78d218dad6298ab649..2536d7b8b1834ecf17c7c9defce7f0bdd1cad7a6 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwBrowserContext.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwBrowserContext.java
@@ -23,6 +23,7 @@ public class AwBrowserContext {
private AwGeolocationPermissions mGeolocationPermissions;
private AwCookieManager mCookieManager;
+ private AwFormDatabase mFormDatabase;
public AwBrowserContext(SharedPreferences sharedPreferences) {
mSharedPreferences = sharedPreferences;
@@ -42,6 +43,13 @@ public class AwBrowserContext {
return mCookieManager;
}
+ public AwFormDatabase getFormDatabase() {
+ if (mFormDatabase == null) {
+ mFormDatabase = new AwFormDatabase();
+ }
+ return mFormDatabase;
+ }
+
/**
* @see android.webkit.WebView#pauseTimers()
*/
« no previous file with comments | « no previous file | android_webview/java/src/org/chromium/android_webview/AwFormDatabase.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698