blob: 0ede383d8f4588d36579bc192d0386f529a57aa5 [file] [log] [blame]
// 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.annotations.JNINamespace;
/**
* Exposes a subset of Chromium form database to Webview database for managing autocomplete
* functionality.
*/
@JNINamespace("android_webview")
public class AwFormDatabase {
public static boolean hasFormData() {
return nativeHasFormData();
}
public static void clearFormData() {
nativeClearFormData();
}
//--------------------------------------------------------------------------------------------
// Native methods
//--------------------------------------------------------------------------------------------
private static native boolean nativeHasFormData();
private static native void nativeClearFormData();
}