This source file includes following definitions.
- openAccountManagementScreen
- setManager
- openAccountManagementScreen
package org.chromium.chrome.browser.signin;
import android.content.Context;
import org.chromium.base.CalledByNative;
import org.chromium.base.ThreadUtils;
import org.chromium.chrome.browser.profiles.Profile;
public class AccountManagementScreenHelper {
private static AccountManagementScreenManager sManager;
public interface AccountManagementScreenManager {
void openAccountManagementScreen(Context applicationContext, Profile profile);
}
public static void setManager(AccountManagementScreenManager manager) {
ThreadUtils.assertOnUiThread();
sManager = manager;
}
@CalledByNative
private static void openAccountManagementScreen(Context applicationContext, Profile profile) {
ThreadUtils.assertOnUiThread();
if (sManager == null) return;
sManager.openAccountManagementScreen(applicationContext, profile);
}
}