Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8228)

Unified Diff: chrome/browser/sync/profile_sync_service_android.cc

Issue 2393643004: [MD Settings][People] Updates positions of username and sync status message (Closed)
Patch Set: Addressed comments Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync/profile_sync_service_android.cc
diff --git a/chrome/browser/sync/profile_sync_service_android.cc b/chrome/browser/sync/profile_sync_service_android.cc
index 601eca2a18cfdd8114aa4c27b57e09189dfe767c..37b13ef0e7dc80db9b5128a70f8c1ca578bedfdc 100644
--- a/chrome/browser/sync/profile_sync_service_android.cc
+++ b/chrome/browser/sync/profile_sync_service_android.cc
@@ -441,14 +441,9 @@ ProfileSyncServiceAndroid::GetCurrentSignedInAccountText(
JNIEnv* env,
const JavaParamRef<jobject>&) {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
- const std::string& sync_username =
- SigninManagerFactory::GetForProfile(profile_)
- ->GetAuthenticatedAccountInfo()
- .email;
+ // TODO(maxbogue): Remove this function. This String can be used in Java.
return base::android::ConvertUTF16ToJavaString(env,
- l10n_util::GetStringFUTF16(
- IDS_SYNC_ACCOUNT_SYNCING_TO_USER,
- base::ASCIIToUTF16(sync_username)));
+ l10n_util::GetStringUTF16(IDS_SYNC_ACCOUNT_SYNCING));
}
ScopedJavaLocalRef<jstring>

Powered by Google App Engine
This is Rietveld 408576698