Index: android_webview/java/src/org/chromium/android_webview/AwFormDatabase.java |
diff --git a/android_webview/java/src/org/chromium/android_webview/AwFormDatabase.java b/android_webview/java/src/org/chromium/android_webview/AwFormDatabase.java |
new file mode 100644 |
index 0000000000000000000000000000000000000000..368d6583dc843ffc59c64f451d8b12e9ce56b2eb |
--- /dev/null |
+++ b/android_webview/java/src/org/chromium/android_webview/AwFormDatabase.java |
@@ -0,0 +1,24 @@ |
+// Copyright 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+package org.chromium.android_webview; |
+ |
+import org.chromium.base.JNINamespace; |
+ |
+/** |
+ * Exposes a subset of Chromium form database to Webview database for managing autocomplete |
+ * functionality. |
+ */ |
+@JNINamespace("android_webview") |
+public class AwFormDatabase { |
+ |
+ public static void clearFormData() { |
+ nativeClearFormData(); |
+ } |
+ |
+ //-------------------------------------------------------------------------------------------- |
+ // Native methods |
+ //-------------------------------------------------------------------------------------------- |
+ private static native void nativeClearFormData(); |
+} |