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 |