blob: 90d2dd6d85ad592b26562eb525df0098f49a3532 [file] [log] [blame]
// Copyright 2015 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.
package org.chromium.chrome.browser.signin;
/**
* A bridge to call shared investigator logic.
*/
public final class SigninInvestigator {
private SigninInvestigator() {}
/**
* Calls into native code to investigate potential ramifications of a
* successful signin from the account corresponding to the given email.
*
* @return int value that corresponds to enum InvestigatedScenario.
*/
public static int investigate(String currentEmail) {
return nativeInvestigate(currentEmail);
}
// Native methods
private static native int nativeInvestigate(String currentEmail);
}