This source file includes following definitions.
- getLastUsedProfile
- create
- destroy
- getNativePointer
- nativeGetLastUsedProfile
package org.chromium.chrome.browser.profiles;
import org.chromium.base.CalledByNative;
public class Profile {
private long mNativeProfileAndroid;
private Profile(long nativeProfileAndroid) {
mNativeProfileAndroid = nativeProfileAndroid;
}
public static Profile getLastUsedProfile() {
return (Profile) nativeGetLastUsedProfile();
}
@CalledByNative
private static Profile create(long nativeProfileAndroid) {
return new Profile(nativeProfileAndroid);
}
@CalledByNative
private void destroy() {
mNativeProfileAndroid = 0;
}
@CalledByNative
private long getNativePointer() {
return mNativeProfileAndroid;
}
private static native Object nativeGetLastUsedProfile();
}