This source file includes following definitions.
- OpenAccountManagementScreen
- Register
#include "chrome/browser/android/signin/account_management_screen_helper.h"
#include "base/android/jni_android.h"
#include "base/android/jni_string.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/profiles/profile_android.h"
#include "jni/AccountManagementScreenHelper_jni.h"
void AccountManagementScreenHelper::OpenAccountManagementScreen(
Profile* profile) {
DCHECK(profile);
DCHECK(ProfileAndroid::FromProfile(profile));
Java_AccountManagementScreenHelper_openAccountManagementScreen(
base::android::AttachCurrentThread(),
base::android::GetApplicationContext(),
ProfileAndroid::FromProfile(profile)->GetJavaObject().obj());
}
bool AccountManagementScreenHelper::Register(JNIEnv* env) {
return RegisterNativesImpl(env);
}