Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / components / signin / core / browser / android / component_jni_registrar.cc
blob2600b92dc61276cb302d53d5ff01d015f29e4e40
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "components/signin/core/browser/android/component_jni_registrar.h"
7 #include "base/android/jni_android.h"
8 #include "base/android/jni_registrar.h"
9 #include "base/basictypes.h"
10 #include "components/signin/core/browser/child_account_info_fetcher_android.h"
12 namespace signin {
13 namespace android {
15 static base::android::RegistrationMethod kSigninRegisteredMethods[] = {
16 {"ChildAccountInfoFetcher", ChildAccountInfoFetcherAndroid::Register},
19 bool RegisterSigninJni(JNIEnv* env) {
20 return base::android::RegisterNativeMethods(
21 env, kSigninRegisteredMethods, arraysize(kSigninRegisteredMethods));
24 } // namespace android
25 } // namespace signin