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

Unified Diff: components/autofill/browser/android/component_jni_registrar.cc

Issue 12282004: Added personal_data_manager android implementation for auto-populating auto-fill on android builds … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Autofill populator components refactor Created 7 years, 9 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: components/autofill/browser/android/component_jni_registrar.cc
diff --git a/components/autofill/browser/android/component_jni_registrar.cc b/components/autofill/browser/android/component_jni_registrar.cc
new file mode 100644
index 0000000000000000000000000000000000000000..59d2d91f5daa2dfaca25e6cb84f1d73a4ca52015
--- /dev/null
+++ b/components/autofill/browser/android/component_jni_registrar.cc
@@ -0,0 +1,23 @@
+// Copyright 2012 The Chromium Authors. All rights reserved.
Yaron 2013/03/16 00:15:30 2013 (throughout)
apiccion 2013/03/18 19:30:36 Done.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "components/autofill/browser/android//component_jni_registrar.h"
Yaron 2013/03/16 00:15:30 Nit: only one "/"
apiccion 2013/03/18 19:30:36 Done.
+
+#include "base/android/jni_android.h"
+#include "base/android/jni_registrar.h"
+#include "components/autofill/browser/android/auxiliary_profile_loader_android.h"
+
+namespace components {
+
+static base::android::RegistrationMethod kComponentRegisteredMethods[] = {
+ { "RegisterAuxiliaryProfileLoader",
+ autofill::RegisterAuxiliaryProfileLoader },
+};
+
+bool RegisterAutofillAndroidJni(JNIEnv* env) {
+ return RegisterNativeMethods(env,
+ kComponentRegisteredMethods, arraysize(kComponentRegisteredMethods));
+}
+
+} // namespace components

Powered by Google App Engine
This is Rietveld 408576698