| 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..7bb1a66a0db5a3bc8eef63e4c378699059a50c1e
|
| --- /dev/null
|
| +++ b/components/autofill/browser/android/component_jni_registrar.cc
|
| @@ -0,0 +1,23 @@
|
| +// 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.
|
| +
|
| +#include "components/autofill/browser/android/component_jni_registrar.h"
|
| +
|
| +#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
|
|
|