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

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

Issue 13902021: Implement clearFormData for WebViewDatabase (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: make FormDatabase (java side) non static. 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
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();
+}

Powered by Google App Engine
This is Rietveld 408576698