Index: chrome/android/java/src/org/chromium/chrome/browser/sync/ProfileSyncService.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/sync/ProfileSyncService.java b/chrome/android/java/src/org/chromium/chrome/browser/sync/ProfileSyncService.java |
index 7874dff69f02e25f669be4151ab65869aa158510..20ba33b05df6af8143243e5b3132fb30647daa2f 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/sync/ProfileSyncService.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/sync/ProfileSyncService.java |
@@ -263,6 +263,11 @@ public class ProfileSyncService { |
return nativeGetSyncEnterCustomPassphraseBodyWithDateText(mNativeProfileSyncServiceAndroid); |
} |
+ public String getCurrentSignedInAccountText() { |
+ assert isSyncInitialized(); |
+ return nativeGetCurrentSignedInAccountText(mNativeProfileSyncServiceAndroid); |
+ } |
+ |
public String getSyncEnterCustomPassphraseBodyText() { |
return nativeGetSyncEnterCustomPassphraseBodyText(mNativeProfileSyncServiceAndroid); |
} |
@@ -517,6 +522,7 @@ public class ProfileSyncService { |
int nativeProfileSyncServiceAndroid); |
private native String nativeGetSyncEnterCustomPassphraseBodyWithDateText( |
int nativeProfileSyncServiceAndroid); |
+ private native String nativeGetCurrentSignedInAccountText(int nativeProfileSyncServiceAndroid); |
private native String nativeGetSyncEnterCustomPassphraseBodyText( |
int nativeProfileSyncServiceAndroid); |
private native boolean nativeIsSyncKeystoreMigrationDone(int nativeProfileSyncServiceAndroid); |