Chromium Code Reviews| Index: android_webview/java/src/org/chromium/android_webview/FormDatabase.java |
| diff --git a/android_webview/java/src/org/chromium/android_webview/FormDatabase.java b/android_webview/java/src/org/chromium/android_webview/FormDatabase.java |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..48514a313a5bfa37d40e25546e68cec530997e53 |
| --- /dev/null |
| +++ b/android_webview/java/src/org/chromium/android_webview/FormDatabase.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 FormDatabase { |
|
benm (inactive)
2013/04/23 18:07:47
Aw prefix on the name please.
sgurun-gerrit only
2013/04/23 20:49:45
himm there are some classes like cookie_manager, b
|
| + |
| + public static void clearFormData() { |
| + nativeClearFormData(); |
| + } |
| + |
| + //-------------------------------------------------------------------------------------------- |
| + // Native methods |
| + //-------------------------------------------------------------------------------------------- |
| + private static native void nativeClearFormData(); |
| +} |